- * @copydoc Dali::Toolkit::PushButton::SetAutoRepeating( bool autoRepeating )
- */
- void SetAutoRepeating( bool autoRepeating );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::IsAutoRepeating() const
- */
- bool IsAutoRepeating() const;
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetInitialAutoRepeatingDelay( float initialAutoRepeatingDelay )
- */
- void SetInitialAutoRepeatingDelay( float initialAutoRepeatingDelay );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::GetInitialAutoRepeatingDelay() const
- */
- float GetInitialAutoRepeatingDelay() const;
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetNextAutoRepeatingDelay( float nextAutoRepeatingDelay )
- */
- void SetNextAutoRepeatingDelay( float nextAutoRepeatingDelay );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::GetNextAutoRepeatingDelay() const
- */
- float GetNextAutoRepeatingDelay() const;
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetToggleButton( bool toggle )
- */
- void SetToggleButton( bool toggle );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::IsToggleButton() const
- */
- bool IsToggleButton() const;
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetToggled( bool toggle )
- */
- void SetToggled( bool toggle );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::IsToggled() const
- */
- bool IsToggled() const;
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetButtonImage( const Image image )
- */
- void SetButtonImage( Image image );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetButtonImage( Actor image )
- */
- void SetButtonImage( Actor image );
-
- /**
- * Used by the painter only.
- * @return A reference to the button image.
- */
- Actor& GetButtonImage();
-
- /**
- * @copydoc Dali::Toolkit::PushButton::
- */
- Actor GetButtonImage() const;
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetBackgroundImage( const Image image )
- */
- void SetBackgroundImage( Image image );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetBackgroundImage( Actor image )
- */
- void SetBackgroundImage( Actor image );
-
- /**
- * Used by the painter only.
- * @return A reference to the background image.
- */
- Actor& GetBackgroundImage();
-
- /**
- * @copydoc Dali::Toolkit::PushButton::GetBackgroundImage()
- */
- Actor GetBackgroundImage() const;
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetPressedImage( const Image image )
- */
- void SetPressedImage( Image image );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetPressedImage( Actor image )
- */
- void SetPressedImage( Actor image );
-
- /**
- * Used by the painter only.
- * @return A reference to the pressed image.
- */
- Actor& GetPressedImage();
-
- /**
- * @copydoc Dali::Toolkit::PushButton::GetPressedImage()
- */
- Actor GetPressedImage() const;
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetDimmedBackgroundImage( Image image )
- */
- void SetDimmedBackgroundImage( Image image );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetDimmedBackgroundImage( Actor image )
- */
- void SetDimmedBackgroundImage( Actor image );
-
- /**
- * Used by the painter only.
- * @return A reference to the dimmed background image.
- */
- Actor& GetDimmedBackgroundImage();
-
- /**
- * @copydoc Dali::Toolkit::PushButton::GetDimmedBackgroundImage()
- */
- Actor GetDimmedBackgroundImage() const;
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetDimmedImage( Image image )
- */
- void SetDimmedImage( Image image );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetDimmedImage( Actor image )
- */
- void SetDimmedImage( Actor image );
-
- /**
- * Used by the painter only.
- * @return A reference to the dimmed button image.
- */
- Actor& GetDimmedImage();
-
- /**
- * @copydoc Dali::Toolkit::PushButton::GetDimmedImage()
- */
- Actor GetDimmedImage() const;
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetLabelText( const std::string& text )
- */
- void SetLabelText( const std::string& text );
-
- /**
- * @copydoc Dali::Toolkit::PushButton::SetLabelText( Actor text )
- */
- void SetLabelText( Actor text );
-
- /**
- * Used by the painter only.
- * @return A reference to the label actor.
- */
- Actor& GetLabel();
-
- /**
- * @copydoc Dali::Toolkit::PushButton::GetLabelText()
- */
- Actor GetLabelText() const;
-
- /**
- * Used by the painter only.
- * @return A reference to the background image that is fading out.
- */
- Actor& GetFadeOutBackgroundImage();
-
- /**
- * Used by the painter only.
- * @return A reference to the button image that is fading out.
- */
- Actor& GetFadeOutButtonImage();
-
-public: // Signals
-
- /**
- * @copydoc Dali::Toolkit::PushButton::ToggledSignal()
- */
- Toolkit::PushButton::ToggledSignalV2& ToggledSignal();
-
- /**
- * @copydoc Dali::Toolkit::PushButton::PressedSignal()
- */
- Toolkit::PushButton::PressedSignalV2& PressedSignal();
-
- /**
- * @copydoc Dali::Toolkit::PushButton::ReleasedSignal()
- */
- Toolkit::PushButton::ReleasedSignalV2& ReleasedSignal();
-
- /**
- * Connects a callback function with the object's signals.
- * @param[in] object The object providing the signal.
- * @param[in] tracker Used to disconnect the signal.
- * @param[in] signalName The signal to connect to.
- * @param[in] functor A newly allocated FunctorDelegate.
- * @return True if the signal was connected.
- * @post If a signal was connected, ownership of functor was passed to CallbackBase. Otherwise the caller is responsible for deleting the unused functor.
- */
- static bool DoConnectSignal( BaseObject* object, ConnectionTrackerInterface* tracker, const std::string& signalName, FunctorDelegate* functor );
-
-protected: // From Button
-
- /**
- * Sets the Leave signal.
- */
- virtual void OnButtonInitialize();
-
- /**
- * Emits signals and notifies the painter accordingly with the set button
- * properties when the button is pressed.