public class BindPath extends Object
Constructor and Description |
---|
BindPath() |
Modifier and Type | Method and Description |
---|---|
void |
addAllListeners(PropertyChangeListener listener,
Object newObject,
Set updateSet)
Adds all the listeners to the objects in the bind path.
|
void |
addListeners(PropertyChangeListener listener,
Object newObject,
Set updateSet)
Add listeners to a specific object.
|
TriggerBinding |
getSyntheticTriggerBinding(Object newObject) |
void |
removeListeners()
Remove listeners, believing that our bould flags are accurate and it removes
only as declared.
|
void |
updateLocalSyntheticProperties(Map<String,TriggerBinding> synthetics) |
void |
updatePath(PropertyChangeListener listener,
Object newObject,
Set updateSet)
Called when we detect a change somewhere down our path.
|
public void updatePath(PropertyChangeListener listener, Object newObject, Set updateSet)
listener
- This listener to attach.newObject
- The object we should read our property off of.updateSet
- The list of objects we have added listeners topublic void addAllListeners(PropertyChangeListener listener, Object newObject, Set updateSet)
listener
- This listener to attach.newObject
- The object we should read our property off of.updateSet
- The list of objects we have added listeners topublic void addListeners(PropertyChangeListener listener, Object newObject, Set updateSet)
listener
- This listener to attach.newObject
- The object we should read our property off of.updateSet
- The list of objects we have added listeners topublic void removeListeners()
public void updateLocalSyntheticProperties(Map<String,TriggerBinding> synthetics)
public TriggerBinding getSyntheticTriggerBinding(Object newObject)