|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRunViewer
TryQuery
public class TryQuery
Field Summary |
---|
Fields inherited from class RunViewer |
---|
viewer |
Constructor Summary | |
---|---|
TryQuery()
|
Method Summary | |
---|---|
boolean |
GetUpdate()
Returns that flag indicating whether or not Update() should be called in response to a state object's Notify(). |
static void |
main(java.lang.String[] args)
|
void |
SetUpdate(boolean val)
Sets a flag in the implementing class that determines whether or not the Update() method should be called in response to the state object's Notify() method being called. |
void |
Update(AttributeSubject s)
This method is called when an object observed by this object is modified and its observers are notified by the state object's Notify() method. |
protected void |
work(java.lang.String[] args)
|
Methods inherited from class RunViewer |
---|
printUsage, run |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TryQuery()
Method Detail |
---|
protected void work(java.lang.String[] args)
work
in class RunViewer
public void Update(AttributeSubject s)
SimpleObserver
Update
in interface SimpleObserver
s
- The state object that caused the Update() method to
be called.public void SetUpdate(boolean val)
SimpleObserver
SetUpdate
in interface SimpleObserver
val
- true if the Update() method should be called in response to
a Notify().public boolean GetUpdate()
SimpleObserver
GetUpdate
in interface SimpleObserver
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |