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
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected com.hybris.cockpitng.actions.ActionContextcreateActionContext(ActionsMenu menuActions, com.hybris.cockpitng.core.config.impl.jaxb.hybris.Action action, com.hybris.cockpitng.actions.ActionDefinition actionDefinition) com.hybris.cockpitng.core.CockpitComponentDefinitionServicecom.hybris.cockpitng.engine.impl.ComponentWidgetAdaptervoidrender(com.hybris.cockpitng.components.AbstractCockpitElementsContainer parent, Object configuration) protected org.zkoss.zul.MenuitemrenderAction(ActionsMenu menuActions, com.hybris.cockpitng.core.config.impl.jaxb.hybris.Action action) protected voidrenderActions(ActionsMenu menuActions, com.hybris.cockpitng.core.config.impl.jaxb.hybris.Actions actions, org.zkoss.zul.Menupopup parent) voidrenderActionsGroup(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
-
Field Details
-
ACTIONS_SCLASS
- See Also:
-
ACTIONS_BUTTON_SCLASS
- See Also:
-
ACTIONS_POPUP_SCLASS
- See Also:
-
ACTION_MENUITEM_SCLASS
- See Also:
-
ACTION_FONT_ICON_OVERFLOW
- See Also:
-
-
Constructor Details
-
DefaultActionsMenuRenderer
public DefaultActionsMenuRenderer()
-
-
Method Details
-
render
public void render(com.hybris.cockpitng.components.AbstractCockpitElementsContainer parent, Object configuration) - Specified by:
renderin interfacecom.hybris.cockpitng.components.CockpitComponentsRenderer- Overrides:
renderin classcom.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()
-