This is the factory implementation for MenuButton widgets. More...
#include <menubutton.h>
Public Member Functions | |
MenuButtonFactory () | |
Class constructor. | |
virtual | ~MenuButtonFactory () |
Class destructor. | |
virtual MenuButton * | CreateMenuButton (const String &RendName, Screen *Parent) |
Creates a new MenuButton. More... | |
virtual MenuButton * | CreateMenuButton (const String &RendName, const UnifiedRect &RendRect, Screen *Parent) |
Creates a new MenuButton. More... | |
virtual MenuButton * | CreateMenuButton (const XML::Node &XMLNode, Screen *Parent) |
Creates a new MenuButton. 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... | |
Public Member Functions inherited from Mezzanine::UI::WidgetFactory | |
WidgetFactory () | |
Class constructor. | |
virtual | ~WidgetFactory () |
Class destructor. | |
This is the factory implementation for MenuButton widgets.
Definition at line 108 of file menubutton.h.
|
virtual |
Creates a new MenuButton.
RendName | The name to be given to the created MenuButton. |
Parent | The screen the created MenuButton will belong to. |
Definition at line 166 of file menubutton.cpp.
|
virtual |
Creates a new MenuButton.
RendName | The name to be given to the created MenuButton. |
RendRect | The dimensions that will be assigned to the created MenuButton. |
Parent | The screen the created MenuButton will belong to. |
Definition at line 169 of file menubutton.cpp.
|
virtual |
Creates a new MenuButton.
XMLNode | The node of the xml document to construct from. |
Parent | The screen the created MenuButton will belong to. |
Definition at line 172 of file menubutton.cpp.
Creates a Widget of the type represented by this factory.
Parent | The screen the created Widget will belong to. |
Implements Mezzanine::UI::WidgetFactory.
Definition at line 175 of file menubutton.cpp.
|
virtual |
Creates a Widget of the type represented by this factory.
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. |
Implements Mezzanine::UI::WidgetFactory.
Definition at line 178 of file menubutton.cpp.
|
virtual |
Creates a Widget of the type represented by this factory.
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. |
Implements Mezzanine::UI::WidgetFactory.
Definition at line 181 of file menubutton.cpp.
|
virtual |
XMLNode | The node of the xml document to construct from. |
Parent | The screen the created Widget will belong to. |
Implements Mezzanine::UI::WidgetFactory.
Definition at line 184 of file menubutton.cpp.
|
virtual |
Destroys a Widget created by this factory.
ToBeDestroyed | A pointer to the Widget to be destroyed. |
Implements Mezzanine::UI::WidgetFactory.
Definition at line 187 of file menubutton.cpp.
|
virtual |
Gets the name of the Widget that is created by this factory.
Implements Mezzanine::UI::WidgetFactory.
Definition at line 163 of file menubutton.cpp.