Class RemoveElementCommand
java.lang.Object
rs.edu.raf.dsw.rudok.app.gui.swing.command.AbstractCommand
rs.edu.raf.dsw.rudok.app.gui.swing.command.standard.RemoveElementCommand
public class RemoveElementCommand extends AbstractCommand
-
Constructor Summary
Constructors Constructor Description RemoveElementCommand(MindMap parent, Element... toRemove)
-
Method Summary
Modifier and Type Method Description void
doCommand()
Executes the encapsulated command.void
redoCommand()
Executes the encapsulated command from previously calculated results.void
undoCommand()
Reverses the encapsulated command.Methods inherited from class rs.edu.raf.dsw.rudok.app.gui.swing.command.AbstractCommand
isCommitted, setCommitted
-
Constructor Details
-
RemoveElementCommand
-
-
Method Details
-
doCommand
public void doCommand()Description copied from class:AbstractCommand
Executes the encapsulated command.- Specified by:
doCommand
in classAbstractCommand
-
redoCommand
public void redoCommand()Description copied from class:AbstractCommand
Executes the encapsulated command from previously calculated results.- Specified by:
redoCommand
in classAbstractCommand
-
undoCommand
public void undoCommand()Description copied from class:AbstractCommand
Reverses the encapsulated command.- Specified by:
undoCommand
in classAbstractCommand
-