Enum OpenAs

OpenAs

An enum that specifies how to open a URL.

The client can open a URL as either a full size window (if that is the frame used by theclient), or an overlay (such as a pop-up). The implementation depends on the client platformcapabilities, and the value selected may be ignored if the client does not support it.FULL_SIZE is supported by all clients.

UsingOnClose may causeOpenAs to be ignored; if the client platform cannotsupport both selected values together,OnClose takes precedence.

To call an enum, you call its parent class, name, and property. For example,CardService.OpenAs.FULL_SIZE.

Properties

PropertyTypeDescription
FULL_SIZEEnumOpen in a full window or tab. Default.
OVERLAYEnumOpen as an overlay such as a pop-up.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-03 UTC.