Textfield: remove duplicated functionality
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / controls / text-controls / text-field-devel.h
index 5e92a92..042841f 100755 (executable)
@@ -114,7 +114,23 @@ namespace Property
         * @details Name "enableGrabHandlePopup", type Property::BOOLEAN.
         * @note The default value is true, which means the grab handle popup is enabled by default.
         */
-      ENABLE_GRAB_HANDLE_POPUP = ELLIPSIS + 4
+      ENABLE_GRAB_HANDLE_POPUP = ELLIPSIS + 4,
+
+      /**
+       * @brief The default text background parameters.
+       * @details Name "textBackground", type Property::VECTOR4.
+       * @note Use "textBackground" as property name to avoid conflict with Control's "background" property.
+       * @note The default value is Color::TRANSPARENT.
+       */
+      BACKGROUND = ELLIPSIS + 5,
+
+
+      /**
+       * @brief The selected text in UTF-8 format.
+       * @details Name "selectedText", type Property::STRING.
+       * @note This property is read-only.
+       */
+      SELECTED_TEXT = ELLIPSIS + 6
 
   };
 } // namespace Property
@@ -131,10 +147,16 @@ DALI_TOOLKIT_API InputMethodContext GetInputMethodContext( TextField textField )
  * @brief Select the whole text of TextField.
  *
  * @param[in] textField The instance of TextField.
- * @return InputMethodContext instance.
  */
 DALI_TOOLKIT_API void SelectWholeText( TextField textField );
 
+/**
+ * @brief Unselect the whole text of TextField.
+ *
+ * @param[in] textField The instance of TextField.
+ */
+DALI_TOOLKIT_API void SelectNone( TextField textField );
+
 } // namespace DevelText
 
 } // namespace Toolkit