Tizen Native API
5.5
|
A control which renders a short text string. More...
Classes | |
struct | AutoScrollStopMode |
The enumerations used for auto scroll stop mode. More... | |
struct | Property |
Enumeration for the instance of properties belonging to the TextLabel class. More... | |
Public Types | |
enum | PropertyRange |
Enumeration for 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 () |
Creates the TextLabel control. | |
static TextLabel | New (const std::string &text) |
Creates the TextLabel control. | |
static TextLabel | DownCast (BaseHandle handle) |
Downcasts a handle to TextLabel. |
Detailed Description
A control which renders a short text string.
Text labels are lightweight, non-editable and do not respond to user input.
Properties
|Property enum |String name |Type |Writable|Animatable| |----------------------------------|---------------------|----------------|--------|----------| | Property::RENDERING_BACKEND | renderingBackend | INTEGER | O | X | | Property::TEXT | text | STRING | O | X | | Property::FONT_FAMILY | fontFamily | STRING | O | X | | Property::FONT_STYLE | fontStyle | STRING or MAP | O | X | | Property::POINT_SIZE | pointSize | FLOAT | O | X | | Property::MULTI_LINE | multiLine | BOOLEAN | O | X | | Property::HORIZONTAL_ALIGNMENT | horizontalAlignment | STRING | O | X | | Property::VERTICAL_ALIGNMENT | verticalAlignment | STRING | O | X | | Property::TEXT_COLOR | textColor | VECTOR4 | O | X | | Property::ENABLE_MARKUP | enableMarkup | BOOLEAN | O | X | | Property::ENABLE_AUTO_SCROLL | enableAutoScroll | BOOLEAN | O | X | | Property::AUTO_SCROLL_SPEED | autoScrollSpeed | INTEGER | O | X | | Property::AUTO_SCROLL_LOOP_COUNT | autoScrollLoopCount | INTEGER | O | X | | Property::AUTO_SCROLL_GAP | autoScrollGap | INTEGER | O | X | | Property::SHADOW | shadow | STRING or MAP | O | X | | Property::UNDERLINE | underline | STRING or MAP | O | X |
- Since:
- 2.4, DALi version 1.0.0
Member Enumeration Documentation
Enumeration for the start and end property ranges for this control.
- Since:
- 2.4, DALi version 1.0.0
- Enumerator:
Reimplemented from Dali::Toolkit::Control.
Constructor & Destructor Documentation
Creates an empty handle.
- Since:
- 2.4, DALi version 1.0.0
Dali::Toolkit::TextLabel::TextLabel | ( | const TextLabel & | handle | ) |
Copy constructor.
- Since:
- 2.4, DALi version 1.0.0
- 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, DALi version 1.0.0
Member Function Documentation
static TextLabel Dali::Toolkit::TextLabel::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcasts a handle to TextLabel.
If the BaseHandle points is a TextLabel, the downcast returns a valid handle. If not, the returned handle is left empty.
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] handle Handle to an object
Reimplemented from Dali::Toolkit::Control.
static TextLabel Dali::Toolkit::TextLabel::New | ( | ) | [static] |
Creates the TextLabel control.
- Since:
- 2.4, DALi version 1.0.0
- Returns:
- A handle to the TextLabel control
Reimplemented from Dali::Toolkit::Control.
static TextLabel Dali::Toolkit::TextLabel::New | ( | const std::string & | text | ) | [static] |