Class AbstractSingleButtonInset<T>
java.lang.Object
de.hybris.platform.coupon.backoffice.cockpitng.editor.insets.AbstractSingleButtonInset<T>
- All Implemented Interfaces:
com.hybris.cockpitng.editors.CockpitEditorRenderer<T>
public abstract class AbstractSingleButtonInset<T>
extends Object
implements com.hybris.cockpitng.editors.CockpitEditorRenderer<T>
Abstract class for insets that add single action button
-
Field Summary
FieldsFields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer
INITIAL_EDIT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.hybris.cockpitng.components.EditorfindAncestorEditor(org.zkoss.zk.ui.Component component) protected abstract org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>getInsetListener(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<T> context, com.hybris.cockpitng.editors.EditorListener<T> listener) protected Stringprotected booleanvoidrender(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<T> context, com.hybris.cockpitng.editors.EditorListener<T> listener)
-
Field Details
-
BUTTON_LABEL_PARAM
- See Also:
-
INSET_SCLASS
- See Also:
-
BUTTON_SCLASS
- See Also:
-
-
Constructor Details
-
AbstractSingleButtonInset
public AbstractSingleButtonInset()
-
-
Method Details
-
getInsetListener
-
render
public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<T> context, com.hybris.cockpitng.editors.EditorListener<T> listener) - Specified by:
renderin interfacecom.hybris.cockpitng.editors.CockpitEditorRenderer<T>
-
isEnabled
protected boolean isEnabled() -
getSclass
-
findAncestorEditor
protected com.hybris.cockpitng.components.Editor findAncestorEditor(org.zkoss.zk.ui.Component component)
-