Public Member Functions

CEGUI::WindowProperties::WindowRenderer Class Reference

Property to access/change the assigned window renderer object. More...

Inheritance diagram for CEGUI::WindowProperties::WindowRenderer:
Collaboration diagram for CEGUI::WindowProperties::WindowRenderer:

List of all members.

Public Member Functions

String get (const PropertyReceiver *receiver) const
 Return the current value of the Property as a String.
void set (PropertyReceiver *receiver, const String &value)
 Sets the value of the property.
void writeXMLToStream (const PropertyReceiver *receiver, XMLSerializer &xml_stream) const
 Writes out an XML representation of this class to the given stream.

Detailed Description

Property to access/change the assigned window renderer object.

Usage:
Where [windowRendererName] is the factory name of the window renderer type you wish to assign.

Member Function Documentation

String CEGUI::WindowProperties::WindowRenderer::get ( const PropertyReceiver receiver ) const [virtual]

Return the current value of the Property as a String.

Parameters:
receiverPointer to the target object.
Returns:
String object containing a textual representation of the current value of the Property

Implements CEGUI::Property.

void CEGUI::WindowProperties::WindowRenderer::set ( PropertyReceiver receiver,
const String value 
) [virtual]

Sets the value of the property.

Parameters:
receiverPointer to the target object.
valueA String object that contains a textual representation of the new value to assign to the Property.
Returns:
Nothing.
Exceptions:
InvalidRequestExceptionThrown when the Property was unable to interpret the content of value.

Implements CEGUI::Property.

void CEGUI::WindowProperties::WindowRenderer::writeXMLToStream ( const PropertyReceiver receiver,
XMLSerializer xml_stream 
) const [virtual]

Writes out an XML representation of this class to the given stream.

Note:
This would normally have been implemented via XMLGenerator base class, but in this case we require the target PropertyReceiver in order to obtain the property value.

Reimplemented from CEGUI::Property.