Tizen Native API
5.5
|
Slider is a control to enable sliding an indicator between two values. More...
Classes | |
struct | Property |
Enumeration for the instance of properties belonging to the Slider class. More... | |
Public Types | |
enum | PropertyRange |
Enumeration for the start and end property ranges for this control. More... | |
typedef Signal< bool(Slider, float) > | ValueChangedSignalType |
Value changed signal type. | |
typedef Signal< bool(Slider, int) > | MarkReachedSignalType |
Mark reached signal type. | |
Public Member Functions | |
Slider () | |
Creates an empty Slider handle. | |
Slider (const Slider &handle) | |
Copy constructor. | |
Slider & | operator= (const Slider &handle) |
Assignment operator. | |
~Slider () | |
Destructor. | |
ValueChangedSignalType & | ValueChangedSignal () |
Signal emitted when the slider value changes. | |
ValueChangedSignalType & | SlidingFinishedSignal () |
Signal emitted when the sliding is finished. | |
MarkReachedSignalType & | MarkReachedSignal () |
Signal emitted when the slider handle reaches a mark. | |
Static Public Member Functions | |
static Slider | New () |
Creates the Slider control. | |
static Slider | DownCast (BaseHandle handle) |
Downcasts an Object handle to Slider. |
Detailed Description
Slider is a control to enable sliding an indicator between two values.
Signals | Signal Name | Method | |-------------------|-------------------------------| | valueChanged | ValueChangedSignal() | | markReached | MarkReachedSignal() | | slidingFinished | SlidingFinishedSignal() |
- Since:
- 3.0, DALi version 1.1.39
Member Typedef Documentation
typedef Signal< bool ( Slider, int ) > Dali::Toolkit::Slider::MarkReachedSignalType |
Mark reached signal type.
- Since:
- 3.0, DALi version 1.1.39
typedef Signal< bool ( Slider, float ) > Dali::Toolkit::Slider::ValueChangedSignalType |
Value changed signal type.
- Since:
- 3.0, DALi version 1.1.39
Member Enumeration Documentation
Enumeration for the start and end property ranges for this control.
- Since:
- 3.0, DALi version 1.1.39
- Enumerator:
PROPERTY_START_INDEX - Since:
- 3.0, DALi version 1.1.39
PROPERTY_END_INDEX Reserve property indices.
- Since:
- 3.0, DALi version 1.1.39
Reimplemented from Dali::Toolkit::Control.
Constructor & Destructor Documentation
Creates an empty Slider handle.
- Since:
- 3.0, DALi version 1.1.39
Dali::Toolkit::Slider::Slider | ( | const Slider & | handle | ) |
Copy constructor.
Creates another handle that points to the same real object.
- Since:
- 3.0, DALi version 1.1.39
- Parameters:
-
[in] handle Handle to an object
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
- Since:
- 3.0, DALi version 1.1.39
Member Function Documentation
static Slider Dali::Toolkit::Slider::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcasts an Object handle to Slider.
If handle points to a Slider, the downcast produces valid handle. If not, the returned handle is left uninitialized.
- Since:
- 3.0, DALi version 1.1.39
- Parameters:
-
[in] handle Handle to an object
- Returns:
- handle to a Slider or an uninitialized handle
Reimplemented from Dali::Toolkit::Control.
static Slider Dali::Toolkit::Slider::New | ( | ) | [static] |
Creates the Slider control.
- Since:
- 3.0, DALi version 1.1.39
- Returns:
- A handle to the Slider control
Reimplemented from Dali::Toolkit::Control.
Assignment operator.
Changes this handle to point to another real object.
- Since:
- 3.0, DALi version 1.1.39
- Parameters:
-
[in] handle Handle to an object
- Returns:
- A reference to this