|
wxShapeFramework
1.13.0 beta
|
Class encapsulates wxEVT_SF_TEXT_CHANGE event. More...
#include <SFEvents.h>

Public Member Functions | |
| wxSFShapeTextEvent (wxEventType cmdType=wxEVT_NULL, int id=0) | |
| Constructor. | |
| wxSFShapeTextEvent (const wxSFShapeTextEvent &obj) | |
| Copy constructor. | |
| virtual | ~wxSFShapeTextEvent () |
| Destructor. | |
| void | SetShape (wxSFShapeBase *shape) |
| Insert a shape object to the event object. | |
| wxSFShapeBase * | GetShape () |
| Get a shape object from the event object. | |
| void | SetText (const wxString &txt) |
| Set new text shape. | |
| wxString | GetText () |
| Get a shape text. | |
| wxEvent * | Clone () const |
| Clone this event object and return pointer to the new instance. | |
Private Attributes | |
| wxSFShapeBase * | m_Shape |
| Pointer to stored shape object. | |
| wxString | m_Text |
| New shape text. | |
Class encapsulates wxEVT_SF_TEXT_CHANGE event.
| wxSFShapeTextEvent::wxSFShapeTextEvent | ( | wxEventType | cmdType = wxEVT_NULL, |
| int | id = 0 |
||
| ) |
Constructor.
| wxSFShapeTextEvent::wxSFShapeTextEvent | ( | const wxSFShapeTextEvent & | obj | ) |
Copy constructor.
| virtual wxSFShapeTextEvent::~wxSFShapeTextEvent | ( | ) | [virtual] |
Destructor.
| wxEvent* wxSFShapeTextEvent::Clone | ( | ) | const [inline] |
Clone this event object and return pointer to the new instance.
| wxSFShapeBase* wxSFShapeTextEvent::GetShape | ( | ) | [inline] |
Get a shape object from the event object.
| wxString wxSFShapeTextEvent::GetText | ( | ) | [inline] |
Get a shape text.
| void wxSFShapeTextEvent::SetShape | ( | wxSFShapeBase * | shape | ) | [inline] |
Insert a shape object to the event object.
| shape | Pointer to the shape object |
| void wxSFShapeTextEvent::SetText | ( | const wxString & | txt | ) | [inline] |
Set new text shape.
| txt | New text content. |
wxSFShapeBase* wxSFShapeTextEvent::m_Shape [private] |
Pointer to stored shape object.
wxString wxSFShapeTextEvent::m_Text [private] |
New shape text.