Class DefaultActionsMenuRenderer

java.lang.Object
com.hybris.cockpitng.components.DefaultCockpitActionsRenderer
de.hybris.platform.adaptivesearchbackoffice.components.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 final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     

    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_ACTION_SELECTOR_BUTTON_OPENED, SCLASS_YA_THREE_DOTS_GROUP_POPUP, YA_CNG_EXTENDED_ACTION_CONTAINER_HOVER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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
     
    com.hybris.cockpitng.engine.impl.ComponentWidgetAdapter
     
    void
    render(com.hybris.cockpitng.components.AbstractCockpitElementsContainer parent, 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, getIconName, getKeyboardSupportService, getLabel, getLabelService, getLastFromActionComponents, getOrCreateActionComponent, getOrCreateGroupContainer, getOrCreateGroupLabel, groupQualifierEquals, isOnlyOneGroup, isUseImage, processGroupHeader, registerHoverEventsOnContainer, 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 Details

  • Constructor Details

    • DefaultActionsMenuRenderer

      public DefaultActionsMenuRenderer()
  • Method Details

    • render

      public void render(com.hybris.cockpitng.components.AbstractCockpitElementsContainer parent, 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()