Interface PropertyEditorDescriptor
-
- All Known Implementing Classes:
AbstractPropertyEditorDescriptor,DefaultPropertyEditorDescriptor
public interface PropertyEditorDescriptorThe descriptor for a specific property editor type. Basically describes the editor type and createseditor beans.- See Also:
PropertyEditorBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UIEditorcreateUIEditor()UIEditorcreateUIEditor(java.lang.String mode)PropertyEditorBeancreateValueBean(java.lang.Object initialValue)Create a instance of a property value editor bean.java.lang.StringgetEditorType()The editor type to matchPropertyDescriptor.getEditorType().java.lang.StringgetLabel()The public label of this editor descriptor.java.lang.StringgetPreviewImage()The optional preview image url.
-
-
-
Field Detail
-
DEFAULT
static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
-
SINGLE
static final java.lang.String SINGLE
- See Also:
- Constant Field Values
-
MULTI
static final java.lang.String MULTI
- See Also:
- Constant Field Values
-
RANGE
static final java.lang.String RANGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLabel
java.lang.String getLabel()
The public label of this editor descriptor. It is shown wherever the user is able to select a editor.
-
getPreviewImage
java.lang.String getPreviewImage()
The optional preview image url. It may be shown wherever the user is able to choose between different editors.
-
getEditorType
java.lang.String getEditorType()
The editor type to matchPropertyDescriptor.getEditorType(). This way the system can determine which editors are appropriate for a property descriptor.
-
createValueBean
PropertyEditorBean createValueBean(java.lang.Object initialValue)
Create a instance of a property value editor bean. This bean is meant to be backing bean for the actual view component.
-
createUIEditor
UIEditor createUIEditor()
-
createUIEditor
UIEditor createUIEditor(java.lang.String mode)
-
-