public enum WidgetTypes extends Enum<WidgetTypes>
Enum Constant and Description |
---|
CHECKBOX
Checkbox widget.
|
MAP
Text Multifield widget, which allows to specify multiple values for a property.
|
PATHBROWSER
Path Browser widget with autocomplete function.
|
TEXT_MULTIFIELD
Text Multifield widget, which allows to specify multiple values for a property.
|
TEXTAREA
Text Area widget.
|
TEXTFIELD
Text Field widget.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getDefaultWidgetConfiguration() |
Map<String,Object> |
getWidgetConfiguration(Map<String,Object> defaultOverrides) |
static WidgetTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WidgetTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WidgetTypes TEXTFIELD
/^[0-9]*$/
public static final WidgetTypes TEXT_MULTIFIELD
/^[0-9]*$/
public static final WidgetTypes TEXTAREA
/^[0-9]*$/
public static final WidgetTypes MAP
/^[0-9]*$/
public static final WidgetTypes PATHBROWSER
/content
public static final WidgetTypes CHECKBOX
public static WidgetTypes[] values()
for (WidgetTypes c : WidgetTypes.values()) System.out.println(c);
public static WidgetTypes valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Map<String,Object> getWidgetConfiguration(Map<String,Object> defaultOverrides)
defaultOverrides
- Default overridesCopyright © 2014–2021 wcm.io. All rights reserved.