|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object camera3d.action.VcAction
Abstract superclass to all VirtualCamera actions.
Field Summary | |
static int |
MULTIPLE_OBJECT_ACTION
Constant for signaling that an action affects more than one object. |
static int |
SINGLE_OBJECT_ACTION
Constant for signaling that an action affects one single object. |
Constructor Summary | |
VcAction()
|
Method Summary | |
void |
debugln(java.lang.String s)
Prints a debug message. |
abstract void |
doAction(ActionExecutor executor)
Performs the action. |
int |
getMultiplicityType()
Returns a flag indicating whether this action is applied to a single object or to a collection of them. |
boolean |
isUndoable()
Returns a flag indicating whether the action can be undone. |
void |
setMultiplicityType(int i)
Sets multiplicity flag for this action. |
void |
undoAction(ActionExecutor executor)
Undoes the action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SINGLE_OBJECT_ACTION
public static final int MULTIPLE_OBJECT_ACTION
Constructor Detail |
public VcAction()
Method Detail |
public int getMultiplicityType()
public void setMultiplicityType(int i)
public abstract void doAction(ActionExecutor executor)
executor
- provides any resource necessary for the action execution, such
as references to other objects.public void undoAction(ActionExecutor executor)
executor
- provides any resource necessary for the action execution, such
as references to other objects.public boolean isUndoable()
public void debugln(java.lang.String s)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |