# Package com.dlsc.flexgantt.command

Framework for creating and executing commands.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  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
  Class | Description
  --- | ---
  AbstractCommand | An abstract superclass implementation to facilitate the creation of new commands.
  AbstractCompoundCommand<T extends ICommand> | A compound command can be used to group several commands together in order to execute them at the same time.
  CommandExecutionThread | A specialized thread class used by the `DefaultCommandStack` for executing commands.
  CommandStackEvent | A command stack event is fired by the command stack when commands are being executed, undone or redone.
  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
  Enum | Description
  --- | ---
  CommandStackEvent.ID | The command stack event ID allows command stack listeners to distinguish between different types of command stack events.

- Exception Summary
  Exception | Description
  --- | ---
  CommandException | A wrapper used for exceptions thrown inside commands.

## 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).

Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.