Tizen Native API
|
Dali::Toolkit::TextLabel Class Reference
A control which renders a short text string. More...
Inheritance diagram for Dali::Toolkit::TextLabel:
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. | |
TextLabel & | operator= (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
Reimplemented from Dali::Toolkit::Control.
Constructor & Destructor Documentation
Creates an empty handle.
- Since :
- 2.4
Dali::Toolkit::TextLabel::TextLabel | ( | const TextLabel & | handle | ) |
Copy constructor.
- Since :
- 2.4
- Parameters:
-
[in] handle The 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
static TextLabel Dali::Toolkit::TextLabel::DownCast | ( | BaseHandle | handle | ) | [static] |
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] handle Handle to an object
- Returns:
- handle to a TextLabel or an empty handle
Reimplemented from Dali::Toolkit::Control.
static TextLabel Dali::Toolkit::TextLabel::New | ( | ) | [static] |
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] |