Tizen Native API
6.5
|
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. | |
bool | RemoveWidget (WidgetView widgetView) |
Removes the widget view object. | |
Static Public Member Functions | |
static WidgetViewManager | New (Application application, const std::string &appId) |
Create widget view manager. | |
static WidgetViewManager | DownCast (BaseHandle handle) |
Downcast 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 uninitialized 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] |
Downcast 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] |
Create 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.
bool Dali::WidgetView::WidgetViewManager::RemoveWidget | ( | WidgetView | widgetView | ) |
Removes the widget view object.
- Since :
- 6.5
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/widget.viewer
- Parameters:
-
[in] widgetView The widget view.
- Returns:
- true on success, false otherwise.