see a2dCommandEvent
More...
#include <doccom.h>
|
| | a2dCommandEvent (wxEventType type, a2dDocument *doc) |
| | constructor More...
|
| |
| | a2dCommandEvent (wxEventType type, a2dCommand *cmd, a2dDocument *doc=NULL) |
| | constructor More...
|
| |
| | a2dCommandEvent (a2dCommand *cmd, const wxString &undoLabel, bool canUndo, const wxString &redoLabel, bool canRedo, a2dDocument *doc=NULL) |
| | constructor More...
|
| |
| | a2dCommandEvent (const wxString &record) |
| | constructor More...
|
| |
|
| a2dCommandEvent (const a2dCommandEvent &event) |
| | constructor
|
| |
|
virtual wxEvent * | Clone (bool deep=true) const |
| | clone the event.
|
| |
|
a2dDocument * | GetDocument () |
| | the document created/removed or on which the command was applied.
|
| |
|
a2dCommand * | GetCommand () |
| | the command ( if there was one ) that did it.
|
| |
|
wxString & | GetRecord () |
| |
Public Member Functions inherited from a2dCommandProcessorEvent |
| | a2dCommandProcessorEvent (wxEventType type, a2dCommand *cmd) |
| | constructor More...
|
| |
| | a2dCommandProcessorEvent (a2dCommand *cmd, const wxString &undoLabel, bool canUndo, const wxString &redoLabel, bool canRedo) |
| | constructor More...
|
| |
|
| a2dCommandProcessorEvent (const a2dCommandProcessorEvent &event) |
| | constructor
|
| |
|
virtual wxEvent * | Clone () const |
| | clone the event.
|
| |
|
a2dCommand * | GetCommand () |
| | the command ( if there was one ) that did it.
|
| |
|
wxString & | GetUndoMenuLabel () |
| | by default this is a2dCommandProcessor::GetUndoMenuLabel()
|
| |
|
wxString & | GetRedoMenuLabel () |
| | by default this is a2dCommandProcessor::GetRedoMenuLabel()
|
| |
|
bool | CanUndo () |
| | by default this is a2dCommandProcessor::CanUndo()
|
| |
|
bool | CanRedo () |
| | by default this is a2dCommandProcessor::CanRedo()
|
| |
|
| a2dEvent (int id=0, wxEventType eventType=wxEVT_NULL) |
| |
|
void | SetIntTimeStamp () |
| |
see a2dCommandEvent
see a2dCommandEvent see a2dCommandEvent see a2dCommandEvent Event sent to/from a2dDocumentCommandProcessor
Use a2dObject::ConnectEvent to connect your own wxEvtHandler to the a2CommandProcessor to receive them.
Definition at line 79 of file doccom.h.
| 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 88 of file doccom.h.
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 104 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 115 of file doccom.h.
| a2dCommandEvent::a2dCommandEvent |
( |
const wxString & |
record | ) |
|
|
inline |
constructor
type ::wxEVT_RECORD
Definition at line 130 of file doccom.h.
The documentation for this class was generated from the following file:
a2dCommandEvent Class Reference -- Sun Oct 12 2014 17:04:33 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . --