Class AbstractInstantEditorLabelRenderer
- java.lang.Object
-
- com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer<java.lang.Object>
-
- com.hybris.cockpitng.editor.decorated.AbstractEditorRendererWrapper
-
- com.hybris.cockpitng.editor.instant.AbstractInstantEditorLabelRenderer
-
- All Implemented Interfaces:
CockpitEditorRenderer<java.lang.Object>
- Direct Known Subclasses:
DefaultInstantEditorLabelRenderer,FixedInstantEditorLabelsRenderer
public abstract class AbstractInstantEditorLabelRenderer extends AbstractEditorRendererWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLABEL_KEY_NO_VALUEKey of a label to be displayed when there is no value for given attributestatic java.lang.StringPARAM_LABEL_NO_VALUE_KEYeditor-parameter which can be used to change label key for no value casestatic java.lang.StringPARAM_LABEL_NO_VALUE_STYLEeditor-parameter which can be used to add css class to no value labelprotected static java.lang.StringSCLASS_ACCESS_DENIEDprotected static java.lang.StringSCLASS_NO_VALUE-
Fields inherited from class com.hybris.cockpitng.editor.decorated.AbstractEditorRendererWrapper
DECORATED_EDITORS_EMBEDDED_CONTENT, DECORATED_EDITORS_PATTERN
-
Fields inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
HEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENT, YW_EDITOR_AREA_LABEL_CONTAINER
-
Fields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer
INITIAL_EDIT_STRING
-
-
Constructor Summary
Constructors Constructor Description AbstractInstantEditorLabelRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateValueLabel(org.zkoss.zk.ui.Component parent, EditorContext<java.lang.Object> context, InstantEditorLabelProvider labelProvider)protected LabelServicegetLabelService()protected PermissionFacadegetPermissionFacade()voidsetLabelService(LabelService labelService)voidsetPermissionFacade(PermissionFacade permissionFacade)protected voidupdateValueLabel(org.zkoss.zul.Label label, EditorContext<java.lang.Object> context, InstantEditorLabelProvider labelProvider)-
Methods inherited from class com.hybris.cockpitng.editor.decorated.AbstractEditorRendererWrapper
createEditor, extractDecoratedEditorContent, extractDefinitions, getEditorTypeFromContext, prepareNestedContext
-
Methods inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
extractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecorator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer
render
-
-
-
-
Field Detail
-
PARAM_LABEL_NO_VALUE_KEY
public static final java.lang.String PARAM_LABEL_NO_VALUE_KEY
editor-parameter which can be used to change label key for no value case- See Also:
- Constant Field Values
-
PARAM_LABEL_NO_VALUE_STYLE
public static final java.lang.String PARAM_LABEL_NO_VALUE_STYLE
editor-parameter which can be used to add css class to no value label- See Also:
- Constant Field Values
-
LABEL_KEY_NO_VALUE
public static final java.lang.String LABEL_KEY_NO_VALUE
Key of a label to be displayed when there is no value for given attribute- See Also:
- Constant Field Values
-
SCLASS_NO_VALUE
protected static final java.lang.String SCLASS_NO_VALUE
- See Also:
- Constant Field Values
-
SCLASS_ACCESS_DENIED
protected static final java.lang.String SCLASS_ACCESS_DENIED
- See Also:
- Constant Field Values
-
-
Method Detail
-
createValueLabel
protected void createValueLabel(org.zkoss.zk.ui.Component parent, EditorContext<java.lang.Object> context, InstantEditorLabelProvider labelProvider)
-
updateValueLabel
protected void updateValueLabel(org.zkoss.zul.Label label, EditorContext<java.lang.Object> context, InstantEditorLabelProvider labelProvider)
-
getLabelService
protected LabelService getLabelService()
-
setLabelService
public void setLabelService(LabelService labelService)
-
getPermissionFacade
protected PermissionFacade getPermissionFacade()
-
setPermissionFacade
public void setPermissionFacade(PermissionFacade permissionFacade)
-
-