|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DialogMode>
com.day.cq.wcm.api.components.DialogMode
public enum DialogMode
Defines the mode of dialog where "floating" means that the dialog floats above the page and "inline" means that the dialog is inlined in the page. "auto" uses some UI metrics to define the mode of the dialog.
| Enum Constant Summary | |
|---|---|
AUTO
automatic mode detection |
|
FLOATING
floating dialog mode |
|
INLINE
inline dialog mode |
|
| Method Summary | |
|---|---|
String |
toJSONString()
The toJSONString method allows a class to produce its own JSON
serialization. |
static DialogMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DialogMode[] |
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 |
|---|
public static final DialogMode AUTO
public static final DialogMode FLOATING
public static final DialogMode INLINE
| Method Detail |
|---|
public static DialogMode[] values()
for (DialogMode c : DialogMode.values()) System.out.println(c);
public static DialogMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toJSONString()
toJSONString method allows a class to produce its own JSON
serialization.
toJSONString in interface JSONString
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||