public class Widgetslot extends org.zkoss.zul.Idspace implements WidgetContainer, Cleanable, Initializable
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_WIDGET_CONTROLLER |
static String |
ATTRIBUTE_WIDGET_MODEL |
AFTER_PAGE_ATTACHED, AFTER_PAGE_DETACHED| Constructor and Description |
|---|
Widgetslot() |
clone, 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 ATTRIBUTE_WIDGET_MODEL
public static final String ATTRIBUTE_WIDGET_CONTROLLER
public void afterCompose()
afterCompose in interface org.zkoss.zk.ui.ext.AfterComposepublic void updateView()
WidgetContainerupdateView in interface WidgetContainerpublic void updateChildren(String childSlotId)
public void setSlotID(String slotID)
slotID - the slotID to setpublic void setParentChildrenContainer(Widgetchildren parentChildrenContainer)
parentChildrenContainer - the parentChildrenContainer to setpublic Widgetchildren getParentChildrenContainer()
public WidgetModel getViewModel()
public <C extends WidgetController> C getViewController()
public String getSlotID()
public WidgetInstance getWidgetInstance()
public WidgetInstance getParentWidgetInstance()
public void setWidgetInstance(WidgetInstance currentWidgetInstance)
public void cleanup()
Cleanable
Notice: if an object implements Initializable also, then it is possible that Cleanable.cleanup() will be called
several times without calling Initializable.initialize().
public void initialize()
Initializable
Notice: if an object implements Cleanable also, then it is possible that Initializable.initialize() will be called
several times without calling Cleanable.cleanup().
initialize in interface Initializablepublic WidgetDefinition getWidgetDefinition(Widget widget)
public void setInvisibleContainer(org.zkoss.zul.Div invisibleContainer)
public org.zkoss.zul.Div getInvisibleContainer()
protected WidgetService getWidgetService()
protected WidgetInstanceFacade getWidgetInstanceFacade()
protected CockpitComponentDefinitionService getWidgetDefinitionService()
public CockpitWidgetEngine getCockpitWidgetEngine()
public WidgetUtils getWidgetUtils()
public WidgetTemplateRulesEngine getRulesEngine()
public NotificationStack getTemplateNotificationStack()
Copyright © 2018. All rights reserved.