This is the factory implementation for ListBox widgets. More...
#include <listbox.h>
Public Member Functions | |
ListBoxFactory () | |
Class constructor. | |
virtual | ~ListBoxFactory () |
Class destructor. | |
virtual ListBox * | CreateListBox (const String &RendName, const UI::ScrollbarStyle &Style, Screen *Parent) |
Creates a new ListBox. More... | |
virtual ListBox * | CreateListBox (const String &RendName, const UnifiedRect &RendRect, const UI::ScrollbarStyle &Style, Screen *Parent) |
Creates a new ListBox. More... | |
virtual ListBox * | CreateListBox (const XML::Node &XMLNode, Screen *Parent) |
Creates a new ListBox. 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 |
Creates a new ListBox.
RendName | The name to be given to the created ListBox. |
Style | An enum value representing how the scrollbar child of thie ListBox will be constructed. See UI::ScrollbarStyle enum for more info. |
Parent | The screen the created ListBox will belong to. |
Definition at line 387 of file listbox.cpp.
|
virtual |
Creates a new ListBox.
RendName | The name to be given to the created ListBox. |
RendRect | The dimensions that will be assigned to the created ListBox. |
Style | An enum value representing how the scrollbar child of thie ListBox will be constructed. See UI::ScrollbarStyle enum for more info. |
Parent | The screen the created ListBox will belong to. |
Definition at line 394 of file listbox.cpp.
|
virtual |
Creates a new ListBox.
XMLNode | The node of the xml document to construct from. |
Parent | The screen the created ListBox will belong to. |
Definition at line 401 of file listbox.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 408 of file listbox.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 415 of file listbox.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 427 of file listbox.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 439 of file listbox.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 442 of file listbox.cpp.
|
virtual |
Gets the name of the Widget that is created by this factory.
Implements Mezzanine::UI::WidgetFactory.
Definition at line 384 of file listbox.cpp.