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.DefaultCockpitActionsRendererDefault renderer forActionsMenucomponent.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringACTION_MENUITEM_SCLASSprotected static java.lang.StringACTIONS_BUTTON_SCLASSprotected static java.lang.StringACTIONS_ICON_SCLASSprotected static java.lang.StringACTIONS_POPUP_SCLASSprotected static java.lang.StringACTIONS_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
-
-
Constructor Summary
Constructors Constructor Description DefaultActionsMenuRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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.CockpitComponentDefinitionServicegetComponentDefinitionService()com.hybris.cockpitng.engine.impl.ComponentWidgetAdaptergetComponentWidgetAdapter()voidrender(com.hybris.cockpitng.components.AbstractCockpitElementsContainer parent, java.lang.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, 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
-
-
-
-
Field Detail
-
ACTIONS_SCLASS
protected static final java.lang.String ACTIONS_SCLASS
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
render
public void render(com.hybris.cockpitng.components.AbstractCockpitElementsContainer parent, java.lang.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()
-
-