public static enum CmsLocationPickerWidgetValue.MapMode extends java.lang.Enum<CmsLocationPickerWidgetValue.MapMode>
Enum Constant and Description |
---|
dynamicMode
The dynamic map mode.
|
staticMode
The static map mode.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMode()
Returns the mode.
|
boolean |
isDynamic()
Checks if
this is dynamicMode . |
boolean |
isStatic()
Checks if
this is staticMode . |
static CmsLocationPickerWidgetValue.MapMode |
parseMode(java.lang.String mode)
Parses the client side mode representation, required as 'static' is a java keyword.
|
static CmsLocationPickerWidgetValue.MapMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmsLocationPickerWidgetValue.MapMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsLocationPickerWidgetValue.MapMode dynamicMode
public static final CmsLocationPickerWidgetValue.MapMode staticMode
public static CmsLocationPickerWidgetValue.MapMode[] values()
for (CmsLocationPickerWidgetValue.MapMode c : CmsLocationPickerWidgetValue.MapMode.values()) System.out.println(c);
public static CmsLocationPickerWidgetValue.MapMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CmsLocationPickerWidgetValue.MapMode parseMode(java.lang.String mode)
mode
- the mode namepublic java.lang.String getMode()
public boolean isDynamic()
this
is dynamicMode
.true
, if this
is dynamicMode
public boolean isStatic()
this
is staticMode
.true
, if this
is staticMode