Class AbstractSingleButtonInset<T>

  • All Implemented Interfaces:
    com.hybris.cockpitng.editors.CockpitEditorRenderer<T>

    public abstract class AbstractSingleButtonInset<T>
    extends java.lang.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 java.lang.String BUTTON_LABEL_PARAM  
      static java.lang.String BUTTON_SCLASS  
      static java.lang.String INSET_SCLASS  
      • Fields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer

        INITIAL_EDIT_STRING
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      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 java.lang.String getSclass()  
      protected boolean isEnabled()  
      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
    • Constructor Detail

      • AbstractSingleButtonInset

        public AbstractSingleButtonInset()
    • Method Detail

      • 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 java.lang.String getSclass()
      • findAncestorEditor

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