|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.runtime.binding.DefaultJAXXBinding
public abstract class DefaultJAXXBinding
A PropertyChangeListener which processes a data binding when it receives a
PropertyChangeEvent.
| Field Summary | |
|---|---|
protected boolean |
defaultBinding
flag to know true : if the binding was init from a generated jaxx object, false otherwise. |
protected JAXXObject |
source
The source of the binding. |
| Constructor Summary | |
|---|---|
DefaultJAXXBinding(JAXXObject source,
String id,
boolean defaultBinding)
Creates a new Data binding which will run the given data binding when it receives a PropertyChangeEvent. |
|
| Method Summary | |
|---|---|
String |
getId()
|
JAXXObject |
getSource()
|
boolean |
isDefaultBinding()
This state is not used actually, but will be usefull later... |
void |
propertyChange(PropertyChangeEvent e)
Processes the data binding in response to a PropertyChangeEvent. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jaxx.runtime.JAXXBinding |
|---|
applyDataBinding, processDataBinding, removeDataBinding |
| Field Detail |
|---|
protected final JAXXObject source
protected final boolean defaultBinding
true : if the binding was init from a generated jaxx object, false otherwise.
| Constructor Detail |
|---|
public DefaultJAXXBinding(JAXXObject source,
String id,
boolean defaultBinding)
PropertyChangeEvent.
source - the JAXXObject source of the bindingid - the name of the data binding to rundefaultBinding - flag to knwon if binding is coming from a generated jaxx object (true).| Method Detail |
|---|
public String getId()
getId in interface JAXXBindingpublic JAXXObject getSource()
getSource in interface JAXXBindingJAXXObject which owns the bindingpublic boolean isDefaultBinding()
JAXXBinding
isDefaultBinding in interface JAXXBindingtrue if binding was registred as a default binding, false otherwisepublic String toString()
toString in class Objectpublic void propertyChange(PropertyChangeEvent e)
PropertyChangeEvent.
When the binding is wake up, delegate the process to the source object which
can manage re-entrant code (can not process a re-entrant event).
propertyChange in interface PropertyChangeListenere - the event which triggered the binding
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||