#include <gen.h>


Public Member Functions | |
| a2dTipWindowProperty (const a2dPropertyIdWindow *id, wxTipWindow *window, const wxString &tipstring, bool useObjRect=true) | |
| constructor | |
| a2dTipWindowProperty (const a2dPropertyIdWindow *id, wxTipWindow *window, const wxString &tipstring, const wxRect &rect) | |
| constructor | |
| a2dTipWindowProperty (const a2dTipWindowProperty *ori) | |
| a2dTipWindowProperty (const a2dTipWindowProperty &other) | |
| virtual a2dNamedProperty * | Clone (a2dObject::CloneOptions options) const |
| Virtual copy constructor. | |
| virtual void | Assign (const a2dNamedProperty &other) |
| Virtual assignment operator. | |
| void | SetString (const wxString &tipstring) |
| const wxString & | GetString (void) |
| when a2dStringProperty, return its value else assert | |
| const wxRect & | GetRect () const |
| get rect which keep tip visible | |
| bool | GetUseObjRect () const |
| is the tip based on a2dCanvasObject boundingbox | |
| 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. | |
Static Public Member Functions | |
| static a2dTipWindowProperty * | CreatePropertyFromString (const a2dPropertyIdWindow *id, const wxString &value) |
Protected Attributes | |
| wxString | m_tipstring |
| bool | m_useObjRect |
| wxRect | m_rectStay |
Value is stired as wxWindow*. GetValue() must be casted to wxTipWindow to get the tip window.
Definition at line 2289 of file gen.h.
| a2dTipWindowProperty::a2dTipWindowProperty | ( | const a2dPropertyIdWindow * | id, | |
| wxTipWindow * | window, | |||
| const wxString & | tipstring, | |||
| bool | useObjRect = true | |||
| ) |
constructor
| id | id of property e.g. a2dCanvasObject::PROPID_TipWindow | |
| window | tip window to show | |
| topstring | string to show in tip window | |
| useObjRect | if true, use the a2dCanvasObject its boundingbox to keep tip visible |
| a2dTipWindowProperty::a2dTipWindowProperty | ( | const a2dPropertyIdWindow * | id, | |
| wxTipWindow * | window, | |||
| const wxString & | tipstring, | |||
| const wxRect & | rect | |||
| ) |
constructor
| id | id of property e.g. a2dCanvasObject::PROPID_TipWindow | |
| window | tip window to show | |
| topstring | string to show in tip window | |
| rect | use rect to keep tip visible |
| a2dTipWindowProperty * a2dTipWindowProperty::CreatePropertyFromString | ( | const a2dPropertyIdWindow * | id, | |
| const wxString & | value | |||
| ) | [static] |
Construct a new property object from a string If this is not appropriate, this may return NULL
Reimplemented from a2dWindowProperty.