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. | |
bool | isDefault (const PropertyReceiver *receiver) const |
Returns whether the property is at it's default value. |
This property offers access to the current Font setting for the window.
String CEGUI::WindowProperties::Font::get | ( | const PropertyReceiver * | receiver | ) | const [virtual] |
Return the current value of the Property as a String.
receiver | Pointer to the target object. |
Implements CEGUI::Property.
References CEGUI::PropertySet::getProperty().
bool CEGUI::WindowProperties::Font::isDefault | ( | const PropertyReceiver * | receiver | ) | const [virtual] |
Returns whether the property is at it's default value.
receiver | Pointer to the target object. |
Reimplemented from CEGUI::Property.
void CEGUI::WindowProperties::Font::set | ( | PropertyReceiver * | receiver, | |
const String & | value | |||
) | [virtual] |
Sets the value of the property.
receiver | Pointer to the target object. | |
value | A String object that contains a textual representation of the new value to assign to the Property. |
InvalidRequestException | Thrown when the Property was unable to interpret the content of value. |
Implements CEGUI::Property.
References CEGUI::String::empty().