|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.psnc.vlab.util.gui.action.factory.ActionFactory
public abstract class ActionFactory
ActionFactory
class - stores system actions. The action search
methods are also available.
Method Summary | |
---|---|
static AbstractActionDefault |
getAction(ActionType type)
Get action by the given action type |
static java.util.Observable |
getObservable(ActionType type)
Get observable interface from the given action |
static java.util.Observer |
getObserver(ActionType type)
Get observer interface from the given action |
static void |
putAction(ActionType type,
AbstractActionDefault action)
Store an action on the action list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AbstractActionDefault getAction(ActionType type)
type
- type of the action to retrieve
AbstractActionDefault
public static java.util.Observable getObservable(ActionType type)
type
- type of the action to retrieve
Observable
or NULL if not Observablepublic static java.util.Observer getObserver(ActionType type)
type
- type of the action to retrieve
Observer
or NULL if not Observerpublic static void putAction(ActionType type, AbstractActionDefault action)
type
- action type, instance of ActionType
action
- action object, instance of AbstractActionDefault
|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |