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

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

#include <radiobutton.h>

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

Public Member Functions

 RadioButtonFactory ()
 Class constructor.
 
virtual ~RadioButtonFactory ()
 Class destructor.
 
virtual RadioButtonCreateRadioButton (const String &RendName, Screen *Parent)
 Creates a new RadioButton. More...
 
virtual RadioButtonCreateRadioButton (const String &RendName, const UnifiedRect &RendRect, Screen *Parent)
 Creates a new RadioButton. More...
 
virtual RadioButtonCreateRadioButton (const XML::Node &XMLNode, Screen *Parent)
 Creates a new RadioButton. 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 RadioButton widgets.

Definition at line 221 of file radiobutton.h.

Member Function Documentation

RadioButton * Mezzanine::UI::RadioButtonFactory::CreateRadioButton ( const String RendName,
Screen Parent 
)
virtual

Creates a new RadioButton.

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

Definition at line 360 of file radiobutton.cpp.

RadioButton * Mezzanine::UI::RadioButtonFactory::CreateRadioButton ( const String RendName,
const UnifiedRect RendRect,
Screen Parent 
)
virtual

Creates a new RadioButton.

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

Definition at line 363 of file radiobutton.cpp.

RadioButton * Mezzanine::UI::RadioButtonFactory::CreateRadioButton ( const XML::Node XMLNode,
Screen Parent 
)
virtual

Creates a new RadioButton.

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

Definition at line 366 of file radiobutton.cpp.

Widget * Mezzanine::UI::RadioButtonFactory::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 369 of file radiobutton.cpp.

Widget * Mezzanine::UI::RadioButtonFactory::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 372 of file radiobutton.cpp.

Widget * Mezzanine::UI::RadioButtonFactory::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 375 of file radiobutton.cpp.

Widget * Mezzanine::UI::RadioButtonFactory::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 378 of file radiobutton.cpp.

void Mezzanine::UI::RadioButtonFactory::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 381 of file radiobutton.cpp.

String Mezzanine::UI::RadioButtonFactory::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 357 of file radiobutton.cpp.


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