|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.co.badgersinfoil.jactionscript.ActionHandle
Constructor Summary | |
ActionHandle()
|
|
ActionHandle(Action op)
|
Method Summary | |
void |
accept(Visitor v)
|
void |
addTargeter(BranchAction targeter)
It's the responsibility of the BranchAction to keep the handles
it targets up to date by calling this method. |
void |
dispose()
Breaks references held by this objects to others to promote garbage-collection and to expose code incorrectly using stale handles. |
Action |
getAction()
|
ActionHandle |
getNext()
|
ActionHandle |
getPrev()
|
boolean |
hasTargeters()
Do any BranchAction objects reference this handle? |
void |
removeTargeter(BranchAction targeter)
Called by BranchAction to keep its targets up to date. |
void |
setAction(Action op)
|
void |
setNext(ActionHandle next)
|
void |
setPrev(ActionHandle prev)
|
java.util.Iterator |
targeters()
Return an iterator over any BranchAction objects targeting this handle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionHandle()
public ActionHandle(Action op)
Method Detail |
public void setAction(Action op)
public Action getAction()
public void setNext(ActionHandle next)
public ActionHandle getNext()
public void setPrev(ActionHandle prev)
public ActionHandle getPrev()
public boolean hasTargeters()
public java.util.Iterator targeters()
public void addTargeter(BranchAction targeter)
BranchAction
to keep the handles
it targets up to date by calling this method.
public void removeTargeter(BranchAction targeter)
BranchAction
to keep its targets up to date.
public void accept(Visitor v) throws JASVisitorException
JASVisitorException
public void dispose()
ActionList.remove(ActionHandle)
calls this method
on its argument as the final step of removal.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |