a2dCommandEvent Class Reference
[id of eventsObjects in docview frame work.Events used in docview frame work.]

see a2dCommandEvent More...

#include <doccom.h>

Inheritance diagram for a2dCommandEvent:

Inheritance graph
[legend]
Collaboration diagram for a2dCommandEvent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dCommandEvent (wxEventType type, a2dDocument *doc)
 constructor
 a2dCommandEvent (wxEventType type, a2dCommand *cmd, a2dDocument *doc=NULL)
 constructor
 a2dCommandEvent (a2dCommand *cmd, const wxString &undoLabel, bool canUndo, const wxString &redoLabel, bool canRedo, a2dDocument *doc=NULL)
 constructor
 a2dCommandEvent (const wxString &record)
 constructor
 a2dCommandEvent (const a2dCommandEvent &event)
 constructor
virtual wxEvent * Clone (bool deep=true) const
 clone the event.
a2dDocumentGetDocument ()
 the document created/removed or on which the command was applied.
a2dCommandGetCommand ()
 the command ( if there was one ) that did it.
wxString & GetRecord ()


Detailed Description

see a2dCommandEvent

see a2dCommandEvent see a2dCommandEvent see a2dCommandEvent see a2dCommandEvent Event sent to/from a2dDocumentCommandProcessor or a2dEventDistributer

Definition at line 77 of file doccom.h.


Constructor & Destructor Documentation

a2dCommandEvent::a2dCommandEvent ( wxEventType  type,
a2dDocument doc 
) [inline]

constructor

type should be wxEVT_ADD_DOCUMENT or wxEVT_REMOVE_DOCUMENT or wxEVT_CHANGED_DOCUMENT

Definition at line 86 of file doccom.h.

a2dCommandEvent::a2dCommandEvent ( wxEventType  type,
a2dCommand cmd,
a2dDocument doc = NULL 
) [inline]

constructor

type should be wxEVT_MENUSTRINGS wxEVT_DO wxEVT_UNDO

For wxEVT_MENUSTRINGS, you can use the following function, to get the info to set the menu string. wxCommandProcessor::GetUndoMenuLabel() wxCommandProcessor::GetRedoMenuLabel() wxCommandProcessor::CanUndo() wxCommandProcessor::CanRedo()

Definition at line 102 of file doccom.h.

a2dCommandEvent::a2dCommandEvent ( a2dCommand cmd,
const wxString &  undoLabel,
bool  canUndo,
const wxString &  redoLabel,
bool  canRedo,
a2dDocument doc = NULL 
) [inline]

constructor

type wxEVT_MENUSTRINGS

Definition at line 113 of file doccom.h.

a2dCommandEvent::a2dCommandEvent ( const wxString &  record  )  [inline]

constructor

type wxEVT_RECORD

Definition at line 128 of file doccom.h.


The documentation for this class was generated from the following file:
a2dCommandEvent Class Reference -- Tue Aug 31 18:20:45 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation