|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.ip2.ItemHandler ix.ip2.SimpleCompletionHandler ix.ip2.CompletionHandler ix.iplan.IPlanCompletionHandler
public class IPlanCompletionHandler
Generates HandlerActions for an AgendItem.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ix.ip2.CompletionHandler |
---|
CompletionHandler.DoneAction, CompletionHandler.NoAction, CompletionHandler.NotApplicableAction, CompletionHandler.SimpleDoneAction |
Field Summary |
---|
Fields inherited from class ix.ip2.ItemHandler |
---|
actionDescription |
Constructor Summary | |
---|---|
IPlanCompletionHandler(IPlan iplan)
|
Method Summary | |
---|---|
void |
addHandlerActions(AgendaItem item)
Called to add any HandlerAction s that this
handler regards as appropriate for the specified AgendaItem. |
Methods inherited from class ix.ip2.ItemHandler |
---|
appliesTo, getActionDescription, getSyntaxList, handle, isAutomatic, makeHandler, reviseHandlerActions, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IPlanCompletionHandler(IPlan iplan)
Method Detail |
---|
public void addHandlerActions(AgendaItem item)
ItemHandler
HandlerAction
s that this
handler regards as appropriate for the specified AgendaItem.
This method is called only if both this handler's
ItemHandler.appliesTo(AgendaItem)
and the specified item's
AgendaItem.wantsActionsFrom(ItemHandler)
methods
return true.
The method provided by the ItemHandler class just adds
an action that calls this handler's ItemHandler.handle(AgendaItem)
method. This allows suitably simple handlers to avoid
working directly with HandlerActions.
Note that actions are added by calling an item's
AgendaItem.addAction(HandlerAction)
method.
addHandlerActions
in class CompletionHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |