|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.gui.editorManager.AddComponentsCommand
public class AddComponentsCommand
Constructor Summary | |
---|---|
AddComponentsCommand(java.lang.String name,
java.util.LinkedList<? extends ModelComponent> comps,
MutableCompositeComponent<?> parent)
|
|
AddComponentsCommand(java.lang.String name,
java.util.LinkedList<ModelComponent> comps,
java.util.LinkedList<MutableCompositeComponent<?>> parents)
|
|
AddComponentsCommand(java.lang.String name,
ModelComponent comp,
MutableCompositeComponent<?> parent)
|
Method Summary | |
---|---|
void |
execute()
Executes this command. |
java.util.LinkedList<ModelComponent> |
getComponents()
Returns the components added by this command. |
java.lang.String |
getName()
Gets the name associated with this command. |
void |
undo()
Undoes the result of executing this command. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddComponentsCommand(java.lang.String name, java.util.LinkedList<ModelComponent> comps, java.util.LinkedList<MutableCompositeComponent<?>> parents)
public AddComponentsCommand(java.lang.String name, java.util.LinkedList<? extends ModelComponent> comps, MutableCompositeComponent<?> parent)
public AddComponentsCommand(java.lang.String name, ModelComponent comp, MutableCompositeComponent<?> parent)
Method Detail |
---|
public void execute()
Command
execute
in interface Command
public void undo()
Command
undo
in interface Command
public java.lang.String getName()
Command
getName
in interface Command
public java.util.LinkedList<ModelComponent> getComponents()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |