|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.williams.cs.ljil.finitizer.Actionable
public abstract class Actionable
Class implementing sub-actions for Issues and ResolutionActions
| Constructor Summary | |
|---|---|
Actionable()
|
|
| Method Summary | |
|---|---|
void |
addStateListener(ActionableStateListener l)
|
void |
addStateListenerRecursively(ActionableStateListener l)
|
protected void |
addSubAction(Actionable a)
add a subaction |
abstract void |
ensureApplied()
ensure this action is applied |
abstract void |
ensureUnapplied()
ensure this action is undone |
protected void |
fireStateChanged()
|
Actionable |
getParent()
get this node's parent |
Actionable |
getSubActionAt(int i)
Get a specific subaction |
int |
getSubActionCount()
Get number of subaction options |
java.util.Iterator |
getSubActions()
Get subaction options |
int |
indexOf(Actionable child)
Get index of a child |
abstract boolean |
isApplied()
should return true for issues and applied status for resolutionactions. |
boolean |
isLeaf()
Is this node a leaf |
boolean |
isResolved()
Check if this action is completed or issue resolved. |
void |
removeStateListener(ActionableStateListener l)
|
void |
setParent(Actionable p)
set this node's parent |
void |
unapplyAllSubActions()
unapply all subactions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Actionable()
| Method Detail |
|---|
public void setParent(Actionable p)
p - the issue or resolution action this is a part ofpublic abstract boolean isApplied()
public boolean isResolved()
public Actionable getParent()
public abstract void ensureApplied()
public abstract void ensureUnapplied()
public void unapplyAllSubActions()
protected void addSubAction(Actionable a)
public java.util.Iterator getSubActions()
public int getSubActionCount()
public Actionable getSubActionAt(int i)
public boolean isLeaf()
public int indexOf(Actionable child)
public void addStateListener(ActionableStateListener l)
public void addStateListenerRecursively(ActionableStateListener l)
public void removeStateListener(ActionableStateListener l)
protected void fireStateChanged()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||