Package de.swa.fuh.qrefinement.command
Class DeleteRectangleCommand
java.lang.Object
de.swa.fuh.qrefinement.command.DeleteRectangleCommand
- All Implemented Interfaces:
UndoableCommand
public class DeleteRectangleCommand extends java.lang.Object implements UndoableCommand
This is a command class implementing command pattern. This command deletes an rectangular relevance mark in an image.
- Author:
- Nicolas Boch
-
Constructor Summary
Constructors Constructor Description DeleteRectangleCommand(java.io.File f, int index)
-
Method Summary
-
Constructor Details
-
DeleteRectangleCommand
public DeleteRectangleCommand(java.io.File f, int index)
-
-
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
-