public interface Tracker
| Modifier and Type | Method and Description |
|---|---|
void |
addDependsOn(org.zkoss.zk.ui.Component srcComp,
String[] srcSeries,
Binding srcBinding,
org.zkoss.zk.ui.Component dependsOnComp,
String[] dependsOnSeries)
Add a depends-on tracking between the source property name series and depends-on property name series.
|
void |
addTracking(org.zkoss.zk.ui.Component comp,
String[] series,
Binding binding)
Add a tracking that associate a binding to a dot series under the specified
Component |
Set<LoadBinding> |
getLoadBindings(Object base,
String propName)
Returns all bindings that associated with the specified property.
|
void |
removeTrackings(org.zkoss.zk.ui.Component comp)
Remove all tracking associated with the specified
Component. |
void |
removeTrackings(Set<org.zkoss.zk.ui.Component> comps)
Remove all tracking associated with the specified
Component set. |
void |
tieValue(Object comp,
Object base,
Object script,
Object propName,
Object value,
Object basePath)
Tie a property to its corresponding value under the specified
Component. |
void addTracking(org.zkoss.zk.ui.Component comp,
String[] series,
Binding binding)
Componentcomp - the component with the associated bindingseries - the dot series as an array of property namebinding - the associated bindingvoid addDependsOn(org.zkoss.zk.ui.Component srcComp,
String[] srcSeries,
Binding srcBinding,
org.zkoss.zk.ui.Component dependsOnComp,
String[] dependsOnSeries)
srcComp - the source component with the associated bindingsrcSeries - the dot series as an array of source property name.srcBinding - the associated bindingdependsOnSeries - the dot series as an array of dependsOn property name.void removeTrackings(org.zkoss.zk.ui.Component comp)
Component.comp - the associated componentvoid removeTrackings(Set<org.zkoss.zk.ui.Component> comps)
Component set.comps - the associated component setvoid tieValue(Object comp, Object base, Object script, Object propName, Object value, Object basePath)
Component.comp - the associated componentbase - the base object of the propertyscript - the field scriptpropName - the resolved property name from the field scriptvalue - the value of the propertybasePath - the basePath script prior to the script field script (Since 8.0)Set<LoadBinding> getLoadBindings(Object base, String propName)
base - base objectpropName - property nameCopyright © 2020. All rights reserved.