public class SplitLayoutChooserActionRenderer extends DefaultActionRenderer<String,String>
DefaultActionRenderer.DefaultActionRendererEventListener<T extends org.zkoss.zk.ui.event.Event>| Modifier and Type | Field and Description |
|---|---|
protected static String |
CSS_CHOOSER_BUTTON |
protected static String |
CSS_CHOOSER_BUTTON_WITH_LABEL |
protected static String |
CSS_CHOOSER_POPUP |
protected static String |
CSS_CHOSEN_LAYOUT |
protected static String |
DEFAULT_LAYOUT |
protected static String |
DEFAULT_LAYOUT_KEY |
protected static String |
ICON_HOVER_URI_KEY |
protected static String |
ICON_URI_KEY |
protected static String |
LABEL_PREFIX |
protected static String |
LAYOUTS_KEY |
protected static String |
SHOW_LABEL_KEY |
tooltipText| Constructor and Description |
|---|
SplitLayoutChooserActionRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected org.zkoss.zul.Button |
createButton(String layoutName,
ActionContext<String> context) |
org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event> |
createEventListener(CockpitAction<String,String> action,
ActionContext<String> context,
ActionListener<String> actionListener) |
protected List<String> |
findAvailableLayouts(ActionContext<String> context) |
protected String |
findChosenLayout(ActionContext<String> context) |
protected String |
findLayoutLabel(String layoutName,
ActionContext<String> context) |
protected String |
getIconUri(ActionContext<String> context,
String layoutName) |
void |
render(org.zkoss.zk.ui.Component parent,
CockpitAction<String,String> action,
ActionContext<String> context,
boolean updateMode,
ActionListener<String> listener) |
protected void |
renderPopup(org.zkoss.zk.ui.HtmlBasedComponent parent,
CockpitAction<String,String> action,
ActionContext<String> context,
ActionListener<String> listener) |
protected void |
updateChosenLayoutButton(org.zkoss.zk.ui.HtmlBasedComponent parent,
String layoutName,
ActionContext<String> context) |
addEventListener, addKeyboardSupport, adjustUri, checkDataCompatibleWithDefinedInput, createYTestId, extractIconDisabledUri, extractIconHoverUri, extractIconUri, extractKeyEvent, findActionComponent, findGroupComponent, findParentComponent, getActionBodySclass, getIconHoverUri, getIconUri, getKeyboardSupportService, getLocalizedName, getOrCreateContainer, getOrCreateIcon, getOrCreateLabel, getTooltipText, getToolTipWithCtrlKeysText, loadFromParentModel, perform, performWithConfirmationCheck, registerHoverEventsOnContainer, removeEventListeners, removeEventListeners, removeIcon, removeLabel, setTooltipText, storeInParentModel, triggerFromKeyEventprotected static final String LAYOUTS_KEY
protected static final String DEFAULT_LAYOUT_KEY
protected static final String SHOW_LABEL_KEY
protected static final String LABEL_PREFIX
protected static final String CSS_CHOOSER_BUTTON
protected static final String CSS_CHOOSER_BUTTON_WITH_LABEL
protected static final String CSS_CHOSEN_LAYOUT
protected static final String CSS_CHOOSER_POPUP
protected static final String ICON_URI_KEY
protected static final String ICON_HOVER_URI_KEY
protected static final String DEFAULT_LAYOUT
public void render(org.zkoss.zk.ui.Component parent,
CockpitAction<String,String> action,
ActionContext<String> context,
boolean updateMode,
ActionListener<String> listener)
render in interface CockpitActionRenderer<String,String>render in class DefaultActionRenderer<String,String>protected String findChosenLayout(ActionContext<String> context)
public org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event> createEventListener(CockpitAction<String,String> action, ActionContext<String> context, ActionListener<String> actionListener)
createEventListener in class DefaultActionRenderer<String,String>protected void renderPopup(org.zkoss.zk.ui.HtmlBasedComponent parent,
CockpitAction<String,String> action,
ActionContext<String> context,
ActionListener<String> listener)
protected void updateChosenLayoutButton(org.zkoss.zk.ui.HtmlBasedComponent parent,
String layoutName,
ActionContext<String> context)
protected org.zkoss.zul.Button createButton(String layoutName, ActionContext<String> context)
protected String getIconUri(ActionContext<String> context, String layoutName)
protected String findLayoutLabel(String layoutName, ActionContext<String> context)
protected List<String> findAvailableLayouts(ActionContext<String> context)
Copyright © 2018. All rights reserved.