public class HexCompoundCommand extends CodeAreaCommand implements org.exbin.deltahex.operation.BinaryDataCompoundCommand
codeArea
Constructor and Description |
---|
HexCompoundCommand(org.exbin.deltahex.swing.CodeArea codeArea) |
Modifier and Type | Method and Description |
---|---|
void |
appendCommand(org.exbin.deltahex.operation.BinaryDataCommand command) |
void |
appendCommands(java.util.Collection<org.exbin.deltahex.operation.BinaryDataCommand> commands) |
static CodeAreaCommand |
buildCompoundCommand(org.exbin.deltahex.swing.CodeArea codeArea,
CodeAreaCommand... commands) |
boolean |
canUndo() |
void |
dispose() |
void |
execute() |
java.util.List<org.exbin.deltahex.operation.BinaryDataCommand> |
getCommands() |
CodeAreaCommandType |
getType()
Returns type of the command.
|
boolean |
isEmpty() |
void |
redo() |
void |
undo() |
getCaption
getExecutionTime, use
public HexCompoundCommand(org.exbin.deltahex.swing.CodeArea codeArea)
public static CodeAreaCommand buildCompoundCommand(org.exbin.deltahex.swing.CodeArea codeArea, CodeAreaCommand... commands)
public CodeAreaCommandType getType()
CodeAreaCommand
getType
in class CodeAreaCommand
public void execute() throws org.exbin.deltahex.operation.BinaryDataOperationException
execute
in interface org.exbin.deltahex.operation.BinaryDataCommand
execute
in class org.exbin.deltahex.operation.BinaryDataAbstractCommand
org.exbin.deltahex.operation.BinaryDataOperationException
public void redo() throws org.exbin.deltahex.operation.BinaryDataOperationException
redo
in interface org.exbin.deltahex.operation.BinaryDataCommand
org.exbin.deltahex.operation.BinaryDataOperationException
public void undo() throws org.exbin.deltahex.operation.BinaryDataOperationException
undo
in interface org.exbin.deltahex.operation.BinaryDataCommand
org.exbin.deltahex.operation.BinaryDataOperationException
public boolean canUndo()
canUndo
in interface org.exbin.deltahex.operation.BinaryDataCommand
public void appendCommand(org.exbin.deltahex.operation.BinaryDataCommand command)
appendCommand
in interface org.exbin.deltahex.operation.BinaryDataCompoundCommand
public void appendCommands(java.util.Collection<org.exbin.deltahex.operation.BinaryDataCommand> commands)
appendCommands
in interface org.exbin.deltahex.operation.BinaryDataCompoundCommand
public java.util.List<org.exbin.deltahex.operation.BinaryDataCommand> getCommands()
getCommands
in interface org.exbin.deltahex.operation.BinaryDataCompoundCommand
public boolean isEmpty()
isEmpty
in interface org.exbin.deltahex.operation.BinaryDataCompoundCommand
public void dispose() throws org.exbin.deltahex.operation.BinaryDataOperationException
dispose
in interface org.exbin.deltahex.operation.BinaryDataCommand
dispose
in class org.exbin.deltahex.operation.BinaryDataAbstractCommand
org.exbin.deltahex.operation.BinaryDataOperationException