artisynth.core.gui.editorManager
Class TransformComponentsCommand
java.lang.Object
artisynth.core.gui.editorManager.TransformComponentsCommand
- All Implemented Interfaces:
- Command, java.lang.Cloneable, Clonable
public class TransformComponentsCommand
- extends java.lang.Object
- implements Command, Clonable
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformComponentsCommand
public TransformComponentsCommand(java.lang.String name,
java.util.LinkedList<ModelComponent> comps,
AffineTransform3dBase X,
int flags)
setTransform
public void setTransform(AffineTransform3dBase X)
execute
public void execute()
- Description copied from interface:
Command
- Executes this command.
- Specified by:
execute
in interface Command
undo
public void undo()
- Description copied from interface:
Command
- Undoes the result of executing this command.
- Specified by:
undo
in interface Command
getName
public java.lang.String getName()
- Description copied from interface:
Command
- Gets the name associated with this command. This name will be used in
creating entries in the undo menu.
- Specified by:
getName
in interface Command
- Returns:
- name associated with this command
clone
public TransformComponentsCommand clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface Clonable
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException