|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface implemented by classes who wish to handle actions.
Method Summary | |
Action[] |
getActions(java.lang.Object target,
java.lang.Object sender)
Returns the list of actions applicable to this handler. |
void |
handleAction(Action action,
java.lang.Object sender,
java.lang.Object target)
Handles an action for the given target. |
Method Detail |
public Action[] getActions(java.lang.Object target, java.lang.Object sender)
target
- The target handler to list actions for. For item
containers this is the item id.sender
- The party that would be sending the actions.
Most of this is the action container.public void handleAction(Action action, java.lang.Object sender, java.lang.Object target)
action
- The action to be handledsender
- The sender of the action. This is most often the
action container.target
- The target of the action
. For item
containers this is the item id.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |