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.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.voidsetEditorType(java.lang.String editorType)voidsetLabel(java.lang.String label)voidsetPreviewImage(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:PropertyEditorDescriptorThe public label of this editor descriptor. It is shown wherever the user is able to select a editor.- Specified by:
getLabelin interfacePropertyEditorDescriptor
-
getPreviewImage
public java.lang.String getPreviewImage()
Description copied from interface:PropertyEditorDescriptorThe optional preview image url. It may be shown wherever the user is able to choose between different editors.- Specified by:
getPreviewImagein interfacePropertyEditorDescriptor
-
setPreviewImage
public void setPreviewImage(java.lang.String previewImage)
-
getEditorType
public java.lang.String getEditorType()
Description copied from interface:PropertyEditorDescriptorThe editor type to matchPropertyDescriptor.getEditorType(). This way the system can determine which editors are appropriate for a property descriptor.- Specified by:
getEditorTypein interfacePropertyEditorDescriptor
-
setEditorType
public void setEditorType(java.lang.String editorType)
-
-