Package com.jalios.jcms.widget
Enum Class WidgetUtil.PropertyEditor
- All Implemented Interfaces:
Serializable,Comparable<WidgetUtil.PropertyEditor>,Constable
- Enclosing class:
WidgetUtil
Enumeration of the different types of property editor.
A property editor is defined by a name and a ControlSettings.
A property editor is defined by a name and a ControlSettings.
- Author:
- ndossantos
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic WidgetUtil.PropertyEditorfromEditorName(String name) Find the PropertyEditor from the given editor nameReturns the ControlSettingsgetName()Return the editor namestatic WidgetUtil.PropertyEditorReturns the enum constant of this class with the specified name.static WidgetUtil.PropertyEditor[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NUMBER
-
PASSWORD
-
CRYPT
-
TEXTAREA
-
BOOLEAN
-
CHOOSER_COLOR
-
CHOOSER_IMAGE
-
CHOOSER_MEDIA
-
CHOOSER_CATEGORY
-
CHOOSER_CATEGORY_MULTIPLE
-
CHOOSER_MEMBER
-
CHOOSER_GROUP
-
CHOOSER_WORKSPACE
-
CHOOSER_PUBLICATION
-
CHOOSER_CONTENT
-
CHOOSER_DOCUMENT
-
CHOOSER_PORTAL
-
CHOOSER_TYPE
-
CHOOSER_TYPES
-
JSP
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
Return the editor name- Returns:
- editor name
-
getControlSettings
Returns the ControlSettings- Returns:
- the cloned ControlSettings
-
fromEditorName
Find the PropertyEditor from the given editor name- Parameters:
name- editor name- Returns:
- PropertyEditor or null if not found
-