Tizen Native API  5.5
Dali::WidgetView::WidgetViewManager Class Reference

WidgetViewManager manages addition of WidgetView controls. More...

Inheritance diagram for Dali::WidgetView::WidgetViewManager:
Dali::BaseHandle

Public Member Functions

 WidgetViewManager ()
 Creates an WidgetViewManager handle.
 WidgetViewManager (const WidgetViewManager &handle)
 Copy constructor.
WidgetViewManageroperator= (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)
 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 uninitialised handle is not allowed.

Since :
3.0

Copy constructor.

Since :
3.0
Parameters:
[in]handleThe 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]widgetIdThe widget id.
[in]contentInfoContents that will be given to the widget instance.
[in]widthThe widget width.
[in]heightThe widget height.
[in]updatePeriodThe period of updating contents of the widget.
Returns:
A handle to WidgetView.

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]handleHandle 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]applicationApplication class for the widget view manager.
[in]appIdApp 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]handleThe handle to copy from.
Returns:
A reference to this.