Tizen Native API
4.0
|
Enumeration for the instance of properties belonging to the TextEditor class. More...
Public Types | |
enum | |
Enumeration for the instance of properties belonging to the TextEditor class. More... |
Enumeration for the instance of properties belonging to the TextEditor class.
anonymous enum |
Enumeration for the instance of properties belonging to the TextEditor class.
RENDERING_BACKEND |
The type or rendering e.g. bitmap-based. Name "renderingBackend", type Property::INTEGER.
|
TEXT |
The text to display in UTF-8 format. Name "text", type Property::STRING.
|
TEXT_COLOR |
The text color. Name "textColor", type Property::VECTOR4.
|
FONT_FAMILY |
The requested font family. Name "fontFamily", type Property::STRING.
|
FONT_STYLE |
The requested font style. Name "fontStyle", type Property::STRING or Property::MAP.
|
POINT_SIZE |
The size of font in points. Name "pointSize", type Property::FLOAT. Conversion from Pixel size to Point size : Point size = Pixel size * 72 / DPI.
|
HORIZONTAL_ALIGNMENT |
The text horizontal alignment. Name "horizontalAlignment", type Property::STRING or type HorizontalAlignment::Type (Property::INTEGER) Values "BEGIN" "CENTER" "END".
|
SCROLL_THRESHOLD |
Vertical scrolling will occur if the cursor is this close to the control border. Name "scrollThreshold", type Property::FLOAT.
|
SCROLL_SPEED |
The scroll speed in pixels per second. Name "scrollSpeed", type Property::FLOAT.
|
PRIMARY_CURSOR_COLOR |
The color to apply to the primary cursor. Name "primaryCursorColor", type Property::VECTOR4.
|
SECONDARY_CURSOR_COLOR |
The color to apply to the secondary cursor. Name "secondaryCursorColor", type Property::VECTOR4.
|
ENABLE_CURSOR_BLINK |
Whether the cursor should blink or not. Name "enableCursorBlink", type Property::BOOLEAN.
|
CURSOR_BLINK_INTERVAL |
The time interval in seconds between cursor on/off states. Name "cursorBlinkInterval", type Property::FLOAT.
|
CURSOR_BLINK_DURATION |
The cursor will stop blinking after this number of seconds (if non-zero). Name "cursorBlinkDuration", type Property::FLOAT.
|
CURSOR_WIDTH |
The cursor width. Name "cursorWidth", type Property::INTEGER.
|
GRAB_HANDLE_IMAGE |
The image to display for the grab handle. Name "grabHandleImage", type Property::STRING.
|
GRAB_HANDLE_PRESSED_IMAGE |
The image to display when the grab handle is pressed. Name "grabHandlePressedImage", type Property::STRING.
|
SELECTION_HANDLE_IMAGE_LEFT |
The image to display for the left selection handle. Name "selectionHandleImageLeft", type Property::MAP.
|
SELECTION_HANDLE_IMAGE_RIGHT |
The image to display for the right selection handle. Name "selectionHandleImageRight", type Property::MAP.
|
SELECTION_HANDLE_PRESSED_IMAGE_LEFT |
The image to display when the left selection handle is pressed. Name "selectionHandlePressedImageLeft", type Property::MAP.
|
SELECTION_HANDLE_PRESSED_IMAGE_RIGHT |
The image to display when the right selection handle is pressed. Name "selectionHandlePressedImageRight", type Property::MAP.
|
SELECTION_HANDLE_MARKER_IMAGE_LEFT |
The image to display for the left selection handle marker. Name "selectionHandleMarkerImageLeft", type Property::MAP.
|
SELECTION_HANDLE_MARKER_IMAGE_RIGHT |
The image to display for the right selection handle marker. Name "selectionHandleMarkerImageRight", type Property::MAP.
|
SELECTION_HIGHLIGHT_COLOR |
The color of the selection highlight. Name "selectionHighlightColor", type Property::VECTOR4.
|
DECORATION_BOUNDING_BOX |
The decorations (handles etc) will positioned within this area on-screen. Name "decorationBoundingBox", type Property::RECTANGLE.
|
ENABLE_MARKUP |
Whether the mark-up processing is enabled. Name "enableMarkup", type Property::BOOLEAN.
|
INPUT_COLOR |
The color of the new input text. Name "inputColor", type Property::VECTOR4.
|
INPUT_FONT_FAMILY |
The font's family of the new input text. Name "inputFontFamily", type Property::STRING.
|
INPUT_FONT_STYLE |
The font's style of the new input text. Name "inputFontStyle", type Property::MAP.
|
INPUT_POINT_SIZE |
The font's size of the new input text in points. Name "inputPointSize", type Property::FLOAT.
|
LINE_SPACING |
The default extra space between lines in points. Name "lineSpacing", type Property::FLOAT.
|
INPUT_LINE_SPACING |
The extra space between lines in points. Name "inputLineSpacing", type Property::FLOAT.
|
UNDERLINE |
The default underline parameters. Name "underline", type Property::MAP. The underline map contains the following keys: | Property Name | Type | Required | Description | |----------------------|----------|----------|--------------------------------------------------------------------------------------------------------------------| | enable | BOOLEAN | No | True to enable the underline or false to disable (the default value is false) | | color | VECTOR4 | No | The color of the underline (the default value is Color::BLACK) | | height | FLOAT | No | The height of the underline (the default value is 0) |
|
INPUT_UNDERLINE |
The underline parameters of the new input text. Name "inputUnderline", type Property::MAP.
|
SHADOW |
The default shadow parameters. Name "shadow", type Property::MAP. The shadow map contains the following keys: | Property Name | Type | Required | Description | |----------------------|----------|----------|--------------------------------------------------------------------------------------------------------------------| | color | VECTOR4 | No | The color of the shadow (the default value is Color::BLACK) | | offset | VECTOR2 | No | The offset from the text to draw the shadow in the X and Y axes (the default value is 0 which means no shadow) | | blurRadius | FLOAT | No | The radius of blur to be applied to the shadow (the default value is 0 which means no blur) |
|
INPUT_SHADOW |
The shadow parameters of the new input text. Name "inputShadow", type Property::MAP.
|
EMBOSS |
The default emboss parameters. Name "emboss", type Property::MAP.
|
INPUT_EMBOSS |
The emboss parameters of the new input text. Name "inputEmboss", type Property::MAP.
|
OUTLINE |
The default outline parameters. Name "outline", type Property::MAP. The outline map contains the following keys: | Property Name | Type | Required | Description | |----------------------|----------|----------|--------------------------------------------------------------------------------------------------------------------| | color | VECTOR4 | No | The color of the outline (the default value is Color::WHITE) | | width | INTEGER | No | The width of the outline (the default value is 0 which means no outline) |
|
INPUT_OUTLINE |
The outline parameters of the new input text. Name "inputOutline", type Property::MAP.
|
SMOOTH_SCROLL |
Enable or disable the smooth scroll animation. Name "smoothScroll", type Property::BOOLEAN.
|
SMOOTH_SCROLL_DURATION |
Sets the duration of smooth scroll animation. Name "smoothScrollDuration", type Property::FLOAT.
|
ENABLE_SCROLL_BAR |
Enable or disable the scroll bar. Name "enableScrollBar", type Property::BOOLEAN.
|
SCROLL_BAR_SHOW_DURATION |
Sets the duration of scroll bar to show. Name "scrollBarShowDuration", type Property::FLOAT.
|
SCROLL_BAR_FADE_DURATION |
Sets the duration of scroll bar to fade out. Name "scrollBarFadeDuration", type Property::FLOAT.
|
PIXEL_SIZE |
The size of font in pixels. Name "pixelSize", type Property::FLOAT. Conversion from Point size to Pixel size: Pixel size = Point size * DPI / 72
|
LINE_COUNT |
The line count of text. Name "lineCount", type Property::INTEGER.
|
ENABLE_SELECTION |
Enables Text selection, such as the cursor, handle, clipboard, and highlight color. Name "enableSelection", type Property::BOOLEAN.
|
PLACEHOLDER |
Sets the placeholder : text, color, font family, font style, point size, and pixel size. Name "placeholder", type Property::MAP. Example: Property::Map propertyMap; propertyMap["text"] = "Setting Placeholder Text"; propertyMap["textFocused"] = "Setting Placeholder Text Focused"; propertyMap["color"] = Color::RED; propertyMap["fontFamily"] = "Arial"; propertyMap["pointSize"] = 12.0f; Property::Map fontStyleMap; fontStyleMap.Insert( "weight", "bold" ); fontStyleMap.Insert( "width", "condensed" ); fontStyleMap.Insert( "slant", "italic" ); propertyMap["fontStyle"] = fontStyleMap; editor.SetProperty( TextEditor::Property::PLACEHOLDER, propertyMap );
|
LINE_WRAP_MODE |
Line wrap mode when text lines are greater than the layout width. Name "lineWrapMode", type Text::LineWrap::Mode (Text::Property::INTEGER) or Property::STRING.
|