This is the factory implementation for Spinner widgets.
More...
#include <spinner.h>
|
| SpinnerFactory () |
| Class constructor.
|
|
virtual | ~SpinnerFactory () |
| Class destructor.
|
|
virtual Spinner * | CreateSpinner (const String &RendName, const SpinnerStyle SpinStyle, FontData *EditFont, Screen *Parent) |
| Creates a new Spinner. More...
|
|
virtual Spinner * | CreateSpinner (const String &RendName, const SpinnerStyle SpinStyle, const String &EditFontName, Screen *Parent) |
| Creates a new Spinner. More...
|
|
virtual Spinner * | CreateSpinner (const String &RendName, const UnifiedRect &RendRect, const SpinnerStyle SpinStyle, FontData *EditFont, Screen *Parent) |
| Creates a new Spinner. More...
|
|
virtual Spinner * | CreateSpinner (const String &RendName, const UnifiedRect &RendRect, const SpinnerStyle SpinStyle, const String &EditFontName, Screen *Parent) |
| Creates a new Spinner. More...
|
|
virtual Spinner * | CreateSpinner (const XML::Node &XMLNode, Screen *Parent) |
| Creates a new Spinner. More...
|
|
virtual Widget * | CreateWidget (Screen *Parent) |
| Creates a Widget of the type represented by this factory. More...
|
|
virtual Widget * | CreateWidget (const String &RendName, const NameValuePairMap &Params, Screen *Parent) |
| Creates a Widget of the type represented by this factory. More...
|
|
virtual Widget * | CreateWidget (const String &RendName, const UnifiedRect &RendRect, const NameValuePairMap &Params, Screen *Parent) |
| Creates a Widget of the type represented by this factory. More...
|
|
virtual Widget * | CreateWidget (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...
|
|
| WidgetFactory () |
| Class constructor.
|
|
virtual | ~WidgetFactory () |
| Class destructor.
|
|
This is the factory implementation for Spinner widgets.
Definition at line 319 of file spinner.h.
Creates a new Spinner.
- Parameters
-
RendName | The name to be given to the created Spinner. |
SpinStyle | The layout of buttons this Spinner will have. |
EditFont | A pointer to the font to be used by the edit layer. |
Parent | The screen the created Spinner will belong to. |
- Returns
- Returns a pointer to the created Spinner.
Definition at line 539 of file spinner.cpp.
Creates a new Spinner.
- Parameters
-
RendName | The name to be given to the created Spinner. |
SpinStyle | The layout of buttons this Spinner will have. |
EditFontName | The name of the font to be used by the edit layer. |
Parent | The screen the created Spinner will belong to. |
- Returns
- Returns a pointer to the created Spinner.
Definition at line 542 of file spinner.cpp.
Creates a new Spinner.
- Parameters
-
RendName | The name to be given to the created Spinner. |
RendRect | The dimensions that will be assigned to the created Spinner. |
SpinStyle | The layout of buttons this Spinner will have. |
EditFont | A pointer to the font to be used by the edit layer. |
Parent | The screen the created Spinner will belong to. |
- Returns
- Returns a pointer to the created Spinner.
Definition at line 545 of file spinner.cpp.
Creates a new Spinner.
- Parameters
-
RendName | The name to be given to the created Spinner. |
RendRect | The dimensions that will be assigned to the created Spinner. |
SpinStyle | The layout of buttons this Spinner will have. |
EditFontName | The name of the font to be used by the edit layer. |
Parent | The screen the created Spinner will belong to. |
- Returns
- Returns a pointer to the created Spinner.
Definition at line 548 of file spinner.cpp.
Creates a new Spinner.
- Parameters
-
XMLNode | The node of the xml document to construct from. |
Parent | The screen the created Spinner will belong to. |
- Returns
- Returns a pointer to the created Spinner.
Definition at line 551 of file spinner.cpp.
Widget * Mezzanine::UI::SpinnerFactory::CreateWidget |
( |
Screen * |
Parent | ) |
|
|
virtual |
Creates a Widget of the type represented by this factory.
- Parameters
-
RendName | The name to be given to the created widget. |
Params | A NameValuePairMap containing the params to be applied during construction. |
Parent | The screen the created Widget will belong to. |
- Returns
- Returns a pointer to the created Widget.
Implements Mezzanine::UI::WidgetFactory.
Definition at line 557 of file spinner.cpp.
Creates a Widget of the type represented by this factory.
- Parameters
-
RendName | The name to be given to the created widget. |
RendRect | The dimensions that will be assigned to the created Widget. |
Params | A NameValuePairMap containing the params to be applied during construction. |
Parent | The screen the created Widget will belong to. |
- Returns
- Returns a pointer to the created Widget.
Implements Mezzanine::UI::WidgetFactory.
Definition at line 574 of file spinner.cpp.
void Mezzanine::UI::SpinnerFactory::DestroyWidget |
( |
Widget * |
ToBeDestroyed | ) |
|
|
virtual |
String Mezzanine::UI::SpinnerFactory::GetWidgetTypeName |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files:
- /home/sqeaky/Code/MezzanineFresh/Mezzanine/src/UI/spinner.h
- /home/sqeaky/Code/MezzanineFresh/Mezzanine/src/UI/spinner.cpp