Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
form::Form::RadioButtonResourceDecorator Class Reference

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 Objectclone ()
 Return an exact copy of the object.
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
const 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::RadioButtonResourceresource
 
const char ** values
 

Additional Inherited Members

- Protected Member Functions inherited from form::Form::ResourceDecorator
 ResourceDecorator (const char *name)
 
 ~ResourceDecorator ()
 

Detailed Description

Decorates instances of dw::core::ui::RadioButtonResource.

This class has to be instantiated only once for a group of radio buttons.

Definition at line 61 of file form.hh.

Constructor & Destructor Documentation

◆ RadioButtonResourceDecorator()

form::Form::RadioButtonResourceDecorator::RadioButtonResourceDecorator ( const char *  name,
dw::core::ui::RadioButtonResource resource,
const char **  values 
)

Definition at line 51 of file form.cc.

References dStrdup(), resource, and values.

◆ ~RadioButtonResourceDecorator()

form::Form::RadioButtonResourceDecorator::~RadioButtonResourceDecorator ( )

Definition at line 66 of file form.cc.

Member Function Documentation

◆ getValue()

Member Data Documentation

◆ resource

dw::core::ui::RadioButtonResource* form::Form::RadioButtonResourceDecorator::resource
private

Definition at line 64 of file form.hh.

Referenced by RadioButtonResourceDecorator().

◆ values

const char** form::Form::RadioButtonResourceDecorator::values
private

Definition at line 65 of file form.hh.

Referenced by RadioButtonResourceDecorator().


The documentation for this class was generated from the following files: