* @since 2.0
*
* @return An error code
- * @exception E_SUCCESS The method is successful.
- * @exception E_SYSTEM A system error has occurred.
- * @remarks If the back button item is not set, the method will return @c E_SUCCESS.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_SYSTEM This exception exists only for historical reason.
+ * @remarks This method always returns E_SUCCESS.
*/
result RemoveBackButton(void);
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation. @n
* The back button item is not set.
- * @exception E_SYSTEM A system error has occurred.
*/
result SetBackButtonEnabled(bool enable);
*
* @return An error code
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation. @n
- * There are more than 2 footer items.
* @exception E_UNSUPPORTED_OPERATION This operation is not supported. @n
* The operation is not supported when the style of the %Footer control is ::FOOTER_STYLE_TAB. @n
* This device does not support the software back button.
/**
- * Checks whether the menu button item is set.
+ * Checks whether the Menu button item is set.
*
- * @since 2.2
+ * @since 2.2
*
- * @return @c true if the menu button item is set, @n
- * else @c false
- * @exception E_SUCCESS The method is successful.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
+ * @return @c true if the Menu button item is set, @n
+ * else @c false
*/
bool IsMenuButtonSet(void) const;
/**
- * Gets the state of the menu button.
+ * Gets the state of the Menu button.
*
* @since 2.2
*
- * @return The state of the menu button, @n
- * else @c BUTTON_ITEM_STATUS_NORMAL if an error occurs.
+ * @return The state of the Menu button, @n
+ * else @c BUTTON_ITEM_STATUS_NORMAL if an error occurs.
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation. @n
- * The menu button is not set.
+ * The Menu button is not set.
* @remarks The specific error code can be accessed using the GetLastResult() method.
*/
ButtonItemStatus GetMenuButtonStatus(void) const;
/**
- * Removes the menu button item.
+ * Removes the Menu button item.
*
- * @since 2.2
+ * @since 2.2
*
- * @return An error code
- * @exception E_SUCCESS The method is successful.
- * @exception E_SYSTEM A system error has occurred.
- * @remarks If the menu button item is not set, the method will return @c E_SUCCESS.
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_SYSTEM This exception exists only for historical reason.
+ * @remarks This method always returns E_SUCCESS.
*/
result RemoveMenuButton(void);
/**
- * Enables or disables the menu button.
+ * Enables or disables the Menu button.
*
- * @since 2.2
+ * @since 2.2
*
* @return An error code
- * @param[in] enable Set to @c true to enable the menu button, @n
- * else @c false
- * @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation. @n
- * The menu button item is not set.
- * @exception E_SYSTEM A system error has occurred.
+ * @param[in] enable Set to @c true to enable the Menu button, @n
+ * else @c false
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation. @n
+ * The Menu button item is not set.
*/
result SetMenuButtonEnabled(bool enable);
/**
- * Sets the menu button.
+ * Sets the Menu button.
*
* @since 2.2
*
* @return An error code
- * @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation. @n
- * There are more than 3 footer items.
- * @exception E_UNSUPPORTED_OPERATION This operation is not supported. @n
- * The operation is not supported when the style of the %Footer control is ::FOOTER_STYLE_TAB. @n
- * @exception E_SYSTEM A system error has occurred.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_OPERATION This exception is returned when there are more than 3 footer items.
+ * @exception E_UNSUPPORTED_OPERATION This operation is not supported. @n
+ * The operation is not supported when the style of the %Footer control is ::FOOTER_STYLE_TAB. @n
+ * @exception E_SYSTEM A System error has occurred.
* @remarks
- * - If the left button is already set, then the button is replaced with the menu button.
+ * - If the left button is already set, then the button is replaced with the Menu button.
*/
result SetMenuButton(void);
+++ /dev/null
-//
-// Open Service Platform
-// Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0/
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-/**
- * @file FUiCtrlIFormControlventListener.h
- * @brief This is the header file for the %IFormControlventListener interface.
- *
- * This header file contains the declarations of the %IFormControlventListener interface.
- */
-#ifndef _FUI_CTRL_IFORM_CONTROL_EVENT_LISTENER_H_
-#define _FUI_CTRL_IFORM_CONTROL_EVENT_LISTENER_H_
-
-// includes
-#include <FBaseRtIEventListener.h>
-
-// namespace declaration
-namespace Tizen { namespace Ui { namespace Controls
-{
-
-class Form;
-
-/**
- * @interface IFormControlEventListener
- * @brief This interface implements the listener for Form-related events.
- *
- * @since 2.0
- *
- * The %IFormControlEventListener interface is the listener interface for receiving Form-related events.
- *
- * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/ui/implementing_form.htm">Form</a>.
- */
-class IFormControlEventListener
- : virtual public Tizen::Base::Runtime::IEventListener
-{
-// Lifecycle
-public:
- /**
- * This is the destructor for this class.
- *
- * @since 2.0
- */
- virtual ~IFormControlEventListener(void) {}
-
-// Operation
-public:
- /**
- * Called when the current Form control needs to be closed to revert back to the previous %Form control.
- *
- * @since 2.1
- *
- * @param[in] source The source of the event
- * @remarks This event is fired when the user clicks on the software 'back' button on the Footer control, or the hardware back button on the
- * device.
- */
- virtual void OnFormBackButtonRequested(Tizen::Ui::Controls::Form& source) = 0;
-
- virtual void OnFormOptionButtonRequested(Tizen::Ui::Controls::Form& source) = 0;
-
-// Reserves
-protected:
- //
- //This method is for internal use only. Using this method can cause behavioral, security-related,
- //and consistency-related issues in the application.
- //
- // This method is reserved and may change its name at any time without
- // prior notice.
- //
- // @since 2.0
- //
- virtual void IFormControlEventListener_Reserved1(void) { }
-
- //
- //This method is for internal use only. Using this method can cause behavioral, security-related,
- //and consistency-related issues in the application.
- //
- // This method is reserved and may change its name at any time without
- // prior notice.
- //
- // @since 2.0
- //
- virtual void IFormControlEventListener_Reserved2(void) { }
-
- //
- //This method is for internal use only. Using this method can cause behavioral, security-related,
- //and consistency-related issues in the application.
- //
- // This method is reserved and may change its name at any time without
- // prior notice.
- //
- // @since 2.0
- //
- virtual void IFormControlEventListener_Reserved3(void) { }
-}; // IFormControlEventListener
-
-}}} // Tizen::Ui::Controls
-
-#endif // _FUI_CTRL_IFORM_CONTROL_EVENT_LISTENER_H_