Tizen Native API
5.0
|
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. |
A control which renders a short text string.
Text labels are lightweight, non-editable and do not respond to user input.
|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 |
Enumeration for the start and end property ranges for this control.
Reimplemented from Dali::Toolkit::Control.
Creates an empty handle.
Dali::Toolkit::TextLabel::TextLabel | ( | const TextLabel & | handle | ) |
Copy constructor.
[in] | handle | The handle to copy from |
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
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.
[in] | handle | Handle to an object |
Reimplemented from Dali::Toolkit::Control.
static TextLabel Dali::Toolkit::TextLabel::New | ( | ) | [static] |
Creates the TextLabel control.
Reimplemented from Dali::Toolkit::Control.
static TextLabel Dali::Toolkit::TextLabel::New | ( | const std::string & | text | ) | [static] |