Package de.swa.fuh.qrefinement.command
Class AddRectangleCommand
java.lang.Object
de.swa.fuh.qrefinement.command.AddRectangleCommand
- All Implemented Interfaces:
UndoableCommand
public class AddRectangleCommand extends java.lang.Object implements UndoableCommand
This is a command class implementing command pattern. This command adds an rectangular relevance mark to an image
- Author:
- Nicolas Boch
-
Constructor Summary
Constructors Constructor Description AddRectangleCommand(java.io.File f, Rectangle r)
-
Method Summary
-
Constructor Details
-
Method Details
-
execute
public void execute()- Specified by:
execute
in interfaceUndoableCommand
-
undo
public void undo()- Specified by:
undo
in interfaceUndoableCommand
-
redo
public void redo()- Specified by:
redo
in interfaceUndoableCommand
-