|
| PropertyDefinition (const String &name, const String &initialValue, const String &help, const String &origin, bool redrawOnWrite, bool layoutOnWrite, const String &fireEvent, const String &eventNamespace) |
|
void | initialisePropertyReceiver (PropertyReceiver *receiver) const |
| function to allow initialisation of a PropertyReceiver.
|
|
Property * | clone () const |
|
| FalagardPropertyBase (const String &name, const String &help, const String &initialValue, const String &origin, bool redrawOnWrite, bool layoutOnWrite, const String &fireEvent, const String &eventNamespace) |
|
| PropertyDefinitionBase (const String &name, const String &help, const String &initialValue, bool redrawOnWrite, bool layoutOnWrite, const String &fireEvent, const String &eventNamespace) |
|
const String & | getPropertyName () const |
|
void | setPropertyName (const String &name) |
|
const String & | getInitialValue () const |
|
void | setInitialValue (const String &value) |
|
const String & | getHelpString () const |
|
void | setHelpString (const String &help) |
|
bool | isRedrawOnWrite () const |
|
void | setRedrawOnWrite (bool value) |
|
bool | isLayoutOnWrite () const |
|
void | setLayoutOnWrite (bool value) |
|
const String & | getEventFiredOnWrite () const |
|
void | setEventFiredOnWrite (const String &eventName) |
|
const String & | getEventNamespace () const |
|
void | setEventNamespace (const String &eventNamespace) |
|
virtual void | writeDefinitionXMLToStream (XMLSerializer &xml_stream) const |
| Writes an xml representation of the PropertyDefinitionBase based object to out_stream. More...
|
|
| TypedProperty (const String &name, const String &help, const String &origin="Unknown", typename Helper::pass_type defaultValue=T(), bool writesXML=true) |
|
virtual String | get (const PropertyReceiver *receiver) const |
| Return the current value of the Property as a String. More...
|
|
virtual void | set (PropertyReceiver *receiver, const String &value) |
| Sets the value of the property. More...
|
|
virtual void | setNative (PropertyReceiver *receiver, typename Helper::pass_type value) |
| native set method, sets the property given a native type More...
|
|
virtual Helper::safe_method_return_type | getNative (const PropertyReceiver *receiver) const |
| native get method, returns the native type by copy More...
|
|
| Property (const String &name, const String &help, const String &defaultValue="", bool writesXML=true, const String &dataType="Unknown", const String &origin="Unknown") |
| Creates a new Property object. More...
|
|
virtual | ~Property (void) |
| Destructor for Property objects.
|
|
const String & | getHelp (void) const |
| Return a String that describes the purpose and usage of this Property. More...
|
|
const String & | getName (void) const |
| Return a the name of this Property. More...
|
|
const String & | getDataType (void) const |
| Return string data type of this Property. More...
|
|
const String & | getOrigin (void) const |
| Return string origin of this Property. More...
|
|
virtual bool | isDefault (const PropertyReceiver *receiver) const |
| Returns whether the property is at it's default value. More...
|
|
virtual String | getDefault (const PropertyReceiver *receiver) const |
| Returns the default value of the Property as a String. More...
|
|
virtual void | writeXMLToStream (const PropertyReceiver *receiver, XMLSerializer &xml_stream) const |
| Writes out an XML representation of this class to the given stream. More...
|
|
virtual bool | isReadable () const |
| Returns whether the property is readable. More...
|
|
virtual bool | isWritable () const |
| Returns whether the property is writable. More...
|
|
virtual bool | doesWriteXML () const |
| Returns whether the property writes to XML streams.
|
|
|
Helper::safe_method_return_type | getNative_impl (const PropertyReceiver *receiver) const |
|
void | setNative_impl (PropertyReceiver *receiver, typename Helper::pass_type value) |
|
void | setWindowUserString (Window *window, const String &value) const |
|
void | writeDefinitionXMLElementType (XMLSerializer &xml_stream) const |
| Write out the text of the XML element type. Note that you should not write the opening '<' character, nor any other information such as attributes in this function. More...
|
|
void | writeDefinitionXMLAdditionalAttributes (XMLSerializer &xml_stream) const |
|
virtual void | writeDefinitionXMLAttributes (XMLSerializer &xml_stream) const |
| Write out any xml attributes added in a sub-class. Note that you should not write the closing '/>' character sequence, nor any other information in this function. You should always call the base class implementation of this function when overriding. More...
|
|