|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.bind.tracker.impl.TrackerImpl
public class TrackerImpl
Implementation of dependency tracking.
| Constructor Summary | |
|---|---|
TrackerImpl()
|
|
| Method Summary | |
|---|---|
void |
addTracking(Component comp,
java.lang.String[] series,
java.lang.String[] srcpath,
Binding binding)
Add a tracking that associate a binding to a dot series under the specified Component |
void |
dump()
|
java.util.Set<LoadBinding> |
getLoadBindings(java.lang.Object base,
java.lang.String prop)
Returns all bindings that associated with the specified property. |
void |
removeTrackings(Component comp)
Remove all tracking associated with the specified Component. |
void |
tieValue(java.lang.Object comp,
java.lang.Object base,
java.lang.Object script,
java.lang.Object propName,
java.lang.Object value)
Tie a property to its corresponding value under the specified Component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrackerImpl()
| Method Detail |
|---|
public void addTracking(Component comp,
java.lang.String[] series,
java.lang.String[] srcpath,
Binding binding)
TrackerComponent
addTracking in interface Trackercomp - the associated componentseries - the dot series as an array of property namesrcpath - the dot series as an array of property name of the dependent propertybinding - the bindingpublic void removeTrackings(Component comp)
TrackerComponent.
removeTrackings in interface Trackercomp - the associated component
public java.util.Set<LoadBinding> getLoadBindings(java.lang.Object base,
java.lang.String prop)
Tracker
getLoadBindings in interface Trackerbase - base objectprop - property name
public void tieValue(java.lang.Object comp,
java.lang.Object base,
java.lang.Object script,
java.lang.Object propName,
java.lang.Object value)
TrackerComponent.
tieValue in interface Trackercomp - the associated componentbase - the base object of the propertyscript - the field scriptpropName - the resolved property name from the field scriptvalue - the value of the propertypublic void dump()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||