|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfrysk.gui.monitor.ActionPool
public class ActionPool
Singleton; only one action pool. Flyweight; instanciate Action objects here, then just call execute() from anywhere in the GUI. ActionPool Provies a place for extendors to add their actions. Provies a place for menus to grab their dynamically extendable contents. Avoids rewriting of code, and copying of objects (Ex, a MenuItem, ToolBar button, maybe even CLI, all call execute on the same Action object)
| Field Summary | |
|---|---|
ObservableLinkedList |
processActions
Actions that can be perfomred on a process should be appened here |
ObservableLinkedList |
processObservers
Observers that can be added to a process |
static ActionPool |
theActionPool
|
ObservableLinkedList |
threadActions
Actions that can be perfomred on a thread should be appened here |
ObservableLinkedList |
threadObservers
Observers that can be added to a thread |
| Constructor Summary | |
|---|---|
ActionPool()
} |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static ActionPool theActionPool
public ObservableLinkedList processActions
public ObservableLinkedList threadActions
public ObservableLinkedList processObservers
public ObservableLinkedList threadObservers
| Constructor Detail |
|---|
public ActionPool()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||