GUI::FormFactory Class Reference

Class for create new instance of Form widget. More...

#include <FormFactory.h>

Inheritance diagram for GUI::FormFactory:

GUI::FactoryBase List of all members.

Public Member Functions

virtual WidgetBasecreate (ModelBase *model_ptr)
 Create a new instance of form widget, the form widget is a top level widget.
virtual WidgetBasecreate (ModelBase *model_ptr, WidgetContainer *container_ptr)
 Create a new instance of form widget, child of the WidgetContainer.

Detailed Description

Class for create new instance of Form widget.

See also:
GUI::Form

GUI::FormController

GUI::FormModel


Member Function Documentation

WidgetBase * GUI::FormFactory::create ( ModelBase model_ptr,
WidgetContainer container_ptr 
) [virtual]

Create a new instance of form widget, child of the WidgetContainer.

Call this member throw always an exception, a form widget is a top level widget

Parameters:
model_ptr pointer to the object model, can not be NULL
container_ptr pointer to the WidgetContainer, can not be NULL
Returns:
a new instance of the widget

Implements GUI::FactoryBase.

WidgetBase * GUI::FormFactory::create ( ModelBase model_ptr  )  [virtual]

Create a new instance of form widget, the form widget is a top level widget.

This method create a form wiget and the relative controller for events handling, than register the controller in the EventsDispatcher object.

Parameters:
model_ptr pointer to the object model, can not be NULL
Returns:
a new instance of the form

Implements GUI::FactoryBase.


The documentation for this class was generated from the following files:
Generated on Wed Nov 15 22:21:10 2006 for Win32 by  doxygen 1.4.7