void GetPlaceholderText( std::string& text ) const;
/**
+ * @brief Sets the maximum number of characters that can be inserted into the TextModel
+ *
+ * @param[in] maxCharacters maximum number of characters to be accepted
+ */
+ void SetMaximumNumberOfCharacters( int maxCharacters );
+
+ /**
+ * @brief Sets the maximum number of characters that can be inserted into the TextModel
+ *
+ * @param[in] maxCharacters maximum number of characters to be accepted
+ */
+ int GetMaximumNumberOfCharacters();
+
+ /**
* @brief Set the default font family.
*
* @param[in] defaultFontFamily The default font family.
void PanEvent( Gesture::State state, const Vector2& displacement );
/**
- * @copydoc Dali::Toolkit::Text::Decorator::Observer::GrabHandleEvent()
+ * @copydoc Dali::Toolkit::Text::Decorator::Observer::HandleEvent()
*/
- virtual void GrabHandleEvent( GrabHandleState state, float x, float y );
+ virtual void HandleEvent( HandleType handle, HandleState state, float x, float y );
protected: