Dillo
Public Member Functions | List of all members
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. More...
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal. More...
 
virtual int hashValue ()
 Return a hash value for the object. More...
 
virtual Objectclone ()
 Return an exact copy of the object. More...
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 

Detailed Description

A factory for the common resource.

Member Function Documentation

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

Implemented in dw::fltk::FltkPlatform::FltkResourceFactory.

Referenced by main().

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

Implemented in dw::fltk::FltkPlatform::FltkResourceFactory.

Referenced by main().

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

Implemented in dw::fltk::FltkPlatform::FltkResourceFactory.

Referenced by main().

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

Implemented in dw::fltk::FltkPlatform::FltkResourceFactory.

Referenced by main().

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

Implemented in dw::fltk::FltkPlatform::FltkResourceFactory.

Referenced by main().

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

Implemented in dw::fltk::FltkPlatform::FltkResourceFactory.

Referenced by main().

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

Implemented in dw::fltk::FltkPlatform::FltkResourceFactory.

Referenced by main().

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

Implemented in dw::fltk::FltkPlatform::FltkResourceFactory.

Referenced by main().


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