Tizen Native API
3.0
|
Dali::WidgetView::WidgetViewManager Class Reference
WidgetViewManager manages addition of WidgetView controls. More...
Inheritance diagram for Dali::WidgetView::WidgetViewManager:
Public Member Functions | |
WidgetViewManager () | |
Creates an WidgetViewManager handle. | |
WidgetViewManager (const WidgetViewManager &handle) | |
Copy constructor. | |
WidgetViewManager & | operator= (const WidgetViewManager &handle) |
Assignment operator. | |
~WidgetViewManager () | |
Destructor. | |
WidgetView | AddWidget (const std::string &widgetId, const std::string &contentInfo, int width, int height, float updatePeriod) |
Creates a new widget view object. | |
Static Public Member Functions | |
static WidgetViewManager | New (Application application, const std::string &appId) |
Creates widget view manager. | |
static WidgetViewManager | DownCast (BaseHandle handle) |
Downcasts a handle to WidgetViewManager handle. |
Detailed Description
WidgetViewManager manages addition of WidgetView controls.
This class provides the functionality of adding the widget views and controlling the widgets.
- Since :
- 3.0
Constructor & Destructor Documentation
Creates an WidgetViewManager handle.
Calling member functions with an uninitialised handle is not allowed.
- Since :
- 3.0
Dali::WidgetView::WidgetViewManager::WidgetViewManager | ( | const WidgetViewManager & | handle | ) |
Copy constructor.
- Since :
- 3.0
- Parameters:
-
[in] handle The handle to copy from
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
- Since :
- 3.0
Member Function Documentation
WidgetView Dali::WidgetView::WidgetViewManager::AddWidget | ( | const std::string & | widgetId, |
const std::string & | contentInfo, | ||
int | width, | ||
int | height, | ||
float | updatePeriod | ||
) |
Creates a new widget view object.
- Since :
- 3.0
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/widget.viewer
- Parameters:
-
[in] widgetId The widget id [in] contentInfo Contents that will be given to the widget instance [in] width The widget width [in] height The widget height [in] updatePeriod The period of updating contents of the widget
- Returns:
- A handle to WidgetView
static WidgetViewManager Dali::WidgetView::WidgetViewManager::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcasts a handle to WidgetViewManager handle.
If the BaseHandle points is a WidgetViewManager, the downcast returns a valid handle. If not, the returned handle is left empty.
- Since :
- 3.0
- Parameters:
-
[in] handle Handle to an object
- Returns:
- Handle to a WidgetViewManager or an empty handle
static WidgetViewManager Dali::WidgetView::WidgetViewManager::New | ( | Application | application, |
const std::string & | appId | ||
) | [static] |
Creates widget view manager.
- Since :
- 3.0
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/widget.viewer
- Parameters:
-
[in] application Application class for the widget view manager [in] appId App ID of app with widget viewer dali
- Returns:
- A handle to WidgetViewManager
WidgetViewManager& Dali::WidgetView::WidgetViewManager::operator= | ( | const WidgetViewManager & | handle | ) |
Assignment operator.
- Since :
- 3.0
- Parameters:
-
[in] handle The handle to copy from
- Returns:
- A reference to this