public enum WidgetTypes extends Enum<WidgetTypes>
| Enum Constant and Description |
|---|
CHECKBOX
Checkbox widget.Following properties are available for configuration (all empty per
default):
- required = true or false
|
PATHBROWSER
Path Browser widget with autocomplete function.Following properties are available for configuration (all empty per
default):
- required = true or false
- rootPath = root path from where pages can be selected.
|
TEXT_MULTIFIELD
Text Multifield widget, which allows to specifiy 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
public static final WidgetTypes TEXT_MULTIFIELD
public static final WidgetTypes TEXTAREA
public static final WidgetTypes PATHBROWSER
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 - Copyright © 2014–2015 wcm.io. All rights reserved.