This is the factory implementation for Button widgets. More...
#include <button.h>
Public Member Functions | |
ButtonFactory () | |
Class constructor. | |
virtual | ~ButtonFactory () |
Class destructor. | |
virtual Button * | CreateButton (const String &RendName, Screen *Parent) |
Creates a new Button. More... | |
virtual Button * | CreateButton (const String &RendName, const UnifiedRect &RendRect, Screen *Parent) |
Creates a new Button. More... | |
virtual Button * | CreateButton (const XML::Node &XMLNode, Screen *Parent) |
Creates a new Button. 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. | |
|
virtual |
|
virtual |
Creates a new Button.
XMLNode | The node of the xml document to construct from. |
Parent | The screen the created Button will belong to. |
Definition at line 382 of file button.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 385 of file button.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 388 of file button.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 391 of file button.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 394 of file button.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 397 of file button.cpp.
|
virtual |
Gets the name of the Widget that is created by this factory.
Implements Mezzanine::UI::WidgetFactory.
Definition at line 373 of file button.cpp.