#include <gen.h>


Public Member Functions | |
| a2dColourProperty (const a2dPropertyIdColour *id, const wxColour &colour) | |
| a2dColourProperty (const a2dColourProperty &other) | |
| virtual a2dNamedProperty * | Clone (a2dObject::CloneOptions options) const |
| Virtual copy constructor. | |
| virtual void | Assign (const a2dNamedProperty &other) |
| Virtual assignment operator. | |
| void | SetValue (const wxColour &colour) |
| wxColour | GetValue () const |
| wxColour * | GetValuePtr () |
| wxColour & | GetValueRef () |
| void | SetColour (const wxColour &colour) |
| wxColour | GetColour () |
| wxColour & | GetColourRef () |
| virtual wxString | StringRepresentation () const |
| virtual wxString | StringValueRepresentation () const |
| 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 a2dColourProperty * | CreatePropertyFromString (const a2dPropertyIdColour *id, const wxString &value) |
| Construct a new property object from a string. | |
Protected Attributes | |
| wxColour | m_colour |
Definition at line 2471 of file gen.h.
| a2dColourProperty * a2dColourProperty::CreatePropertyFromString | ( | const a2dPropertyIdColour * | id, | |
| const wxString & | value | |||
| ) | [static] |
Construct a new property object from a string.
If this is not appropriate, this may return NULL. Accepted colours are:
| wxString a2dColourProperty::StringRepresentation | ( | ) | const [virtual] |
Convert the property to a string, used to serialize class. Override to define it for your properties.
Reimplemented from a2dNamedProperty.
| wxString a2dColourProperty::StringValueRepresentation | ( | ) | const [virtual] |
Convert the property value to a string, used to serialize class. Override to define it for your properties.
Reimplemented from a2dNamedProperty.