Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | List of all members
Mezzanine::UI::TabSetFactory Class Reference

This is the factory implementation for TabSet widgets. More...

#include <tabset.h>

+ Inheritance diagram for Mezzanine::UI::TabSetFactory:
+ Collaboration diagram for Mezzanine::UI::TabSetFactory:

Public Member Functions

 TabSetFactory ()
 Class constructor.
 
virtual ~TabSetFactory ()
 Class destructor.
 
virtual TabSetCreateTabSet (const String &RendName, Screen *Parent)
 Creates a new TabSet. More...
 
virtual TabSetCreateTabSet (const String &RendName, const UnifiedRect &RendRect, Screen *Parent)
 Creates a new TabSet. More...
 
virtual TabSetCreateTabSet (const XML::Node &XMLNode, Screen *Parent)
 Creates a new TabSet. More...
 
virtual WidgetCreateWidget (Screen *Parent)
 Creates a Widget of the type represented by this factory. More...
 
virtual WidgetCreateWidget (const String &RendName, const NameValuePairMap &Params, Screen *Parent)
 Creates a Widget of the type represented by this factory. More...
 
virtual WidgetCreateWidget (const String &RendName, const UnifiedRect &RendRect, const NameValuePairMap &Params, Screen *Parent)
 Creates a Widget of the type represented by this factory. More...
 
virtual WidgetCreateWidget (const XML::Node &XMLNode, Screen *Parent)
 Creates a Widget from XML. More...
 
virtual void DestroyWidget (Widget *ToBeDestroyed)
 Destroys a Widget created by this factory. More...
 
virtual String GetWidgetTypeName () const
 Gets the name of the Widget that is created by this factory. More...
 
- Public Member Functions inherited from Mezzanine::UI::WidgetFactory
 WidgetFactory ()
 Class constructor.
 
virtual ~WidgetFactory ()
 Class destructor.
 

Detailed Description

This is the factory implementation for TabSet widgets.

Definition at line 184 of file tabset.h.

Member Function Documentation

TabSet * Mezzanine::UI::TabSetFactory::CreateTabSet ( const String RendName,
Screen Parent 
)
virtual

Creates a new TabSet.

Parameters
RendNameThe name to be given to the created TabSet.
ParentThe screen the created TabSet will belong to.
Returns
Returns a pointer to the created TabSet.

Definition at line 321 of file tabset.cpp.

TabSet * Mezzanine::UI::TabSetFactory::CreateTabSet ( const String RendName,
const UnifiedRect RendRect,
Screen Parent 
)
virtual

Creates a new TabSet.

Parameters
RendNameThe name to be given to the created TabSet.
RendRectThe dimensions that will be assigned to the created TabSet.
ParentThe screen the created TabSet will belong to.
Returns
Returns a pointer to the created TabSet.

Definition at line 328 of file tabset.cpp.

TabSet * Mezzanine::UI::TabSetFactory::CreateTabSet ( const XML::Node XMLNode,
Screen Parent 
)
virtual

Creates a new TabSet.

Parameters
XMLNodeThe node of the xml document to construct from.
ParentThe screen the created TabSet will belong to.
Returns
Returns a pointer to the created TabSet.

Definition at line 335 of file tabset.cpp.

Widget * Mezzanine::UI::TabSetFactory::CreateWidget ( Screen Parent)
virtual

Creates a Widget of the type represented by this factory.

Parameters
ParentThe screen the created Widget will belong to.
Returns
Returns a pointer to the created Widget.

Implements Mezzanine::UI::WidgetFactory.

Definition at line 342 of file tabset.cpp.

Widget * Mezzanine::UI::TabSetFactory::CreateWidget ( const String RendName,
const NameValuePairMap Params,
Screen Parent 
)
virtual

Creates a Widget of the type represented by this factory.

Parameters
RendNameThe name to be given to the created widget.
ParamsA NameValuePairMap containing the params to be applied during construction.
ParentThe screen the created Widget will belong to.
Returns
Returns a pointer to the created Widget.

Implements Mezzanine::UI::WidgetFactory.

Definition at line 349 of file tabset.cpp.

Widget * Mezzanine::UI::TabSetFactory::CreateWidget ( const String RendName,
const UnifiedRect RendRect,
const NameValuePairMap Params,
Screen Parent 
)
virtual

Creates a Widget of the type represented by this factory.

Parameters
RendNameThe name to be given to the created widget.
RendRectThe dimensions that will be assigned to the created Widget.
ParamsA NameValuePairMap containing the params to be applied during construction.
ParentThe screen the created Widget will belong to.
Returns
Returns a pointer to the created Widget.

Implements Mezzanine::UI::WidgetFactory.

Definition at line 352 of file tabset.cpp.

Widget * Mezzanine::UI::TabSetFactory::CreateWidget ( const XML::Node XMLNode,
Screen Parent 
)
virtual

Creates a Widget from XML.

Parameters
XMLNodeThe node of the xml document to construct from.
ParentThe screen the created Widget will belong to.
Returns
Returns a pointer to the Widget created.

Implements Mezzanine::UI::WidgetFactory.

Definition at line 355 of file tabset.cpp.

void Mezzanine::UI::TabSetFactory::DestroyWidget ( Widget ToBeDestroyed)
virtual

Destroys a Widget created by this factory.

Parameters
ToBeDestroyedA pointer to the Widget to be destroyed.

Implements Mezzanine::UI::WidgetFactory.

Definition at line 358 of file tabset.cpp.

String Mezzanine::UI::TabSetFactory::GetWidgetTypeName ( ) const
virtual

Gets the name of the Widget that is created by this factory.

Returns
Returns the typename of the Widget created by this factory.

Implements Mezzanine::UI::WidgetFactory.

Definition at line 318 of file tabset.cpp.


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