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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer

    INITIAL_EDIT_STRING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.hybris.cockpitng.components.Editor
    findAncestorEditor(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 String
     
    protected boolean
     
    void
    render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<T> context, com.hybris.cockpitng.editors.EditorListener<T> listener)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AbstractSingleButtonInset

      public AbstractSingleButtonInset()
  • Method Details

    • getInsetListener

      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)
    • 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:
      render in interface com.hybris.cockpitng.editors.CockpitEditorRenderer<T>
    • isEnabled

      protected boolean isEnabled()
    • getSclass

      protected String getSclass()
    • findAncestorEditor

      protected com.hybris.cockpitng.components.Editor findAncestorEditor(org.zkoss.zk.ui.Component component)