info.magnolia.ui.api.overlay
Enum OverlayLayer.ModalityDomain

java.lang.Object
  extended by java.lang.Enum<OverlayLayer.ModalityDomain>
      extended by 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.


Enum Constant Summary
APP
           
SHELL
           
SUB_APP
           
 
Method Summary
 String getCssClass()
           
static OverlayLayer.ModalityDomain valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OverlayLayer.ModalityDomain[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUB_APP

public static final OverlayLayer.ModalityDomain SUB_APP

APP

public static final OverlayLayer.ModalityDomain APP

SHELL

public static final OverlayLayer.ModalityDomain SHELL
Method Detail

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.