|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.binding.BindPath
@SuppressWarnings({"unchecked"}) // all are of type Object, so generics are useless class BindPath extends Object
The bind path object. This class represents one "step" in the bind path.
Field Summary | |
---|---|
static Class[] |
GLOBAL_PARAMS
|
static Class[] |
NAME_PARAMS
|
BindPath[] |
children
The steps further down the path from us |
Object |
currentObject
The object we think we are bound to |
PropertyChangeListener |
globalListener
|
PropertyChangeListener |
localListener
|
Map |
localSynthetics
The local lookup for syhtnetic properties, like JTextField#text |
String |
propertyName
The proeprty we are intiereted in |
BindingUpdatable |
syntheticFullBinding
|
Constructor Summary | |
BindPath()
|
Method Summary | |
---|---|
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, believeing that our bould flags are accurate and it removes only as declared. |
void
|
updateLocalSyntheticProperties(Map synthetics)
|
void
|
updatePath(PropertyChangeListener listener, Object newObject, Set updateSet)
Called when we detect a change somewherer down our path. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
static final Class[] GLOBAL_PARAMS
static final Class[] NAME_PARAMS
BindPath[] children
Object currentObject
PropertyChangeListener globalListener
PropertyChangeListener localListener
Map localSynthetics
String propertyName
BindingUpdatable syntheticFullBinding
Constructor Detail |
---|
BindPath()
Method Detail |
---|
public void addAllListeners(PropertyChangeListener listener, Object newObject, Set updateSet)
public void addListeners(PropertyChangeListener listener, Object newObject, Set updateSet)
public TriggerBinding getSyntheticTriggerBinding(Object newObject)
public void removeListeners()
public void updateLocalSyntheticProperties(Map synthetics)
public void updatePath(PropertyChangeListener listener, Object newObject, Set updateSet)
Copyright © 2003-2009 The Codehaus. All rights reserved.