Tizen Native API
|
CustomActor is a base class for custom UI controls. More...
Public Member Functions | |
CustomActor () | |
Create an uninitialized CustomActor handle. | |
~CustomActor () | |
Destructor. | |
CustomActorImpl & | GetImplementation () |
Retrieve the custom actor implementation. | |
const CustomActorImpl & | GetImplementation () const |
Retrieve the custom actor implementation. | |
CustomActor (CustomActorImpl &implementation) | |
Create an initialised CustomActor. | |
CustomActor (const CustomActor ©) | |
Copy constructor. | |
CustomActor & | operator= (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
Dali::CustomActor::CustomActor | ( | CustomActorImpl & | implementation | ) |
Create an initialised CustomActor.
- Since :
- 2.4
- Parameters:
-
[in] implementation The implementation for this custom actor
- Returns:
- A handle to a newly allocated Dali resource
Dali::CustomActor::CustomActor | ( | const CustomActor & | copy | ) |
Copy constructor.
- Since :
- 2.4
- Parameters:
-
[in] copy The actor to copy
Dali::CustomActor::CustomActor | ( | Internal::CustomActor * | actor | ) |
This constructor is used internally to create additional CustomActor handles.
- Since :
- 2.4
- Parameters:
-
[in] actor A 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] handle Handle 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
const CustomActorImpl& Dali::CustomActor::GetImplementation | ( | ) | const |
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] rhs The actor to copy
- Returns:
- A reference to this