Package com.dlsc.flexgantt.command

Framework for creating and executing commands.

See:
          Description

Interface Summary
ICommand This interface needs to be implemented by any command that needs to be executed in the context of a Gantt chart.
ICommandStack A command stack interface that can be used by a Gantt chart to execute, undo, and redo commands.
ICommandStackListener Command stack listeners can be attached to command stacks and will be informed if a command gets executed, undone or redone.
IProgressMonitor The IProgressMonitor interface is implemented by objects that monitor the progress of an activity; the methods in this interface are invoked by code that performs the activity.
IProgressMonitorFactory A factory interface for creating progress monitor instances.
 

Class Summary
AbstractCommand An abstract superclass implementation to facilitate the creation of new commands.
CommandStackEvent A command stack event is fired by the command stack when commands are being executed, undone or redone.
CompoundCommand<T extends ICommand> A compound command can be used to group several commands together in order to execute them at the same time.
DefaultCommandStack The default command stack implementation manages a list of executed and undone commands.
NullProgressMonitor A default progress monitor implementation suitable for subclassing.
ProgressMonitorWrapper An abstract wrapper around a progress monitor which, unless overridden, forwards IProgressMonitor and IProgressMonitorWithBlocking methods to the wrapped progress monitor.
SubProgressMonitor A progress monitor that uses a given amount of work ticks from a parent monitor.
 

Enum Summary
CommandStackEvent.ID The command stack event ID allows command stack listeners to distinguish between different types of command stack events.
 

Package com.dlsc.flexgantt.command Description

Framework for creating and executing commands. Commands can be aggregated by adding them to a compound command and they can be executed by passing them to a command stack. The stack also provides undo and redo capabilities. Progress monitors are also part of this package. They allow for visual feedback during the command execution (percentage complete).