Class DefaultActionsMenuRenderer

  • All Implemented Interfaces:
    com.hybris.cockpitng.components.CockpitComponentsRenderer

    public class DefaultActionsMenuRenderer
    extends com.hybris.cockpitng.components.DefaultCockpitActionsRenderer
    Default renderer for ActionsMenu component.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.hybris.cockpitng.components.DefaultCockpitActionsRenderer

        com.hybris.cockpitng.components.DefaultCockpitActionsRenderer.ExtendedActionGroupEventListener<E extends org.zkoss.zk.ui.event.Event>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String ACTION_MENUITEM_SCLASS  
      protected static java.lang.String ACTIONS_BUTTON_SCLASS  
      protected static java.lang.String ACTIONS_ICON_SCLASS  
      protected static java.lang.String ACTIONS_POPUP_SCLASS  
      protected static java.lang.String ACTIONS_SCLASS  
      • Fields inherited from class com.hybris.cockpitng.components.DefaultCockpitActionsRenderer

        ACTION_GROUP_QUALIFIER, DEFAULT_QUALIFIER, SCALSS_YA_EXTENDED_GROUP_CNT, SCALSS_YA_SPLIT_GROUP_CNT, SCALSS_YA_THREE_DOTS_GROUP_CNT, SCLASS_ACTION_GROUP_POPUP, SCLASS_YA_ACTION_SELECTOR_BUTTON, SCLASS_YA_THREE_DOTS_GROUP_POPUP, YA_CNG_EXTENDED_ACTION_CONTAINER_HOVER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.hybris.cockpitng.actions.ActionContext createActionContext​(ActionsMenu menuActions, com.hybris.cockpitng.core.config.impl.jaxb.hybris.Action action, com.hybris.cockpitng.actions.ActionDefinition actionDefinition)  
      com.hybris.cockpitng.core.CockpitComponentDefinitionService getComponentDefinitionService()  
      com.hybris.cockpitng.engine.impl.ComponentWidgetAdapter getComponentWidgetAdapter()  
      void render​(com.hybris.cockpitng.components.AbstractCockpitElementsContainer parent, java.lang.Object configuration)  
      protected org.zkoss.zul.Menuitem renderAction​(ActionsMenu menuActions, com.hybris.cockpitng.core.config.impl.jaxb.hybris.Action action)  
      protected void renderActions​(ActionsMenu menuActions, com.hybris.cockpitng.core.config.impl.jaxb.hybris.Actions actions, org.zkoss.zul.Menupopup parent)  
      void renderActionsGroup​(com.hybris.cockpitng.core.config.impl.jaxb.hybris.ActionGroup actionGroup, ActionsMenu menuActions, org.zkoss.zul.Menupopup parent)  
      • Methods inherited from class com.hybris.cockpitng.components.DefaultCockpitActionsRenderer

        adjustUri, cleanUpActionComponents, closeSubActionsPopups, computeGroupQualifier, createHbox, createToolbarbuttonForActionGroupSplit, extractIconDisabledUri, extractIconHoverUri, extractIconUri, extractParam, findExtendedActionOnActionComponents, generateActionUID, getFirstFromActionComponents, getGroupConfig, getKeyboardSupportService, getLabel, getLabelService, getLastFromActionComponents, getOrCreateActionComponent, getOrCreateGroupContainer, getOrCreateGroupLabel, groupQualifierEquals, isOnlyOneGroup, processGroupHeader, registerHoverEventsOnContainer, removeChildActionsNonExistingInActionComponents, removeEventListeners, removeEventListeners, removeGroupLabel, renderAction, renderAction, renderAction, renderAction, renderActionGroupExtended, renderActionGroupExtendedClickableArea, renderActionGroupSplit, renderActionGroupThreeDots, renderActionsForPopupInActionGroupSplit, renderAllGroups, renderGroup, renderGroupHeader, renderPrimaryAction, renderSingleGroup, resolvePrimaryAction, resolveShowGroupHeaderWhenManyGroups
      • Methods inherited from class java.lang.Object

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

      • ACTIONS_ICON_SCLASS

        protected static final java.lang.String ACTIONS_ICON_SCLASS
        See Also:
        Constant Field Values
      • ACTIONS_BUTTON_SCLASS

        protected static final java.lang.String ACTIONS_BUTTON_SCLASS
        See Also:
        Constant Field Values
      • ACTIONS_POPUP_SCLASS

        protected static final java.lang.String ACTIONS_POPUP_SCLASS
        See Also:
        Constant Field Values
      • ACTION_MENUITEM_SCLASS

        protected static final java.lang.String ACTION_MENUITEM_SCLASS
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultActionsMenuRenderer

        public DefaultActionsMenuRenderer()
    • Method Detail

      • render

        public void render​(com.hybris.cockpitng.components.AbstractCockpitElementsContainer parent,
                           java.lang.Object configuration)
        Specified by:
        render in interface com.hybris.cockpitng.components.CockpitComponentsRenderer
        Overrides:
        render in class com.hybris.cockpitng.components.DefaultCockpitActionsRenderer
      • renderActions

        protected void renderActions​(ActionsMenu menuActions,
                                     com.hybris.cockpitng.core.config.impl.jaxb.hybris.Actions actions,
                                     org.zkoss.zul.Menupopup parent)
      • renderActionsGroup

        public void renderActionsGroup​(com.hybris.cockpitng.core.config.impl.jaxb.hybris.ActionGroup actionGroup,
                                       ActionsMenu menuActions,
                                       org.zkoss.zul.Menupopup parent)
      • renderAction

        protected org.zkoss.zul.Menuitem renderAction​(ActionsMenu menuActions,
                                                      com.hybris.cockpitng.core.config.impl.jaxb.hybris.Action action)
      • createActionContext

        protected com.hybris.cockpitng.actions.ActionContext createActionContext​(ActionsMenu menuActions,
                                                                                 com.hybris.cockpitng.core.config.impl.jaxb.hybris.Action action,
                                                                                 com.hybris.cockpitng.actions.ActionDefinition actionDefinition)
      • getComponentDefinitionService

        public com.hybris.cockpitng.core.CockpitComponentDefinitionService getComponentDefinitionService()
      • getComponentWidgetAdapter

        public com.hybris.cockpitng.engine.impl.ComponentWidgetAdapter getComponentWidgetAdapter()