|
Dillo v3.2.0-93-g6a586845
|
Decorates instances of dw::core::ui::RadioButtonResource. More...
Public Member Functions | |
| RadioButtonResourceDecorator (const char *name, dw::core::ui::RadioButtonResource *resource, const char **values) | |
| ~RadioButtonResourceDecorator () | |
| const char * | getValue () |
Public Member Functions inherited from form::Form::ResourceDecorator | |
| const char * | getName () |
Public Member Functions inherited from lout::object::Object | |
| virtual | ~Object () |
| The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. | |
| virtual bool | equals (Object *other) |
| Returns, whether two objects are equal. | |
| virtual int | hashValue () |
| Return a hash value for the object. | |
| virtual Object * | clone () |
| Return an exact copy of the object. | |
| virtual void | intoStringBuffer (misc::StringBuffer *sb) |
| Store a textual representation of the object in a misc::StringBuffer. | |
| char * | toString () |
| Use object::Object::intoStringBuffer to return a textual representation of the object. | |
| virtual size_t | sizeOf () |
| Return the number of bytes, this object totally uses. | |
Private Attributes | |
| dw::core::ui::RadioButtonResource * | resource |
| const char ** | values |
Additional Inherited Members | |
Protected Member Functions inherited from form::Form::ResourceDecorator | |
| ResourceDecorator (const char *name) | |
| ~ResourceDecorator () | |
Decorates instances of dw::core::ui::RadioButtonResource.
This class has to be instantiated only once for a group of radio buttons.
| form::Form::RadioButtonResourceDecorator::RadioButtonResourceDecorator | ( | const char * | name, |
| dw::core::ui::RadioButtonResource * | resource, | ||
| const char ** | values | ||
| ) |
| form::Form::RadioButtonResourceDecorator::~RadioButtonResourceDecorator | ( | ) |
|
virtual |
Implements form::Form::ResourceDecorator.
Definition at line 73 of file form.cc.
References dw::core::ui::RadioButtonResource::GroupIterator::getNext(), dw::core::ui::RadioButtonResource::GroupIterator::hasNext(), dw::core::ui::ToggleButtonResource::isActivated(), and dw::core::ui::RadioButtonResource::GroupIterator::unref().
|
private |
Definition at line 64 of file form.hh.
Referenced by RadioButtonResourceDecorator().
|
private |
Definition at line 65 of file form.hh.
Referenced by RadioButtonResourceDecorator().