Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
dw::core::ui::ResourceFactory Class Referenceabstract

A factory for the common resource. More...

#include <ui.hh>

Public Member Functions

virtual LabelButtonResourcecreateLabelButtonResource (const char *label)=0
 
virtual ComplexButtonResourcecreateComplexButtonResource (Widget *widget, bool relief)=0
 
virtual ListResourcecreateListResource (ListResource::SelectionMode selectionMode, int rows)=0
 
virtual OptionMenuResourcecreateOptionMenuResource ()=0
 
virtual EntryResourcecreateEntryResource (int size, bool password, const char *label, const char *placeholder)=0
 
virtual MultiLineTextResourcecreateMultiLineTextResource (int cols, int rows, const char *placeholder)=0
 
virtual CheckButtonResourcecreateCheckButtonResource (bool activated)=0
 
virtual RadioButtonResourcecreateRadioButtonResource (RadioButtonResource *groupedWith, bool activated)=0
 
- 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.
 

Detailed Description

A factory for the common resource.

Definition at line 580 of file ui.hh.

Member Function Documentation

◆ createCheckButtonResource()

virtual CheckButtonResource * dw::core::ui::ResourceFactory::createCheckButtonResource ( bool  activated)
pure virtual

◆ createComplexButtonResource()

virtual ComplexButtonResource * dw::core::ui::ResourceFactory::createComplexButtonResource ( Widget widget,
bool  relief 
)
pure virtual

◆ createEntryResource()

virtual EntryResource * dw::core::ui::ResourceFactory::createEntryResource ( int  size,
bool  password,
const char *  label,
const char *  placeholder 
)
pure virtual

◆ createLabelButtonResource()

virtual LabelButtonResource * dw::core::ui::ResourceFactory::createLabelButtonResource ( const char *  label)
pure virtual

◆ createListResource()

virtual ListResource * dw::core::ui::ResourceFactory::createListResource ( ListResource::SelectionMode  selectionMode,
int  rows 
)
pure virtual

◆ createMultiLineTextResource()

virtual MultiLineTextResource * dw::core::ui::ResourceFactory::createMultiLineTextResource ( int  cols,
int  rows,
const char *  placeholder 
)
pure virtual

◆ createOptionMenuResource()

virtual OptionMenuResource * dw::core::ui::ResourceFactory::createOptionMenuResource ( )
pure virtual

◆ createRadioButtonResource()

virtual RadioButtonResource * dw::core::ui::ResourceFactory::createRadioButtonResource ( RadioButtonResource groupedWith,
bool  activated 
)
pure virtual

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