|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.bind.tracker.impl.TrackerNodeImpl
public class TrackerNodeImpl
Constructor Summary | |
---|---|
TrackerNodeImpl(java.lang.Object property)
|
Method Summary | |
---|---|
void |
addAssociate(TrackerNode node)
add associated TrackerNode with this node |
void |
addBinding(Binding binding)
add associated Binding with this node |
void |
addDependent(java.lang.Object script,
TrackerNode dependent)
Add a dependent node of the field script. |
java.util.Set<TrackerNode> |
getAssociates()
Returns all associate nodes of this node. |
java.lang.Object |
getBean()
Returns associated bean of this TrackerNode. |
java.util.Set<Binding> |
getBindings()
Returns all associated Bindings. |
TrackerNode |
getDependent(java.lang.Object property)
Returns the associated TrackerNode of the associated field script of this tracker node. |
java.util.Set<TrackerNode> |
getDependents()
Returns all dependent nodes of this node. |
java.util.Set<TrackerNode> |
getDependents(java.lang.Object property)
Returns all associated TrackerNodes of the associated field script of this tracker node. |
java.util.Set<TrackerNode> |
getDirectDependents()
Returns all direct dependent nodes of this node. |
java.lang.Object |
getFieldScript()
Returns associated field script of this TrackerNode. |
java.util.Set<LoadBinding> |
getLoadBindings()
Returns associated LoadBindings except ReferenceBindings. |
java.util.Map<java.lang.Object,java.lang.Object> |
getPropNameMapping()
get property, script mapping map |
java.util.Set<ReferenceBinding> |
getReferenceBindings()
Returns associated ReferenceBindings. |
TrackerNode |
removeDependent(java.lang.Object script)
Remove a dependent node of this node per the specified field script. |
void |
setBean(java.lang.Object bean)
Sets associated bean of this TrackerNode. |
void |
tieProperty(java.lang.Object property,
java.lang.Object script)
tie property with script of this node. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TrackerNodeImpl(java.lang.Object property)
Method Detail |
---|
public void addAssociate(TrackerNode node)
TrackerNode
addAssociate
in interface TrackerNode
public TrackerNode getDependent(java.lang.Object property)
TrackerNode
getDependent
in interface TrackerNode
property
- field script to get the dependent
public java.util.Set<TrackerNode> getDependents(java.lang.Object property)
TrackerNode
getDependents
in interface TrackerNode
property
- field script to get the dependent
public void addDependent(java.lang.Object script, TrackerNode dependent)
TrackerNode
addDependent
in interface TrackerNode
script
- the field script to link this track node to its dependent nodes.dependent
- the TrackerNode to be addedpublic void tieProperty(java.lang.Object property, java.lang.Object script)
TrackerNode
tieProperty
in interface TrackerNode
public TrackerNode removeDependent(java.lang.Object script)
TrackerNode
removeDependent
in interface TrackerNode
script
- field script that link to the to be removed dependent tracker node.
public void addBinding(Binding binding)
TrackerNode
addBinding
in interface TrackerNode
public java.util.Set<Binding> getBindings()
TrackerNode
getBindings
in interface TrackerNode
public java.util.Set<ReferenceBinding> getReferenceBindings()
TrackerNode
getReferenceBindings
in interface TrackerNode
public java.util.Set<LoadBinding> getLoadBindings()
TrackerNode
getLoadBindings
in interface TrackerNode
public java.util.Set<TrackerNode> getDependents()
TrackerNode
getDependents
in interface TrackerNode
public java.util.Set<TrackerNode> getDirectDependents()
TrackerNode
getDirectDependents
in interface TrackerNode
public java.util.Set<TrackerNode> getAssociates()
TrackerNode
getAssociates
in interface TrackerNode
public java.lang.Object getBean()
TrackerNode
getBean
in interface TrackerNode
public void setBean(java.lang.Object bean)
TrackerNode
setBean
in interface TrackerNode
bean
- the associated bean.public java.lang.Object getFieldScript()
TrackerNode
getFieldScript
in interface TrackerNode
public java.util.Map<java.lang.Object,java.lang.Object> getPropNameMapping()
TrackerNode
getPropNameMapping
in interface TrackerNode
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |