a2dDynamicEventProperty Class Reference
[events in the wxDocview librarya2dPropObject holds property objects]

property used to add dynamic events to the a2dEvtHandler More...

#include <comevt.h>

Inheritance diagram for a2dDynamicEventProperty:

Inheritance graph
[legend]
Collaboration diagram for a2dDynamicEventProperty:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dDynamicEventProperty (const a2dPropertyIdDynamicEventProperty *propid, int evType, int id, int idLast, a2dObjectEventFunction fn)
 a2dDynamicEventProperty (const a2dDynamicEventProperty &other)
a2dNamedPropertyClone (a2dObject::CloneOptions options) const
 Virtual copy constructor.
virtual void Assign (const a2dNamedProperty &other)
 Virtual assignment operator.

Static Public Member Functions

static a2dDynamicEventPropertyCreatePropertyFromString (const a2dPropertyIdDynamicEventProperty *id, const wxString &value)

Public Attributes

int m_eventType
 type of the event.
int m_id
int m_lastId
 see m_id
a2dObjectEventFunction m_fn
 function to call.

Protected Member Functions

virtual void DoSave (wxObject *parent, a2dIOHandlerXmlSerOut &out, a2dXmlSer_flag xmlparts, a2dObjectList *towrite)
 Save settings.
virtual void DoLoad (wxObject *parent, a2dIOHandlerXmlSerIn &parser, a2dXmlSer_flag xmlparts)
 Load settings.


Detailed Description

property used to add dynamic events to the a2dEvtHandler

You can add properties of this type ( or derived ) to a2dPropObject. The wxEvtHandler will call the event function when the proper event is found.

Definition at line 312 of file comevt.h.


Member Function Documentation

static a2dDynamicEventProperty* a2dDynamicEventProperty::CreatePropertyFromString ( const a2dPropertyIdDynamicEventProperty id,
const wxString &  value 
) [inline, static]

Construct a new property object from a string If this is not appropriate, this may return NULL

Definition at line 332 of file comevt.h.


Member Data Documentation

the range of ids for this entry: if m_lastId == wxID_ANY, the range consists only of m_id, otherwise it is m_id..m_lastId inclusive

Reimplemented from a2dNamedProperty.

Definition at line 339 of file comevt.h.


The documentation for this class was generated from the following files:
a2dDynamicEventProperty Class Reference -- Tue Aug 31 18:26:00 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation