|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the base interface for all parts of the hsm hierarchy.
Method Summary | |
void |
action(Context context)
Performs the component's action in a specified context . |
Action |
getAction()
Returns the action associated with this component. |
String |
getName()
Returns the name of the component. |
Component |
getParent()
Returns the parent component. |
void |
setAction(Action action)
Assiociates an action with the component. |
void |
setName(String name)
Set's the name of the component. |
void |
setParent(Component parent)
Sets the parent component. |
Method Detail |
public void action(Context context)
context
.
This is the hook for the interpreter.
context
- Used to publish and retrieve data for/from other actions.public void setName(String name)
public String getName()
public Action getAction()
public void setAction(Action action)
action
- The action that should be executed by the component.public Component getParent()
public void setParent(Component parent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |