Tizen Native API  4.0
Dali::Toolkit::ProgressBar Class Reference

ProgressBar is a control to give the user an indication of the progress of an operation. More...

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

Classes

struct  Property
 Enumeration of properties belonging to the ProgressBar class. More...

Public Types

enum  PropertyRange
 The start and end property ranges for this control. More...
typedef Signal< void(ProgressBar,
float, float) > 
ValueChangedSignalType
 Value changed signal type.

Public Member Functions

 ProgressBar ()
 Creates an empty ProgressBar handle.
 ProgressBar (const ProgressBar &handle)
 Copy constructor.
ProgressBaroperator= (const ProgressBar &handle)
 Assignment operator.
 ~ProgressBar ()
 Destructor.
ValueChangedSignalTypeValueChangedSignal ()
 Signal emitted when the ProgressBar value changes.

Static Public Member Functions

static ProgressBar New ()
 Creates the ProgressBar control.
static ProgressBar DownCast (BaseHandle handle)
 Downcast an Object handle to ProgressBar.

Detailed Description

ProgressBar is a control to give the user an indication of the progress of an operation.

Signals | Signal Name | Method | |-------------------|-------------------------------| | valueChanged | ValueChangedSignal() |

Since:
4.0, DALi version 1.2.60

Member Typedef Documentation

Value changed signal type.

Since:
4.0, DALi version 1.2.60

Member Enumeration Documentation

The start and end property ranges for this control.

Since:
4.0, DALi version 1.2.60
Enumerator:
PROPERTY_START_INDEX 

Start Index.

Since:
4.0, DALi version 1.2.60
PROPERTY_END_INDEX 

Reserve property indices.

Since:
4.0, DALi version 1.2.60

Reimplemented from Dali::Toolkit::Control.


Constructor & Destructor Documentation

Creates an empty ProgressBar handle.

Since:
4.0, DALi version 1.2.60

Copy constructor.

Creates another handle that points to the same real object.

Since:
4.0, DALi version 1.2.60
Parameters:
[in]handleHandle to an object

Destructor.

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

Since:
4.0, DALi version 1.2.60

Member Function Documentation

Downcast an Object handle to ProgressBar.

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

Since:
4.0, DALi version 1.2.60
Parameters:
[in]handleHandle to an object
Returns:
handle to a ProgressBar or an uninitialized handle

Reimplemented from Dali::Toolkit::Control.

Creates the ProgressBar control.

Since:
4.0, DALi version 1.2.60
Returns:
A handle to the ProgressBar control

Reimplemented from Dali::Toolkit::Control.

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

Assignment operator.

Changes this handle to point to another real object.

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

Signal emitted when the ProgressBar value changes.

A callback of the following type may be connected:

   void YourCallbackName( ProgressBar progressBar, float progressValue, float secondaryProgressValue );
Since:
4.0, DALi version 1.2.60
Returns:
The signal to connect to