X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller.h;h=96856ef0a16592a0d29f462468ce34ede714cf9e;hp=5005d8ed1bd3aee413fdaaac895c95b885be7a3d;hb=d0b1f18c1f3bd83b55b387c40aa20ba0511fb95c;hpb=3cea6f94aa1fdc59c0f607a3b0a41aabd0c6c9b7 diff --git a/dali-toolkit/internal/text/text-controller.h b/dali-toolkit/internal/text/text-controller.h index 5005d8e..96856ef 100644 --- a/dali-toolkit/internal/text/text-controller.h +++ b/dali-toolkit/internal/text/text-controller.h @@ -26,6 +26,7 @@ #include #include #include +#include #include namespace Dali @@ -56,7 +57,7 @@ typedef IntrusivePtr ControllerPtr; * * The text selection popup button callbacks are as well handled via the TextSelectionPopupCallbackInterface interface. */ -class Controller : public RefObject, public Decorator::ControllerInterface, public TextSelectionPopupCallbackInterface +class Controller : public RefObject, public Decorator::ControllerInterface, public TextSelectionPopupCallbackInterface, public HiddenText::Observer { public: // Enumerated types. @@ -347,7 +348,7 @@ public: // Configure the text controller. /** * @brief Sets input type to password * - * @note The string is displayed continuous "*" + * @note The string is displayed hidden character * * @param[in] passwordInput True if password input is enabled. */ @@ -887,6 +888,16 @@ public: // Queries & retrieves. */ bool GetTextScrollInfo( float& scrollPosition, float& controlHeight, float& layoutHeight ); + /** + * @brief Used to set the hidden input option + */ + void SetHiddenInputOption( const Property::Map& options ); + + /** + * @brief Used to get the hidden input option + */ + void GetHiddenInputOption( Property::Map& options ); + public: // Relayout. /** @@ -1002,6 +1013,13 @@ protected: // Inherit from TextSelectionPopup::TextPopupButtonCallbackInterface. */ virtual void TextPopupButtonTouched( Dali::Toolkit::TextSelectionPopup::Buttons button ); +protected: // Inherit from HiddenText. + + /** + * @brief Invoked from HiddenText when showing time of the last character was expired + */ + virtual void DisplayTimeExpired(); + private: // Update. /**