|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.gui.monitor.GuiObject frysk.gui.monitor.observers.ObserverRoot
public class ObserverRoot
A more sophisticated implementer of Observer. provides name and tool tip strings for GUI display purposes. Takes Action objects that can be used by clients to customize behaviour.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface frysk.proc.TaskObserver |
---|
TaskObserver.Cloned, TaskObserver.Code, TaskObserver.Execed, TaskObserver.Forked, TaskObserver.Instruction, TaskObserver.Signaled, TaskObserver.Syscalls, TaskObserver.Terminated, TaskObserver.Terminating, TaskObserver.Watch |
Field Summary | |
---|---|
GenericActionPoint |
genericActionPoint
|
Fields inherited from class frysk.gui.monitor.GuiObject |
---|
propertiesChanged |
Method Summary | |
---|---|
void |
addedTo(Object observable)
Acknowledge the request to add this Observer from Object's set of observers was successful. |
void |
addFailed(Object o,
Throwable w)
Notify that the attempt to add to the specified observer failed. |
void |
deletedFrom(Object observable)
Acknowledge the request to delete this Observer from Object's set of observers was successful (or that the Observer was spontaneously deleted, e.g., due to a task exit). |
ObservableLinkedList |
getActionPoints()
|
String |
getBaseName()
|
Action |
getCurrentAction()
|
ObservableLinkedList |
getCurrentActionCombos()
Returns combo objects representing the currently applied actions. |
ObservableLinkedList |
getCurrentFilterCombos()
Returns combo objects representing the currently applied filters. |
ObservableLinkedList |
getFilterPoints()
|
String |
getInfo()
Could be called by an action during the update call to get print generic information about the event that just occurred format (as currently used by logger): PID 123 did action ACTION on Host HOST |
void |
load(Element node)
To load a stored property one does this: String someString = node.getAttributeValue("someString"); To load @link frysk.gui.monitor.SaveableXXX one gets the appropriet node and tells that object to load itself from that node. |
void |
save(Element node)
Save object to the given node Saving Conventions: If this object has a property such as a String, char, int, etc, that is saved by using node.setAttribute("someProperty", someProperty); If this object contains composing @link frysk.gui.monitor.SaveableXXX then a node is created for that and that object is told to save itself to that node. |
void |
setReturnAction(Action action)
Used to set which action is taken by the observer with respect to resuming execution of the observed thread after all the actions are executed. |
Methods inherited from class frysk.gui.monitor.GuiObject |
---|
dontSaveObject, doSaveObject, getName, getSummary, getToolTip, setName, setSummay, setToolTip, shouldSaveObject, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface frysk.gui.monitor.SaveableXXX |
---|
dontSaveObject, doSaveObject, shouldSaveObject |
Field Detail |
---|
public GenericActionPoint genericActionPoint
Method Detail |
---|
public void addFailed(Object o, Throwable w)
Observer
addFailed
in interface Observer
public String getInfo()
public ObservableLinkedList getFilterPoints()
public ObservableLinkedList getActionPoints()
public String getBaseName()
public void save(Element node)
SaveableXXX
save
in interface SaveableXXX
save
in class GuiObject
public void load(Element node)
SaveableXXX
load
in interface SaveableXXX
load
in class GuiObject
public ObservableLinkedList getCurrentFilterCombos()
Combo.
public ObservableLinkedList getCurrentActionCombos()
Combo.
public void setReturnAction(Action action)
public Action getCurrentAction()
public void addedTo(Object observable)
Observer
addedTo
in interface Observer
public void deletedFrom(Object observable)
Observer
deletedFrom
in interface Observer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |