class Command

(abstract) undo-able command class.

Inheritance:


Public Classes

enum TrackType

Public Methods

Command (Document *d, Viewer *v)
virtual ~Command ()
virtual void TrackMouse (TrackType, Point*, Point*, Point*)
Called while mouse button is pressed dragged and released.
virtual void Execute ()
Perform the command.
virtual void UnExecute ()
Undo the command.
virtual void ReExecute ()
Redo the command.
virtual void Abort ()
Abort the command.
bool CmdDone () const
command is executed.
virtual const char* GetName () const
int ScaleCorrect (int x) const
Point ScaleCorrect (const Point *pt) const
int Scale (int x) const
Point Scale (const Point *pt) const
void SayAborted ()

Protected Methods

void SayCommited ()
void SayUndone ()
DrawWindow* GetMainWindow () const
Viewer* GetViewer () const
Document* GetDocument () const
Grafport* GetGrafport () const
void SetCmdDone (bool b)

Documentation

(abstract) undo-able command class.
Command(Document *d, Viewer *v)

virtual ~Command()

enum TrackType

virtual void TrackMouse(TrackType, Point*, Point*, Point*)
Called while mouse button is pressed dragged and released.

virtual void Execute()
Perform the command.

virtual void UnExecute()
Undo the command.

virtual void ReExecute()
Redo the command.

virtual void Abort()
Abort the command.

bool CmdDone() const
command is executed.

virtual const char* GetName() const

int ScaleCorrect(int x) const

Point ScaleCorrect(const Point *pt) const

int Scale(int x) const

Point Scale(const Point *pt) const

void SayAborted()

void SayCommited()

void SayUndone()

DrawWindow* GetMainWindow() const

Viewer* GetViewer() const

Document* GetDocument() const

Grafport* GetGrafport() const

void SetCmdDone(bool b)


Direct child classes:
UpdateVectorAlignmentCmd
UpdateTypeCmd
UpdateTextUnderlineCmd
UpdateTextCmd
UpdateTextAlignmentCmd
UpdateReadDirectionCmd
UpdateLineWidthCmd
UpdateLineTableCmd
UpdateLineStyleCmd
UpdateLineEndCmd
UpdateFontCmd
UpdateCurveCmd
UpdateColorCmd
UpdateCellTextUnderlineCmd
UpdateCellTextFontCmd
UpdateCellTextCmd
SortRowsCmd
SortColumnsCmd
SizeShapeCmd
SelectCellAreaCmd
SelectAreaCmd
SelectAllCmd
SelectAllCellsCmd
SameSizeCmd
SSDUpdateClassBoxPropertyCmd
ReplaceTextCmd
ReplaceCellTextCmd
ReindexCmd
PasteShapesCmd
PasteCellTextsCmd
MoveTableCmd
MoveShapesCmd
DragShapesCmd
DragShapeCmd
DragCmd
DeleteSubjectsCmd
DeleteShapesCmd
DeleteHandleCmd
DeleteCellsCmd
CreateNodeCmd
CreateEdgeCmd
CopyShapesCmd
CopyCellTextsCmd
AppendTableCmd
AddRowsCmd
AddColumnsCmd

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de