|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object camera3d.action.VcAction camera3d.action.VcObjectChangeAction camera3d.action.VcObjectRenameAction
Action that replaces a VcObject's name.
Field Summary |
Fields inherited from class camera3d.action.VcAction |
MULTIPLE_OBJECT_ACTION, SINGLE_OBJECT_ACTION |
Constructor Summary | |
VcObjectRenameAction(VcObject vcObj,
java.lang.String name)
Creates the action given VcObject whose name will be changed and a String containing the new name. |
Method Summary | |
void |
doAction(ActionExecutor executor)
Does the name change. |
java.lang.String |
getNewName()
Returns new name of the VcObject. |
java.lang.String |
getOldName()
Returns old name of the VcObject. |
VcObject |
getVcObject()
Returns VcObject affected by this action. |
void |
undoAction(ActionExecutor executor)
Undoes the name change. |
Methods inherited from class camera3d.action.VcAction |
debugln, getMultiplicityType, isUndoable, setMultiplicityType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VcObjectRenameAction(VcObject vcObj, java.lang.String name)
Method Detail |
public VcObject getVcObject()
public java.lang.String getNewName()
public java.lang.String getOldName()
public void doAction(ActionExecutor executor)
doAction
in class VcAction
executor
- provides any auxiliary resource for performing the action.public void undoAction(ActionExecutor executor)
undoAction
in class VcAction
executor
- provides any auxiliary resource for performing the action.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |