Package org.exbin.bined.operation
Interface BinaryDataCompoundCommand
-
- All Superinterfaces:
BinaryDataCommand
@ParametersAreNonnullByDefault public interface BinaryDataCompoundCommand extends BinaryDataCommand
Interface for compound command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendCommand(BinaryDataCommand command)
Appends command to the list of commands.void
appendCommands(java.util.Collection<BinaryDataCommand> commands)
Appends list of commands to the list of commands.java.util.List<BinaryDataCommand>
getCommands()
Returns list of commands.boolean
isEmpty()
Returns true if compound command is empty.-
Methods inherited from interface org.exbin.bined.operation.BinaryDataCommand
canUndo, dispose, execute, getCaption, getExecutionTime, redo, undo, use
-
-
-
-
Method Detail
-
appendCommand
void appendCommand(BinaryDataCommand command)
Appends command to the list of commands.- Parameters:
command
- appended command
-
appendCommands
void appendCommands(java.util.Collection<BinaryDataCommand> commands)
Appends list of commands to the list of commands.- Parameters:
commands
- appended commands
-
getCommands
@Nonnull java.util.List<BinaryDataCommand> getCommands()
Returns list of commands.- Returns:
- list of commands
-
isEmpty
boolean isEmpty()
Returns true if compound command is empty.- Returns:
- true if command is empty
-
-