public interface BinaryDataCommand
Modifier and Type | Method and Description |
---|---|
boolean |
canUndo()
Returns true if command support undo operation.
|
void |
dispose()
Disposes command.
|
void |
execute()
Performs operation on given document.
|
java.lang.String |
getCaption()
Returns caption as text.
|
java.util.Date |
getExecutionTime()
Returns time of command execution.
|
void |
redo()
Performs redo on given document.
|
void |
undo()
Performs undo operation on given document.
|
void |
use()
Performs update of command use information.
|
java.lang.String getCaption()
void execute() throws BinaryDataOperationException
BinaryDataOperationException
- for operation handling issuesvoid use()
void redo() throws BinaryDataOperationException
BinaryDataOperationException
- for operation handling issuesvoid undo() throws BinaryDataOperationException
BinaryDataOperationException
- for operation handling issuesboolean canUndo()
void dispose() throws BinaryDataOperationException
BinaryDataOperationException
- for operation handling issuesjava.util.Date getExecutionTime()