jimm.datavision.gui.cmd
Interface Command

All Superinterfaces:
Nameable
All Known Implementing Classes:
AbstractAggregateCommand, BoundsCommand, CommandAdapter, CompoundCommand, CutCommand, DbConnCommand, DeleteAggregateCommand, DeleteCommand, DeleteGroupCommand, DeleteSectionCommand, EditAggregateFuncCommand, FieldAlignCommand, FieldMoveCommand, FieldResizeCommand, FieldShowHideCommand, FieldStretchCommand, FormatCommand, FormulaEditCommand, FPCutCommand, FPDeleteCommand, GroupEditCommand, InsertFieldCommand, NameableRenameCommand, NewAggregateCommand, NewDraggedFieldCommand, NewGroupCommand, NewImageFieldCommand, NewSectionCommand, NewSubreportCommand, NewTextFieldCommand, PaperSizeCommand, ParamEditCommand, PasteCommand, ReportStartupScriptEditCommand, ScriptingCommand, SectionPageBreakCommand, SectionResizeCommand, SortEditCommand, SummaryCommand, SuppressionProcEditCommand, TableJoinCommand, TypingCommand, UserColumnEditCommand, WhereClauseEditCommand, WidgetRenameCommand

public interface Command
extends Nameable

A Command knows how to perform an action, undo it, and redo it. It has a name that can be used for menu items.

The concrete implementor CommandAdapter treats the name as immutable; the setName method does nothing.

Author:
Jim Menard, jimm@io.com

Method Summary
 void perform()
           
 void redo()
           
 void undo()
           
 
Methods inherited from interface jimm.datavision.Nameable
getName, setName
 

Method Detail

perform

void perform()

undo

void undo()

redo

void redo()