info.magnolia.ui.api.overlay
Enum OverlayLayer.ModalityDomain
java.lang.Object
java.lang.Enum<OverlayLayer.ModalityDomain>
info.magnolia.ui.api.overlay.OverlayLayer.ModalityDomain
- All Implemented Interfaces:
- Serializable, Comparable<OverlayLayer.ModalityDomain>
- Enclosing interface:
- OverlayLayer
public static enum OverlayLayer.ModalityDomain
- extends Enum<OverlayLayer.ModalityDomain>
The available locations of modality for opening a modal.
Represents what will be blocked by the opened modal.
SUB_APP
public static final OverlayLayer.ModalityDomain SUB_APP
APP
public static final OverlayLayer.ModalityDomain APP
SHELL
public static final OverlayLayer.ModalityDomain SHELL
values
public static OverlayLayer.ModalityDomain[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (OverlayLayer.ModalityDomain c : OverlayLayer.ModalityDomain.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OverlayLayer.ModalityDomain valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getCssClass
public String getCssClass()
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.