#include <CEGUIPropertySet.h>
Inheritance diagram for CEGUI::PropertySet:
Public Types | |
typedef ConstBaseIterator< PropertyRegistry > | PropertyIterator |
Public Member Functions | |
PropertySet (void) | |
Constructs a new PropertySet object. | |
virtual | ~PropertySet (void) |
Destructor for PropertySet objects. | |
void | addProperty (Property *property) |
Adds a new Property to the PropertySet. | |
void | removeProperty (const String &name) |
Removes a Property from the PropertySet. | |
void | clearProperties (void) |
Removes all Property objects from the PropertySet. | |
bool | isPropertyPresent (const String &name) const |
Checks to see if a Property with the given name is in the PropertySet. | |
const String & | getPropertyHelp (const String &name) const |
Return the help text for the specified Property. | |
String | getProperty (const String &name) const |
Gets the current value of the specified Property. | |
void | setProperty (const String &name, const String &value) |
Sets the current value of a Property. | |
bool | isPropertyDefault (const String &name) const |
Returns whether a Property is at it's default value. | |
String | getPropertyDefault (const String &name) const |
Returns the default value of a Property as a String. | |
PropertyIterator | getIterator (void) const |
Return a PropertySet::PropertyIterator object to iterate over the available Properties. |
Definition at line 48 of file CEGUIPropertySet.h.
|
Definition at line 201 of file CEGUIPropertySet.h. |
|
Constructs a new PropertySet object.
Definition at line 55 of file CEGUIPropertySet.h. |
|
Destructor for PropertySet objects.
Definition at line 62 of file CEGUIPropertySet.h. |
|
Adds a new Property to the PropertySet.
Definition at line 37 of file CEGUIPropertySet.cpp. References CEGUI::Property::getName(). Referenced by CEGUI::Window::addStandardProperties(), CEGUI::TabControl::addTabControlProperties(), and CEGUI::WidgetLookFeel::initialiseWidget(). |
|
Removes all Property objects from the PropertySet.
Definition at line 68 of file CEGUIPropertySet.cpp. |
|
Return a PropertySet::PropertyIterator object to iterate over the available Properties.
Definition at line 131 of file CEGUIPropertySet.cpp. Referenced by CEGUI::Window::writePropertiesXML(). |
|
Gets the current value of the specified Property.
Definition at line 99 of file CEGUIPropertySet.cpp. Referenced by CEGUI::FrameComponent::doBackgroundRender(), CEGUI::ComponentArea::getPixelRect(), CEGUI::PropertyDim::getValue_impl(), CEGUI::SectionSpecification::initColourRectForOverride(), CEGUI::FalagardComponentBase::initColoursRect(), CEGUI::ImagerySection::initMasterColourRect(), CEGUI::TextComponent::render_impl(), and CEGUI::ImageryComponent::render_impl(). |
|
Returns the default value of a Property as a String.
Definition at line 156 of file CEGUIPropertySet.cpp. |
|
Return the help text for the specified Property.
Definition at line 84 of file CEGUIPropertySet.cpp. |
|
Returns whether a Property is at it's default value.
Definition at line 140 of file CEGUIPropertySet.cpp. |
|
Checks to see if a Property with the given name is in the PropertySet.
Definition at line 76 of file CEGUIPropertySet.cpp. |
|
Removes a Property from the PropertySet.
Definition at line 55 of file CEGUIPropertySet.cpp. |
|
Sets the current value of a Property.
Definition at line 114 of file CEGUIPropertySet.cpp. Referenced by CEGUI::PropertyInitialiser::apply(), CEGUI::GUILayout_xmlHandler::elementStart(), and CEGUI::WidgetLookFeel::initialiseWidget(). |