This is the factory implementation for MenuEntry widgets. More...
#include <menuentry.h>
Public Member Functions | |
MenuEntryFactory () | |
Class constructor. | |
virtual | ~MenuEntryFactory () |
Class destructor. | |
virtual MenuEntry * | CreateMenuEntry (const String &RendName, Screen *Parent) |
Creates a new MenuEntry. More... | |
virtual MenuEntry * | CreateMenuEntry (const String &RendName, const UnifiedRect &RendRect, Screen *Parent) |
Creates a new MenuEntry. More... | |
virtual MenuEntry * | CreateMenuEntry (const XML::Node &XMLNode, Screen *Parent) |
Creates a new MenuEntry. 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 MenuEntry widgets.
Definition at line 230 of file menuentry.h.
|
virtual |
Creates a new MenuEntry.
RendName | The name to be given to the created MenuEntry. |
RendRect | The dimensions that will be assigned to the created MenuEntry. |
Parent | The screen the created MenuEntry will belong to. |
Definition at line 474 of file menuentry.cpp.
|
virtual |
Creates a new MenuEntry.
XMLNode | The node of the xml document to construct from. |
Parent | The screen the created MenuEntry will belong to. |
Definition at line 477 of file menuentry.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 480 of file menuentry.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 483 of file menuentry.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 486 of file menuentry.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 489 of file menuentry.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 492 of file menuentry.cpp.
|
virtual |
Gets the name of the Widget that is created by this factory.
Implements Mezzanine::UI::WidgetFactory.
Definition at line 468 of file menuentry.cpp.