Package com.jalios.jcms.widget
Enum WidgetUtil.PropertyEditor
- java.lang.Object
-
- java.lang.Enum<WidgetUtil.PropertyEditor>
-
- com.jalios.jcms.widget.WidgetUtil.PropertyEditor
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WidgetUtil.PropertyEditor>
- Enclosing class:
- WidgetUtil
public static enum WidgetUtil.PropertyEditor extends java.lang.Enum<WidgetUtil.PropertyEditor>
Enumeration of the different types of property editor.
A property editor is defined by a name and a ControlSettings.- Author:
- ndossantos
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WidgetUtil.PropertyEditor
fromEditorName(java.lang.String name)
Find the PropertyEditor from the given editor nameControlSettings<?>
getControlSettings()
Returns the ControlSettingsjava.lang.String
getName()
Return the editor namestatic WidgetUtil.PropertyEditor
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WidgetUtil.PropertyEditor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBER
public static final WidgetUtil.PropertyEditor NUMBER
-
PASSWORD
public static final WidgetUtil.PropertyEditor PASSWORD
-
CRYPT
public static final WidgetUtil.PropertyEditor CRYPT
-
TEXTAREA
public static final WidgetUtil.PropertyEditor TEXTAREA
-
BOOLEAN
public static final WidgetUtil.PropertyEditor BOOLEAN
-
CHOOSER_COLOR
public static final WidgetUtil.PropertyEditor CHOOSER_COLOR
-
CHOOSER_IMAGE
public static final WidgetUtil.PropertyEditor CHOOSER_IMAGE
-
CHOOSER_MEDIA
public static final WidgetUtil.PropertyEditor CHOOSER_MEDIA
-
CHOOSER_CATEGORY
public static final WidgetUtil.PropertyEditor CHOOSER_CATEGORY
-
CHOOSER_CATEGORY_MULTIPLE
public static final WidgetUtil.PropertyEditor CHOOSER_CATEGORY_MULTIPLE
-
CHOOSER_MEMBER
public static final WidgetUtil.PropertyEditor CHOOSER_MEMBER
-
CHOOSER_GROUP
public static final WidgetUtil.PropertyEditor CHOOSER_GROUP
-
CHOOSER_WORKSPACE
public static final WidgetUtil.PropertyEditor CHOOSER_WORKSPACE
-
CHOOSER_PUBLICATION
public static final WidgetUtil.PropertyEditor CHOOSER_PUBLICATION
-
CHOOSER_CONTENT
public static final WidgetUtil.PropertyEditor CHOOSER_CONTENT
-
CHOOSER_DOCUMENT
public static final WidgetUtil.PropertyEditor CHOOSER_DOCUMENT
-
CHOOSER_PORTAL
public static final WidgetUtil.PropertyEditor CHOOSER_PORTAL
-
CHOOSER_TYPE
public static final WidgetUtil.PropertyEditor CHOOSER_TYPE
-
CHOOSER_TYPES
public static final WidgetUtil.PropertyEditor CHOOSER_TYPES
-
JSP
public static final WidgetUtil.PropertyEditor JSP
-
-
Method Detail
-
values
public static WidgetUtil.PropertyEditor[] 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 (WidgetUtil.PropertyEditor c : WidgetUtil.PropertyEditor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WidgetUtil.PropertyEditor valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
Return the editor name- Returns:
- editor name
-
getControlSettings
public ControlSettings<?> getControlSettings()
Returns the ControlSettings- Returns:
- the cloned ControlSettings
-
fromEditorName
public static WidgetUtil.PropertyEditor fromEditorName(java.lang.String name)
Find the PropertyEditor from the given editor name- Parameters:
name
- editor name- Returns:
- PropertyEditor or null if not found
-
-