#include <Widgets.h>
Inheritance diagram for CB2::Widget:
Public Member Functions | |
Widget (Container &parent) | |
Constructor. | |
Widget (Application &parent) | |
Constructor. | |
virtual | ~Widget () |
Destructor. | |
Public Attributes | |
int | tag |
Tag for user-specific data. | |
Protected Member Functions | |
void | Data (const String &data) |
Render widget. | |
Private Member Functions | |
Widget (const Widget &prev) | |
Copy constructor. | |
void | operator= (const Widget &prev) |
Assignment operator. | |
Private Attributes | |
Template * | ptempl |
Parent template. | |
String | panchor |
Anchor in the parent template. | |
bool | filled |
Widget rendered. |
A widget is any structural object of the application which has its visual representation on the web page of the web application.
|
Constructor. Create a new widget as a nested object of a container, register as a child.
|
|
Constructor. Create a new widget as a nested object of an application, register as a child.
|
|
Destructor. If the widget was not rendered to the parent template, ExceptionAssert is thrown. |
|
Copy constructor. Copying of widgets is not allowed, Exception is thrown.
|
|
Render widget. Render widget contents to the parent template.
|
|
Assignment operator. Copying of widgets is not allowed, Exception is thrown.
|
|
Widget rendered.
|
|
Anchor in the parent template.
|
|
Parent template.
|
|
Tag for user-specific data.
|