Tizen Native API

A control which renders a short text string. More...

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

Classes

struct  Property
 An enumeration of properties belonging to the TextLabel class. More...

Public Types

enum  PropertyRange
 The start and end property ranges for this control. More...

Public Member Functions

 TextLabel ()
 Creates an empty handle.
 TextLabel (const TextLabel &handle)
 Copy constructor.
TextLabeloperator= (const TextLabel &handle)
 Assignment operator.
 ~TextLabel ()
 Destructor.

Static Public Member Functions

static TextLabel New ()
 Create the TextLabel control.
static TextLabel New (const std::string &text)
 Create the TextLabel control.
static TextLabel DownCast (BaseHandle handle)
 Downcast a handle to TextLabel handle.

Detailed Description

A control which renders a short text string.

Text labels are lightweight, non-editable and do not respond to user input.

Since :
2.4

Member Enumeration Documentation

The start and end property ranges for this control.

Since :
2.4
Enumerator:
PROPERTY_END_INDEX 

Reserve property indices.

Since :
2.4

Reimplemented from Dali::Toolkit::Control.


Constructor & Destructor Documentation

Creates an empty handle.

Since :
2.4

Copy constructor.

Since :
2.4
Parameters:
[in]handleThe handle to copy from.

Destructor.

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

Since :
2.4

Member Function Documentation

Downcast a handle to TextLabel handle.

If the BaseHandle points is a TextLabel the downcast returns a valid handle. If not the returned handle is left empty.

Since :
2.4
Parameters:
[in]handleHandle to an object
Returns:
handle to a TextLabel or an empty handle

Reimplemented from Dali::Toolkit::Control.

Create the TextLabel control.

Since :
2.4
Returns:
A handle to the TextLabel control.

Reimplemented from Dali::Toolkit::Control.

static TextLabel Dali::Toolkit::TextLabel::New ( const std::string &  text) [static]

Create the TextLabel control.

Since :
2.4
Parameters:
[in]textThe text to display.
Returns:
A handle to the TextLabel control.
TextLabel& Dali::Toolkit::TextLabel::operator= ( const TextLabel handle)

Assignment operator.

Since :
2.4
Parameters:
[in]handleThe handle to copy from.
Returns:
A reference to this.