This is the factory implementation for DropDownList widgets. More...
#include <dropdownlist.h>
Public Member Functions | |
DropDownListFactory () | |
Class constructor. | |
virtual | ~DropDownListFactory () |
Class destructor. | |
virtual DropDownList * | CreateDropDownList (const String &RendName, const UI::ScrollbarStyle &Style, Screen *Parent) |
Creates a new DropDownList. More... | |
virtual DropDownList * | CreateDropDownList (const String &RendName, const UnifiedRect &RendRect, const UI::ScrollbarStyle &Style, Screen *Parent) |
Creates a new DropDownList. More... | |
virtual DropDownList * | CreateDropDownList (const XML::Node &XMLNode, Screen *Parent) |
Creates a new DropDownList. 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 DropDownList widgets.
Definition at line 173 of file dropdownlist.h.
|
virtual |
Creates a new DropDownList.
RendName | The name to be given to the created DropDownList. |
Style | An enum value representing how the scrollbar child of the ListBox will be constructed. See UI::ScrollbarStyle enum for more info. |
Parent | The screen the created DropDownList will belong to. |
Definition at line 329 of file dropdownlist.cpp.
|
virtual |
Creates a new DropDownList.
RendName | The name to be given to the created DropDownList. |
RendRect | The dimensions that will be assigned to the created DropDownList. |
Style | An enum value representing how the scrollbar child of the ListBox will be constructed. See UI::ScrollbarStyle enum for more info. |
Parent | The screen the created DropDownList will belong to. |
Definition at line 336 of file dropdownlist.cpp.
|
virtual |
Creates a new DropDownList.
XMLNode | The node of the xml document to construct from. |
Parent | The screen the created DropDownList will belong to. |
Definition at line 343 of file dropdownlist.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 350 of file dropdownlist.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 357 of file dropdownlist.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 369 of file dropdownlist.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 381 of file dropdownlist.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 384 of file dropdownlist.cpp.
|
virtual |
Gets the name of the Widget that is created by this factory.
Implements Mezzanine::UI::WidgetFactory.
Definition at line 326 of file dropdownlist.cpp.