26 #define YUILogComponent "ui" 29 #include "YUISymbols.h" 30 #include "YRadioButton.h" 31 #include "YRadioButtonGroup.h" 42 YRadioButtonList buttonList;
52 YUI_CHECK_NEW( priv );
61 YRadioButtonListConstIterator
64 return priv->buttonList.begin();
68 YRadioButtonListConstIterator
71 return priv->buttonList.end();
78 return priv->buttonList.size();
85 priv->buttonList.push_back( button );
92 priv->buttonList.remove( button );
103 if ( *it != selectedRadioButton )
104 (*it)->setValue(
false );
116 if ( (*it)->value() )
135 propSet.
add(
YProperty( YUIProperty_Value, YOtherProperty ) );
136 propSet.
add(
YProperty( YUIProperty_CurrentButton, YOtherProperty ) );
149 if ( propertyName == YUIProperty_CurrentButton ||
150 propertyName == YUIProperty_Value )
return false;
165 if ( propertyName == YUIProperty_CurrentButton ||
166 propertyName == YUIProperty_Value )
return YPropertyValue( YOtherProperty );
bool isEmpty() const
Returns 'true' if this property set does not contain anything.
Transport class for the value of simple properties.
void add(const YProperty &prop)
Add a property to this property set.
A set of properties to check names and types against.
Class for widget properties.
void check(const std::string &propertyName) const
Check if a property 'propertyName' exists in this property set.
YPropertyType type() const
Returns the type of this property value.