Tizen Native API  6.5
Dali::Toolkit::Slider Class Reference

Slider is a control to enable sliding an indicator between two values. More...

Inheritance diagram for Dali::Toolkit::Slider:
Dali::Toolkit::Control Dali::CustomActor Dali::Actor Dali::Handle Dali::BaseHandle

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.
Slideroperator= (const Slider &handle)
 Assignment operator.
 ~Slider ()
 Destructor.
ValueChangedSignalTypeValueChangedSignal ()
 Signal emitted when the slider value changes.
ValueChangedSignalTypeSlidingFinishedSignal ()
 Signal emitted when the sliding is finished.
MarkReachedSignalTypeMarkReachedSignal ()
 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

Mark reached signal type.

Since:
3.0, DALi version 1.1.39

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

Copy constructor.

Creates another handle that points to the same real object.

Since:
3.0, DALi version 1.1.39
Parameters:
[in]handleHandle 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]handleHandle to an object
Returns:
handle to a Slider or an uninitialized handle

Reimplemented from Dali::Toolkit::Control.

Signal emitted when the slider handle reaches a mark.

A callback of the following type may be connected:

   bool YourCallbackName( Slider slider, int value );
Since:
3.0, DALi version 1.1.39
Returns:
The signal to connect to
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.

Slider& Dali::Toolkit::Slider::operator= ( const Slider handle)

Assignment operator.

Changes this handle to point to another real object.

Since:
3.0, DALi version 1.1.39
Parameters:
[in]handleHandle to an object
Returns:
A reference to this

Signal emitted when the sliding is finished.

A callback of the following type may be connected:

   bool YourCallbackName( Slider slider, float value );
Since:
3.0, DALi version 1.1.39
Returns:
The signal to connect to

Signal emitted when the slider value changes.

A callback of the following type may be connected:

   bool YourCallbackName( Slider slider, float value );
Since:
3.0, DALi version 1.1.39
Returns:
The signal to connect to