26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YRadioButton.h"
31 #include "YRadioButtonGroup.h"
40 YRadioButtonList buttonList;
50 YUI_CHECK_NEW( priv );
59 YRadioButtonListConstIterator
62 return priv->buttonList.begin();
66 YRadioButtonListConstIterator
69 return priv->buttonList.end();
76 return priv->buttonList.size();
83 priv->buttonList.push_back( button );
90 priv->buttonList.remove( button );
101 if ( *it != selectedRadioButton )
102 (*it)->setValue(
false );
114 if ( (*it)->value() )
133 propSet.
add(
YProperty( YUIProperty_Value, YOtherProperty ) );
134 propSet.
add(
YProperty( YUIProperty_CurrentButton, YOtherProperty ) );
147 if ( propertyName == YUIProperty_CurrentButton ||
148 propertyName == YUIProperty_Value )
return false;
163 if ( propertyName == YUIProperty_CurrentButton ||
164 propertyName == YUIProperty_Value )
return YPropertyValue( YOtherProperty );
Transport class for the value of simple properties.
void check(const std::string &propertyName) const
Check if a property 'propertyName' exists in this property set.
void add(const YProperty &prop)
Add a property to this property set.
A set of properties to check names and types against.
bool isEmpty() const
Returns 'true' if this property set does not contain anything.
Class for widget properties.
YPropertyType type() const
Returns the type of this property value.