Crazy Eddie's GUI System
0.8.4
|
Class representing a property that links to another property defined on an attached child widget. More...
Public Types | |
typedef TypedProperty< T >::Helper | Helper |
typedef ConstVectorIterator < LinkTargetCollection > | LinkTargetIterator |
Public Member Functions | |
PropertyLinkDefinition (const String &propertyName, const String &widgetName, const String &targetProperty, const String &initialValue, const String &origin, bool redrawOnWrite, bool layoutOnWrite, const String &fireEvent, const String &eventNamespace) | |
void | addLinkTarget (const String &widget, const String &property) |
add a new link target to property on widget (name). | |
void | clearLinkTargets () |
clear all link targets from this link definition. | |
bool | isTargetProperty (const String &widget, const String &property) const |
void | initialisePropertyReceiver (PropertyReceiver *receiver) const |
function to allow initialisation of a PropertyReceiver. | |
Property * | clone () const |
LinkTargetIterator | getLinkTargetIterator () const |
Protected Types | |
typedef std::pair< String, String > | StringPair |
typedef std::vector < StringPair CEGUI_VECTOR_ALLOC(StringPair)> | LinkTargetCollection |
type used for the collection of targets. | |
Protected Member Functions | |
Helper::safe_method_return_type | getNative_impl (const PropertyReceiver *receiver) const |
void | setNative_impl (PropertyReceiver *receiver, typename Helper::pass_type value) |
void | updateLinkTargets (PropertyReceiver *receiver, typename Helper::pass_type 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. | |
void | writeDefinitionXMLAdditionalAttributes (XMLSerializer &xml_stream) const |
void | writeFalagardXMLAttributes (XMLSerializer &xml_stream) const |
const Window * | getTargetWindow (const PropertyReceiver *receiver, const String &name) const |
Return a pointer to the target window with the given name. | |
Window * | getTargetWindow (PropertyReceiver *receiver, const String &name) const |
Return a pointer to the target window with the given name. | |
Protected Attributes | |
LinkTargetCollection | d_targets |
collection of targets for this PropertyLinkDefinition. |
Class representing a property that links to another property defined on an attached child widget.
void CEGUI::PropertyLinkDefinition< T >::writeDefinitionXMLElementType | ( | XMLSerializer & | xml_stream | ) | const [inline, protected, virtual] |
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.
xml_stream | XMLSerializer where xml data should be output. |
Implements CEGUI::PropertyDefinitionBase.
References CEGUI::XMLSerializer::openTag(), and CEGUI::Falagard_xmlHandler::PropertyLinkDefinitionElement.