Package org.zkoss.zuti.zul
Class TemplateBasedShadowElement
- java.lang.Object
-
- org.zkoss.zk.ui.AbstractComponent
-
- org.zkoss.zk.ui.HtmlShadowElement
-
- org.zkoss.zuti.zul.TemplateBasedShadowElement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,org.zkoss.zk.ui.Component,org.zkoss.zk.ui.ext.AfterCompose,org.zkoss.zk.ui.ext.Scope,org.zkoss.zk.ui.ShadowElement,org.zkoss.zk.ui.ShadowElementCtrl,org.zkoss.zk.ui.sys.ComponentCtrl
public abstract class TemplateBasedShadowElement extends org.zkoss.zk.ui.HtmlShadowElementA template based skeleton class- Since:
- 8.0.0
- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean_dirtyBindingstatic java.lang.StringFOREACH_RENDERED_COMPONENTSforeach support list model (Component developer use only)static java.lang.StringON_BINDING_READYComponent developer use onlystatic java.lang.StringSHADOW_VARIABLEComponent developer use only-
Fields inherited from class org.zkoss.zk.ui.HtmlShadowElement
_afterComposed, _dynamicValue, BIND_ANNO, BINDER, FOREACH_IN_RENDER, INIT_ANNO, LOAD_ANNO, ON_REBUILD_SHADOW_TREE_LATER, REFERENCE_ANNO, SAVE_ANNO, SKIP_DISTRIBUTED_CHILDREN_PROPERTY_CHANGE
-
-
Constructor Summary
Constructors Constructor Description TemplateBasedShadowElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddBindingListener()voidafterCompose()java.lang.Objectclone()protected voidcompose(org.zkoss.zk.ui.Component host)voiddetach()protected voiddocheck0()protected booleanisBindingReady()Returns the current phase is in a binding ready state, if any.booleanisDirtyBinding()Internal used onlybooleanisDynamicValue()protected booleanisEffective()voidonChildAdded(org.zkoss.zk.ui.Component child)voidonChildRemoved(org.zkoss.zk.ui.Component child)protected voidrebuildSubShadowTree()protected voidremoveBindingListener()-
Methods inherited from class org.zkoss.zk.ui.HtmlShadowElement
afterHostChildAdded, afterHostChildRemoved, asShadow, beforeChildAdded, beforeHostChildAdded, beforeHostChildRemoved, beforeHostParentChanged, beforeParentChanged, clearChildren, destroyIndexCacheMap, getDistributedChildren, getFirstInsertion, getIndex, getIndexCacheMap, getLastInsertion, getNextInsertion, getNextInsertionComponentIfAny, getPreviousInsertion, getPreviousInsertionComponentIfAny, getShadowHost, getShadowHostIfAny, initClone, initIndexCacheMap, inRange, invalidate, isDynamicValue, mergeSubTree, mergeToHost, onHostAttached, onHostChildAdded, onHostChildRemoved, onHostDetached, recreate, removeFromParent, resolveVariable, setDynamicValue, setParent, setPrevInsertion, setShadowHost, shrinkRange, stretchRange, toString, updateFirstInsertion, updateLastInsertion, updateNextInsertion, updatePreviousInsertion, updateSubBindingAnnotationCount
-
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, disableHostChanged, enableBindingAnnotation, enableHostChanged, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getExtraCtrl, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getForwards, getId, getLastChild, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getPropertyAccess, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, insertBefore, isChildable, isDisabledHostChanged, isInitialized, isInvalidated, isListenerAvailable, isVisible, onPageAttached, onPageDetached, onParentChanged, onWrongValue, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, renderProperties, renderPropertiesOnly, replace, response, response, response, service, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisible, setVisibleDirectly, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, updateByClient, willPassivate, willPassivate, willSerialize, willSerialize
-
-
-
-
Field Detail
-
ON_BINDING_READY
public static java.lang.String ON_BINDING_READY
Component developer use only
-
SHADOW_VARIABLE
public static java.lang.String SHADOW_VARIABLE
Component developer use only
-
FOREACH_RENDERED_COMPONENTS
public static final java.lang.String FOREACH_RENDERED_COMPONENTS
foreach support list model (Component developer use only)- See Also:
- Constant Field Values
-
_dirtyBinding
protected boolean _dirtyBinding
-
-
Method Detail
-
onChildRemoved
public void onChildRemoved(org.zkoss.zk.ui.Component child)
- Specified by:
onChildRemovedin interfaceorg.zkoss.zk.ui.sys.ComponentCtrl- Overrides:
onChildRemovedin classorg.zkoss.zk.ui.AbstractComponent
-
onChildAdded
public void onChildAdded(org.zkoss.zk.ui.Component child)
- Specified by:
onChildAddedin interfaceorg.zkoss.zk.ui.sys.ComponentCtrl- Overrides:
onChildAddedin classorg.zkoss.zk.ui.HtmlShadowElement
-
afterCompose
public void afterCompose()
- Specified by:
afterComposein interfaceorg.zkoss.zk.ui.ext.AfterCompose- Overrides:
afterComposein classorg.zkoss.zk.ui.HtmlShadowElement
-
isDynamicValue
public boolean isDynamicValue()
- Specified by:
isDynamicValuein interfaceorg.zkoss.zk.ui.ShadowElementCtrl- Overrides:
isDynamicValuein classorg.zkoss.zk.ui.HtmlShadowElement
-
rebuildSubShadowTree
protected void rebuildSubShadowTree()
- Overrides:
rebuildSubShadowTreein classorg.zkoss.zk.ui.HtmlShadowElement
-
compose
protected void compose(org.zkoss.zk.ui.Component host)
- Specified by:
composein classorg.zkoss.zk.ui.HtmlShadowElement
-
addBindingListener
protected void addBindingListener()
-
removeBindingListener
protected void removeBindingListener()
-
detach
public void detach()
- Specified by:
detachin interfaceorg.zkoss.zk.ui.Component- Specified by:
detachin interfaceorg.zkoss.zk.ui.ShadowElement- Overrides:
detachin classorg.zkoss.zk.ui.HtmlShadowElement
-
isBindingReady
protected boolean isBindingReady()
Returns the current phase is in a binding ready state, if any. It is used for sub-class to check the state in aHtmlShadowElement.recreate()method.
-
isEffective
protected boolean isEffective()
- Specified by:
isEffectivein classorg.zkoss.zk.ui.HtmlShadowElement
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceorg.zkoss.zk.ui.Component- Overrides:
clonein classorg.zkoss.zk.ui.HtmlShadowElement
-
docheck0
protected void docheck0()
-
isDirtyBinding
public boolean isDirtyBinding()
Internal used only
-
-