Tizen Native API
6.5
|
CustomActor is a base class for custom UI controls. More...
Public Member Functions | |
CustomActor () | |
Creates an uninitialized CustomActor handle. | |
~CustomActor () | |
Destructor. | |
CustomActorImpl & | GetImplementation () |
Retrieves the custom actor implementation. | |
const CustomActorImpl & | GetImplementation () const |
Retrieves the custom actor implementation. | |
CustomActor (CustomActorImpl &implementation) | |
Creates an initialized 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) |
Downcasts 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:
- 3.0, DALi version 1.0.0
Constructor & Destructor Documentation
Creates an uninitialized CustomActor handle.
Only derived versions can be instantiated. Calling member functions with an uninitialized CustomActor handle is not allowed.
- Since:
- 3.0, DALi version 1.0.0
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
- Since:
- 3.0, DALi version 1.0.0
Dali::CustomActor::CustomActor | ( | CustomActorImpl & | implementation | ) |
Creates an initialized CustomActor.
- Since:
- 3.0, DALi version 1.0.0
- 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:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in] copy The actor to copy
Dali::CustomActor::CustomActor | ( | Internal::CustomActor * | actor | ) |
This constructor is used internally to create additional CustomActor handles.
- Since:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in] actor A pointer to a newly allocated Dali resource
Member Function Documentation
static CustomActor Dali::CustomActor::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcasts a handle to CustomActor handle.
If the handle points to a CustomActor, the downcast produces valid handle. If not, the returned handle is left uninitialized.
- Since:
- 3.0, DALi version 1.0.0
- 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::TextField, Dali::Toolkit::TextEditor, Dali::Toolkit::Control, Dali::Toolkit::TextLabel, Dali::Toolkit::FlexContainer, Dali::Toolkit::VideoView, Dali::Toolkit::Button, Dali::Toolkit::ItemView, Dali::Toolkit::TableView, Dali::Toolkit::Control, Dali::Toolkit::ScrollBar, Dali::Toolkit::ImageView, Dali::Toolkit::Slider, Dali::Toolkit::ProgressBar, Dali::WidgetView::WidgetView, Dali::Toolkit::PushButton, Dali::Toolkit::Alignment, Dali::Toolkit::Model3dView, Dali::Toolkit::Scrollable, Dali::Toolkit::RadioButton, and Dali::Toolkit::CheckBoxButton.
Retrieves the custom actor implementation.
- Since:
- 3.0, DALi version 1.0.0
- Returns:
- The implementation
const CustomActorImpl& Dali::CustomActor::GetImplementation | ( | ) | const |
Retrieves the custom actor implementation.
- Since:
- 3.0, DALi version 1.0.0
- Returns:
- The implementation
CustomActor& Dali::CustomActor::operator= | ( | const CustomActor & | rhs | ) |
Assignment operator.
- Since:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in] rhs The actor to copy
- Returns:
- A reference to this