|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.freehep.util.io.ActionSet
public class ActionSet
Class to keep registered Actions, which should be used by the TaggedIn/OutputStream. A set of recognized Actions can be added to this class. A concrete implementation of this stream should install all allowed actions.
| Field Summary | |
|---|---|
protected Map |
actions
This holds the individual actions. |
protected Action |
defaultAction
|
| Constructor Summary | |
|---|---|
ActionSet()
Creates an set for actions |
|
| Method Summary | |
|---|---|
void |
addAction(Action action)
Adds an action to the set |
boolean |
exists(int actionCode)
Looks if an Action for code is in this set. |
Action |
get(int actionCode)
Looks up the corresponding action for an action code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map actions
protected Action defaultAction
| Constructor Detail |
|---|
public ActionSet()
| Method Detail |
|---|
public void addAction(Action action)
action - to be addedpublic Action get(int actionCode)
actionCode - code to be looked for
public boolean exists(int actionCode)
actionCode - code to be looked for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||