public class Action extends AbstractCockpitComponent implements org.zkoss.zk.ui.ext.AfterCompose, org.zkoss.zk.ui.IdSpace
| Modifier and Type | Field and Description |
|---|---|
static DefaultActionRenderer |
DEFAULT_ACTION_RENDERER |
static String |
KEYBOARD_SUPPORT_SERVICE_BEAN_ID |
static String |
ON_ACTION_PERFORMED |
COCKPIT_COMPONENTS_ATTIBUTE, initialized, modelObserver, widgetInstanceManager| Constructor and Description |
|---|
Action() |
getComponentDefinitionService, getComponentWidgetAdapter, getWidgetInstanceManager, initializeComponentWidgetAdapter, isInitialized, setComponentDefinitionService, setWidgetInstanceManager, unregisterObserver, unregisterWidgetStubInstanceclone, getContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributesfocus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZindex, getZIndex, service, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight, setHeight0, setHeightDirectly, setHflex, setHflex0, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex, setVflex0, setVflexDirectly, setWidth, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyaddAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, enableBindingAnnotation, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, insertBefore, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, onWrongValue, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, replace, response, response, response, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisible, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerializefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String ON_ACTION_PERFORMED
public static final DefaultActionRenderer DEFAULT_ACTION_RENDERER
public static final String KEYBOARD_SUPPORT_SERVICE_BEAN_ID
public void destroy()
destroy in class AbstractCockpitComponentpublic void reload()
protected void reloadIfNecessary()
public void initialize()
protected void renderAction(org.zkoss.zk.ui.HtmlBasedComponent parent,
ActionDefinition actionDefinition,
CockpitAction action,
boolean updateOnly)
protected void initializeActionContext(ActionContext actionContext, org.zkoss.zk.ui.HtmlBasedComponent parent, ActionDefinition actionDefinition, CockpitAction action, boolean updateOnly)
protected ActionContext createActionContext(ActionDefinition actionDefinition)
protected void addKeyboardSupport()
protected CockpitAction instantiateAction(ActionDefinition actionDefinition)
protected CockpitActionRenderer getRenderer(ActionDefinition actionDefinition)
public Object getInputValue()
public void setInputValue(Object value)
public String getProperty()
public void setProperty(String property)
public String getOutputProperty()
public void setOutputProperty(String outputProperty)
public String getTriggerOnKeys()
public void setTriggerOnKeys(String triggerOnKeys)
public String getActionId()
public void setActionId(String actionId)
public String getViewMode()
public void setViewMode(String viewMode)
public void removeParameter(String key)
public String getActionUID()
public void setActionUID(String actionUID)
public void afterCompose()
afterCompose in interface org.zkoss.zk.ui.ext.AfterComposeprotected void sendOutputAfterOperation(BackgroundOperationDefinition definition)
protected CockpitAction resolveCockpitActionClassInstance(ActionDefinition definition, boolean create)
protected CockpitAction resolveCockpitActionClassInstance(ActionDefinition definition)
public String getComponentID()
getComponentID in class AbstractCockpitComponentpublic List<ComponentWidgetAdapterAware> getWidgetAdaptersAwareIfPresent()
getWidgetAdaptersAwareIfPresent in class AbstractCockpitComponentprotected CockpitAction resolveCockpitActionClassInstance()
public KeyboardSupportService getKeyboardSupportService()
public ActionContext getActionContext()
Copyright © 2018. All rights reserved.