Class AbstractPropertyEditorDescriptor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.meta.impl.AbstractPropertyEditorDescriptor
-
- All Implemented Interfaces:
PropertyEditorDescriptor
- Direct Known Subclasses:
DefaultPropertyEditorDescriptor
public abstract class AbstractPropertyEditorDescriptor extends java.lang.Object implements PropertyEditorDescriptor
Base class for property editor descriptors. Basically provides the label and the preview image.
-
-
Field Summary
-
Fields inherited from interface de.hybris.platform.cockpit.model.meta.PropertyEditorDescriptor
DEFAULT, MULTI, RANGE, SINGLE
-
-
Constructor Summary
Constructors Constructor Description AbstractPropertyEditorDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEditorType()
The editor type to matchPropertyDescriptor.getEditorType()
.java.lang.String
getLabel()
The public label of this editor descriptor.java.lang.String
getPreviewImage()
The optional preview image url.void
setEditorType(java.lang.String editorType)
void
setLabel(java.lang.String label)
void
setPreviewImage(java.lang.String previewImage)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.model.meta.PropertyEditorDescriptor
createUIEditor, createUIEditor, createValueBean
-
-
-
-
Method Detail
-
setLabel
public void setLabel(java.lang.String label)
-
getLabel
public java.lang.String getLabel()
Description copied from interface:PropertyEditorDescriptor
The public label of this editor descriptor. It is shown wherever the user is able to select a editor.- Specified by:
getLabel
in interfacePropertyEditorDescriptor
-
getPreviewImage
public java.lang.String getPreviewImage()
Description copied from interface:PropertyEditorDescriptor
The optional preview image url. It may be shown wherever the user is able to choose between different editors.- Specified by:
getPreviewImage
in interfacePropertyEditorDescriptor
-
setPreviewImage
public void setPreviewImage(java.lang.String previewImage)
-
getEditorType
public java.lang.String getEditorType()
Description copied from interface:PropertyEditorDescriptor
The editor type to matchPropertyDescriptor.getEditorType()
. This way the system can determine which editors are appropriate for a property descriptor.- Specified by:
getEditorType
in interfacePropertyEditorDescriptor
-
setEditorType
public void setEditorType(java.lang.String editorType)
-
-