omegalib  13.1
omegaToolkit::ui::WidgetFactory Class Referenceabstract

#include <WidgetFactory.h>

Public Member Functions

 WidgetFactory (Engine *server)
 
EnginegetEngine ()
 
virtual WidgetcreateWidget (const String &name, Container *container)
 
virtual ButtoncreateButton (const String &name, Container *container)=0
 
virtual SlidercreateSlider (const String &name, Container *container)=0
 
virtual ButtoncreateCheckButton (const String &name, Container *container)
 
virtual ImagecreateImage (const String &name, Container *container)
 
virtual LabelcreateLabel (const String &name, Container *container, const String &text="")
 
virtual TextBoxcreateTextBox (const String &name, Container *container)
 
virtual ContainercreateContainer (String name, Container *container, Container::Layout layout=Container::LayoutHorizontal)
 
void setFocusColor (const Color &c)
 Global styles. More...
 
const ColorgetFocusColor ()
 Gets the default color used to mark active widgets. More...
 
void setLabelColor (const Color &c)
 Sets the default label color. More...
 
const ColorgetLabelColor ()
 Gets the default label color. More...
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Additional Inherited Members

- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omegaToolkit::ui::WidgetFactory:

Constructor & Destructor Documentation

omegaToolkit::ui::WidgetFactory::WidgetFactory ( Engine server)
inline

Member Function Documentation

virtual Button* omegaToolkit::ui::WidgetFactory::createButton ( const String &  name,
Container container 
)
pure virtual
virtual Button* omegaToolkit::ui::WidgetFactory::createCheckButton ( const String &  name,
Container container 
)
inlinevirtual
virtual Container* omegaToolkit::ui::WidgetFactory::createContainer ( String  name,
Container container,
Container::Layout  layout = Container::LayoutHorizontal 
)
inlinevirtual
virtual Image* omegaToolkit::ui::WidgetFactory::createImage ( const String &  name,
Container container 
)
inlinevirtual
virtual Label* omegaToolkit::ui::WidgetFactory::createLabel ( const String &  name,
Container container,
const String &  text = "" 
)
inlinevirtual
virtual Slider* omegaToolkit::ui::WidgetFactory::createSlider ( const String &  name,
Container container 
)
pure virtual
virtual TextBox* omegaToolkit::ui::WidgetFactory::createTextBox ( const String &  name,
Container container 
)
inlinevirtual
virtual Widget* omegaToolkit::ui::WidgetFactory::createWidget ( const String &  name,
Container container 
)
inlinevirtual
Engine* omegaToolkit::ui::WidgetFactory::getEngine ( )
inline
const Color& omegaToolkit::ui::WidgetFactory::getFocusColor ( )
inline

Gets the default color used to mark active widgets.

const Color& omegaToolkit::ui::WidgetFactory::getLabelColor ( )
inline

Gets the default label color.

void omegaToolkit::ui::WidgetFactory::setFocusColor ( const Color c)
inline

Global styles.

Sets the default color used to mark active widgets

void omegaToolkit::ui::WidgetFactory::setLabelColor ( const Color c)
inline

Sets the default label color.


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