|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.beanfabrics.AbstractBean
org.beanfabrics.Observation
public class Observation
The observation observes all presentation models that are nodes along the specified path (using the specified presentation model object as root node) and notifies any PropertyChangeListener whenever a node reference changes.
| Constructor Summary | |
|---|---|
Observation(PresentationModel rootNode,
Path path)
Creates a new Observation along the given Path starting at the
given root node. |
|
| Method Summary | |
|---|---|
PresentationModel |
getTarget()
Returns the target node specified by this observation's path relative to the root node. |
boolean |
hasTarget()
Returns true if the target of this observation's path is not
null. |
boolean |
isStarted()
Returns true if this observation has been started. |
protected void |
setTarget(PresentationModel pModel)
|
void |
start()
Start this observation (again). |
void |
stop()
Stops this observation. |
| Methods inherited from class org.beanfabrics.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, equals, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Observation(PresentationModel rootNode,
Path path)
Path starting at the
given root node.
rootNode - path - | Method Detail |
|---|
public boolean isStarted()
true if this observation has been started.
true if this observation has been startedpublic void stop()
public void start()
public boolean hasTarget()
true if the target of this observation's path is not
null.
true if the target of this observation's path is not
nullpublic PresentationModel getTarget()
protected void setTarget(PresentationModel pModel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||