Tizen Native API

CustomActor is a base class for custom UI controls. More...

Inheritance diagram for Dali::CustomActor:
Dali::Actor Dali::Handle Dali::BaseHandle Dali::Toolkit::Control Dali::Toolkit::Alignment Dali::Toolkit::Button Dali::Toolkit::ImageView Dali::Toolkit::Scrollable Dali::Toolkit::ScrollBar Dali::Toolkit::TableView Dali::Toolkit::TextField Dali::Toolkit::TextLabel

Public Member Functions

 CustomActor ()
 Create an uninitialized CustomActor handle.
 ~CustomActor ()
 Destructor.
CustomActorImplGetImplementation ()
 Retrieve the custom actor implementation.
const CustomActorImplGetImplementation () const
 Retrieve the custom actor implementation.
 CustomActor (CustomActorImpl &implementation)
 Create an initialised CustomActor.
 CustomActor (const CustomActor &copy)
 Copy constructor.
CustomActoroperator= (const CustomActor &rhs)
 Assignment operator.
 CustomActor (Internal::CustomActor *actor)
 This constructor is used internally to create additional CustomActor handles.

Static Public Member Functions

static CustomActor DownCast (BaseHandle handle)
 Downcast a handle to CustomActor handle.

Detailed Description

CustomActor is a base class for custom UI controls.

The implementation of the control must be supplied; see CustomActorImpl for more details.

Since :
2.4

Constructor & Destructor Documentation

Create an uninitialized CustomActor handle.

Only derived versions can be instantiated. Calling member functions with an uninitialized CustomActor handle is not allowed.

Since :
2.4

Destructor.

This is non-virtual since derived Handle types must not contain data or virtual methods.

Since :
2.4

Create an initialised CustomActor.

Since :
2.4
Parameters:
[in]implementationThe implementation for this custom actor
Returns:
A handle to a newly allocated Dali resource

Copy constructor.

Since :
2.4
Parameters:
[in]copyThe actor to copy
Dali::CustomActor::CustomActor ( Internal::CustomActor *  actor)

This constructor is used internally to create additional CustomActor handles.

Since :
2.4
Parameters:
[in]actorA pointer to a newly allocated Dali resource

Member Function Documentation

static CustomActor Dali::CustomActor::DownCast ( BaseHandle  handle) [static]

Downcast a handle to CustomActor handle.

If handle points to a CustomActor the downcast produces valid handle. If not the returned handle is left uninitialized.

Since :
2.4
Parameters:
[in]handleHandle to an object
Returns:
Handle to a CustomActor or an uninitialized handle

Reimplemented from Dali::Actor.

Reimplemented in Dali::Toolkit::ScrollView, Dali::Toolkit::TableView, Dali::Toolkit::TextField, Dali::Toolkit::Control, Dali::Toolkit::Alignment, Dali::Toolkit::ScrollBar, Dali::Toolkit::Button, Dali::Toolkit::RadioButton, Dali::Toolkit::TextLabel, Dali::Toolkit::ItemView, Dali::Toolkit::Scrollable, Dali::Toolkit::ImageView, Dali::Toolkit::PushButton, and Dali::Toolkit::CheckBoxButton.

Retrieve the custom actor implementation.

Since :
2.4
Returns:
The implementation

Retrieve the custom actor implementation.

Since :
2.4
Returns:
The implementation
CustomActor& Dali::CustomActor::operator= ( const CustomActor rhs)

Assignment operator.

Since :
2.4
Parameters:
[in]rhsThe actor to copy
Returns:
A reference to this