#include <FUiCtrlIFastScrollListener.h>
#include <FUiCtrlIFormBackEventListener.h>
#include <FUiCtrlIFormControlEventListener.h>
+#include <FUiCtrlIFormMenuEventListener.h>
#include <FUiCtrlIFrameEventListener.h>
#include <FUiCtrlIGalleryEventListener.h>
#include <FUiCtrlIGalleryItemProvider.h>
/**
- * Checks whether the option button item is set.
+ * Checks whether the menu button item is set.
*
* @since 2.2
*
- * @return @c true if the option button item is set, @n
+ * @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.
*/
- bool IsOptionButtonSet(void) const;
+ bool IsMenuButtonSet(void) const;
/**
- * Gets the state of the option button.
+ * Gets the state of the menu button.
*
* @since 2.2
*
- * @return The state of the option button, @n
+ * @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 option button is not set.
+ * The menu button is not set.
* @remarks The specific error code can be accessed using the GetLastResult() method.
*/
- ButtonItemStatus GetOptionButtonStatus(void) const;
+ ButtonItemStatus GetMenuButtonStatus(void) const;
/**
- * Removes the option button item.
+ * Removes the menu button item.
*
* @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 option button item is not set, the method will return @c E_SUCCESS.
+ * @remarks If the menu button item is not set, the method will return @c E_SUCCESS.
*/
- result RemoveOptionButton(void);
+ result RemoveMenuButton(void);
/**
- * Enables or disables the option button.
+ * Enables or disables the menu button.
*
* @since 2.2
*
* @return An error code
- * @param[in] enable Set to @c true to enable the option button, @n
+ * @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 option button item is not set.
+ * The menu button item is not set.
* @exception E_SYSTEM A system error has occurred.
*/
- result SetOptionButtonEnabled(bool enable);
+ result SetMenuButtonEnabled(bool enable);
/**
- * Sets the option button.
+ * Sets the menu button.
*
* @since 2.2
*
* 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 option button.
+ * - If the left button is already set, then the button is replaced with the menu button.
*/
- result SetOptionButton(void);
+ result SetMenuButton(void);
protected:
class Footer;
class Tab;
class IFormBackEventListener;
-class IFormControlEventListener;
+class IFormMenuEventListener;
/**
* @enum FormStyle
/**
* Sets the %Form control event listener.
*
- * @since 2.1
+ * @since 2.2
*
- * @param[in] pFormControlEventListener The %Form control event listener to set
- * @see Tizen::Ui::Controls::IFormControlEventListener.
+ * @param[in] pFormMenuEventListener The %Form menu event listener to set
+ * @see Tizen::Ui::Controls::IFormMenuEventListener.
*/
- void SetFormControlEventListener(IFormControlEventListener* pFormControlEventListener);
+ void SetFormMenuEventListener(IFormMenuEventListener* pFormMenuEventListener);
/**
--- /dev/null
+//\r
+// Open Service Platform\r
+// Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.\r
+//\r
+// Licensed under the Apache License, Version 2.0 (the License);\r
+// you may not use this file except in compliance with the License.\r
+// You may obtain a copy of the License at\r
+//\r
+// http://www.apache.org/licenses/LICENSE-2.0/\r
+//\r
+// Unless required by applicable law or agreed to in writing, software\r
+// distributed under the License is distributed on an "AS IS" BASIS,\r
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+// See the License for the specific language governing permissions and\r
+// limitations under the License.\r
+//\r
+/**\r
+ * @file FUiCtrlIFormMenuventListener.h\r
+ * @brief This is the header file for the %IFormMenuventListener interface.\r
+ *\r
+ * This header file contains the declarations of the %IFormMenuventListener interface.\r
+ */\r
+#ifndef _FUI_CTRL_IFORM_MENU_EVENT_LISTENER_H_\r
+#define _FUI_CTRL_IFORM_MENU_EVENT_LISTENER_H_\r
+\r
+// includes\r
+#include <FBaseRtIEventListener.h>\r
+\r
+// namespace declaration\r
+namespace Tizen { namespace Ui { namespace Controls\r
+{\r
+\r
+class Form;\r
+\r
+/**\r
+ * @interface IFormMenuEventListener\r
+ * @brief This interface implements the listener for Form-related events.\r
+ *\r
+ * @since 2.2\r
+ *\r
+ * The %IFormMenuEventListener interface is the listener interface for receiving Form-related events.\r
+ *\r
+ * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/ui/implementing_form.htm">Form</a>.\r
+ */\r
+class IFormMenuEventListener\r
+ : virtual public Tizen::Base::Runtime::IEventListener\r
+{\r
+public:\r
+ /**\r
+ * This is the destructor for this class.\r
+ *\r
+ * @since 2.2\r
+ */\r
+ virtual ~IFormMenuEventListener(void) {}\r
+\r
+public:\r
+ /**\r
+ * Called when the current Form control needs to control the Menu button.\r
+ *\r
+ * @since 2.2\r
+ *\r
+ * @param[in] source The source of the event\r
+ * @remarks This event is fired when the user clicks on the software 'menu' button on the Footer control, or the hardware menu button on the device.\r
+ */\r
+ virtual void OnFormMenuRequested(Tizen::Ui::Controls::Form& source) = 0;\r
+\r
+protected:\r
+ //\r
+ //This method is for internal use only. Using this method can cause behavioral, security-related,\r
+ //and consistency-related issues in the application.\r
+ //\r
+ // This method is reserved and may change its name at any time without\r
+ // prior notice.\r
+ //\r
+ // @since 2.2\r
+ //\r
+ virtual void IFormMenuEventListener_Reserved1(void) { }\r
+\r
+ //\r
+ //This method is for internal use only. Using this method can cause behavioral, security-related,\r
+ //and consistency-related issues in the application.\r
+ //\r
+ // This method is reserved and may change its name at any time without\r
+ // prior notice.\r
+ //\r
+ // @since 2.2\r
+ //\r
+ virtual void IFormMenuEventListener_Reserved2(void) { }\r
+\r
+ //\r
+ //This method is for internal use only. Using this method can cause behavioral, security-related,\r
+ //and consistency-related issues in the application.\r
+ //\r
+ // This method is reserved and may change its name at any time without\r
+ // prior notice.\r
+ //\r
+ // @since 2.2\r
+ //\r
+ virtual void IFormMenuEventListener_Reserved3(void) { }\r
+}; // IFormMenuEventListener\r
+\r
+}}} // Tizen::Ui::Controls\r
+\r
+#endif // _FUI_CTRL_IFORM_MENU_EVENT_LISTENER_H_\r
}
bool
-Footer::IsOptionButtonSet(void) const
+Footer::IsMenuButtonSet(void) const
{
ClearLastResult();
SysAssertf(pFooterImpl != null,
"Not yet constructed. Construct() should be called before use.");
- return pFooterImpl->IsOptionButtonSet();
+ return pFooterImpl->IsMenuButtonSet();
}
ButtonItemStatus
-Footer::GetOptionButtonStatus(void) const
+Footer::GetMenuButtonStatus(void) const
{
ClearLastResult();
SysAssertf(pFooterImpl != null,
"Not yet constructed. Construct() should be called before use.");
- return pFooterImpl->GetOptionButtonStatus();
+ return pFooterImpl->GetMenuButtonStatus();
}
result
-Footer::RemoveOptionButton(void)
+Footer::RemoveMenuButton(void)
{
_FooterImpl* pFooterImpl = _FooterImpl::GetInstance(*this);
SysAssertf(pFooterImpl != null,
"Not yet constructed. Construct() should be called before use.");
- return pFooterImpl->RemoveOptionButton();
+ return pFooterImpl->RemoveMenuButton();
}
result
-Footer::SetOptionButtonEnabled(bool enable)
+Footer::SetMenuButtonEnabled(bool enable)
{
_FooterImpl* pFooterImpl = _FooterImpl::GetInstance(*this);
SysAssertf(pFooterImpl != null,
"Not yet constructed. Construct() should be called before use.");
- return pFooterImpl->SetOptionButtonEnabled(enable);
+ return pFooterImpl->SetMenuButtonEnabled(enable);
}
result
-Footer::SetOptionButton(void)
+Footer::SetMenuButton(void)
{
_FooterImpl* pFooterImpl = _FooterImpl::GetInstance(*this);
SysAssertf(pFooterImpl != null,
"Not yet constructed. Construct() should be called before use.");
- return pFooterImpl->SetOptionButton();
+ return pFooterImpl->SetMenuButton();
}
}}} // Tizen::Ui::Controls
}
void
-Form::SetFormControlEventListener(IFormControlEventListener* pFormControlEventListener)
+Form::SetFormMenuEventListener(IFormMenuEventListener* pFormMenuEventListener)
{
_FormImpl* pImpl = _FormImpl::GetInstance(*this);
SysAssertf(pImpl != null,
"Not yet constructed. Construct() should be called before use.");
- return pImpl->SetFormControlEventListener(pFormControlEventListener);
+ return pImpl->SetFormMenuEventListener(pFormMenuEventListener);
}
DataBindingContext*
if (position == BUTTON_POSITION_LEFT)
{
- SysTryReturnResult(NID_UI_CTRL, (IsOptionButtonSet() == false), E_SYSTEM,
+ SysTryReturnResult(NID_UI_CTRL, (IsMenuButtonSet() == false), E_SYSTEM,
"[E_SYSTEM] A Option button exists.");
}
else if (__style == FOOTER_STYLE_SEGMENTED_TEXT || __style == FOOTER_STYLE_SEGMENTED_ICON || __style == FOOTER_STYLE_SEGMENTED_ICON_TEXT
|| __style == FOOTER_STYLE_BUTTON_TEXT || __style == FOOTER_STYLE_BUTTON_ICON || __style == FOOTER_STYLE_BUTTON_ICON_TEXT)
{
- if (IsBackButtonSet() || IsOptionButtonSet())
+ if (IsBackButtonSet() || IsMenuButtonSet())
{
SysTryReturnResult(NID_UI_CTRL, (count < 4), E_MAX_EXCEEDED,
"[E_MAX_EXCEEDED] The number of items have exceeded the maximum limit.");
}
bool
-_FooterImpl::IsOptionButtonSet(void) const
+_FooterImpl::IsMenuButtonSet(void) const
{
return GetCore().IsButtonSet(OPTION_BUTTON);
}
ButtonItemStatus
-_FooterImpl::GetOptionButtonStatus(void) const
+_FooterImpl::GetMenuButtonStatus(void) const
{
- SysTryReturn(NID_UI_CTRL, (IsOptionButtonSet() == true), BUTTON_ITEM_STATUS_NORMAL, E_INVALID_OPERATION,
+ SysTryReturn(NID_UI_CTRL, (IsMenuButtonSet() == true), BUTTON_ITEM_STATUS_NORMAL, E_INVALID_OPERATION,
"[E_INVALID_OPERATION] A Option button doesn't exist");
_ButtonStatus buttonStatus;
result
-_FooterImpl::RemoveOptionButton(void)
+_FooterImpl::RemoveMenuButton(void)
{
return GetCore().RemoveButtonAt(OPTION_BUTTON);
}
result
-_FooterImpl::SetOptionButtonEnabled(bool enable)
+_FooterImpl::SetMenuButtonEnabled(bool enable)
{
return GetCore().SetButtonEnabled(OPTION_BUTTON, enable);
}
result
-_FooterImpl::SetOptionButton(void)
+_FooterImpl::SetMenuButton(void)
{
- bool isOptionButton = false;
+ bool isMenuButton = false;
- Tizen::System::SystemInfo::GetValue(L"http://tizen.org/feature/input.option_key", isOptionButton);
+ Tizen::System::SystemInfo::GetValue(L"http://tizen.org/feature/input.option_key", isMenuButton);
- if(isOptionButton)
+ if(isMenuButton)
{
- SysTryReturnResult(NID_UI_CTRL, 0, E_UNSUPPORTED_OPERATION, "[E_UNSUPPORTED_OPERATION] HW OptionButton exist");
+ SysTryReturnResult(NID_UI_CTRL, 0, E_UNSUPPORTED_OPERATION, "[E_UNSUPPORTED_OPERATION] HW MenuButton exist");
}
SysTryReturnResult(NID_UI_CTRL, (__style != FOOTER_STYLE_TAB), E_UNSUPPORTED_OPERATION,
_Form::_Form(void)
: __pFormPresenter(null)
, __pFormBackEventListener(null)
- , __pFormControlEventListener(null)
+ , __pFormMenuEventListener(null)
, __formStyle(0)
, __pActionEvent(null)
, __pHeader(null)
}
void
-_Form::SetFormControlEventListener(_IFormControlEventListener* pFormControlEventListener)
+_Form::SetFormMenuEventListener(_IFormMenuEventListener* pFormMenuEventListener)
{
SysTryReturnVoidResult(NID_UI_CTRL, __pFooter, E_INVALID_STATE, "[E_INVALID_STATE] Footer and Header aren't constructed.");
- __pFormControlEventListener = pFormControlEventListener;
+ __pFormMenuEventListener = pFormMenuEventListener;
if (__pFooter)
{
__pFooter->SetOptionEventListener(*this, ID_OPTION_BUTTON);
{
if (keyInfo.GetKeyCode() == _KEY_ESC || keyInfo.GetKeyCode() == _KEY_CLEAR)
{
- _Toolbar* pToolbar = GetFooter();
- if (pToolbar == null)
- {
- return null;
- }
+// _Toolbar* pToolbar = GetFooter();
+// if (pToolbar == null)
+// {
+// return null;
+// }
- if (pToolbar->IsButtonSet(BACK_BUTTON))
- {
+// if (pToolbar->IsButtonSet(BACK_BUTTON))
+// {
{
void* pData = GetUserData();
if (pData)
pDataImpl->OnFormBackRequested(*this);
}
}
- }
- {
- void* pData = GetUserData();
- if (pData)
- {
- _FormImpl* pDataImpl = static_cast<_FormImpl*>(pData);
- pDataImpl->OnFormBackButtonRequested(*this);
- }
- }
+// }
+// {
+// void* pData = GetUserData();
+// if (pData)
+// {
+// _FormImpl* pDataImpl = static_cast<_FormImpl*>(pData);
+// pDataImpl->OnFormBackButtonRequested(*this);
+// }
+// }
return true;
}
if (keyInfo.GetKeyCode() == _KEY_CONTEXT_MENU)
{
- _Toolbar* pToolbar = GetFooter();
- if (pToolbar == null)
- {
- return null;
- }
+// _Toolbar* pToolbar = GetFooter();
+// if (pToolbar == null)
+// {
+// return null;
+// }
{
void* pData = GetUserData();
if (pData)
{
_FormImpl* pDataImpl = static_cast<_FormImpl*>(pData);
- pDataImpl->OnFormOptionButtonRequested(*this);
+ pDataImpl->OnFormMenuRequested(*this);
}
}
{
__pFormBackEventListener->OnFormBackRequested(*this);
}
- if (__pFormControlEventListener)
- {
- __pFormControlEventListener->OnFormBackButtonRequested(*this);
- }
}
else
{
}
break;
case ID_OPTION_BUTTON :
- if (__pFormControlEventListener)
+ if (__pFormMenuEventListener)
{
- __pFormControlEventListener->OnFormOptionButtonRequested(*this);
+ __pFormMenuEventListener->OnFormMenuRequested(*this);
}
break;
: _ContainerImpl(pPublic, pCore, pPublicPortraitLayout, pPublicLandscapeLayout)
, __pForm(null)
, __pFormBackEventListener(null)
- , __pFormControlEventListener(null)
+ , __pFormMenuEventListener(null)
, __pOriAgent(null)
, __pImeOriAgent(null)
, __pLeftSoftkeyActionEvent(null)
SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
//[ToDo]
GetCore().SetFormBackEventListener(this);
- GetCore().SetFormControlEventListener(this);
+ GetCore().SetFormMenuEventListener(this);
}
}
else if (formStyle & FORM_STYLE_SOFTKEY_0 || formStyle & FORM_STYLE_SOFTKEY_1 || formStyle & FORM_STYLE_OPTIONKEY)
}
void
-_FormImpl::SetFormControlEventListener(const IFormControlEventListener* pFormControlEventListener)
+_FormImpl::SetFormMenuEventListener(const IFormMenuEventListener* pFormMenuEventListener)
{
SysTryReturnVoidResult(NID_UI_CTRL, GetFooter() || GetHeader(), E_INVALID_STATE, "[E_INVALID_STATE] Footer isn't constructed.");
- __pFormControlEventListener = const_cast <IFormControlEventListener*>(pFormControlEventListener);
- GetCore().SetFormControlEventListener(this);
+ __pFormMenuEventListener = const_cast <IFormMenuEventListener*>(pFormMenuEventListener);
+ GetCore().SetFormMenuEventListener(this);
result r = GetLastResult();
SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
}
}
void
-_FormImpl::OnFormBackButtonRequested(Tizen::Ui::Controls::_Form& source)
+_FormImpl::OnFormMenuRequested(Tizen::Ui::Controls::_Form& source)
{
- if (__pFormControlEventListener)
+ if (__pFormMenuEventListener)
{
_FormImpl* pFormImpl = static_cast<_FormImpl*>(source.GetUserData());
Form* pForm = dynamic_cast <Form*>(&pFormImpl->GetPublic());
if (pForm)
{
- __pFormControlEventListener->OnFormBackButtonRequested(*pForm);
- }
- else
- {
- return;
- }
- }
-}
-
-void
-_FormImpl::OnFormOptionButtonRequested(Tizen::Ui::Controls::_Form& source)
-{
- if (__pFormControlEventListener)
- {
- _FormImpl* pFormImpl = static_cast<_FormImpl*>(source.GetUserData());
- Form* pForm = dynamic_cast <Form*>(&pFormImpl->GetPublic());
- if (pForm)
- {
- __pFormControlEventListener->OnFormOptionButtonRequested(*pForm);
+ __pFormMenuEventListener->OnFormMenuRequested(*pForm);
}
else
{
virtual void OnActionPerformed(const Tizen::Ui::_Control& source, int actionId);
- bool IsOptionButtonSet(void) const;
+ bool IsMenuButtonSet(void) const;
- ButtonItemStatus GetOptionButtonStatus(void) const;
+ ButtonItemStatus GetMenuButtonStatus(void) const;
- result RemoveOptionButton(void);
+ result RemoveMenuButton(void);
- result SetOptionButtonEnabled(bool enable);
+ result SetMenuButtonEnabled(bool enable);
- result SetOptionButton(void);
+ result SetMenuButton(void);
private:
class _ActionEvent;
class _OverlayRegionImpl;
class _IFormBackEventListener;
-class _IFormControlEventListener;
+class _IFormMenuEventListener;
enum _FormStyle
{
static _Form* CreateFormN(void);
void SetFormBackEventListener(_IFormBackEventListener* pFormBackEventListener);
- void SetFormControlEventListener(_IFormControlEventListener* pFormControlEventListener);
+ void SetFormMenuEventListener(_IFormMenuEventListener* pFormMenuEventListener);
unsigned long GetFormStyle(void) const;
_Toolbar* GetFooter(void) const;
private:
_FormPresenter* __pFormPresenter;
_IFormBackEventListener* __pFormBackEventListener;
- _IFormControlEventListener* __pFormControlEventListener;
+ _IFormMenuEventListener* __pFormMenuEventListener;
unsigned long __formStyle;
_ActionEvent* __pActionEvent;
#include "FUi_ContainerImpl.h"
#include "FUiCtrl_Form.h"
#include "FUiCtrl_IFormBackEventListener.h"
-#include "FUiCtrl_IFormControlEventListener.h"
+#include "FUiCtrl_IFormMenuEventListener.h"
namespace Tizen { namespace Ui {
class DataBindingContext;
: public _ContainerImpl
, public Tizen::Ui::Controls::_IActionEventListener
, public Tizen::Ui::Controls::_IFormBackEventListener
- , public Tizen::Ui::Controls::_IFormControlEventListener
+ , public Tizen::Ui::Controls::_IFormMenuEventListener
, virtual public Tizen::Base::Runtime::IEventListener
, public _IFormOrientationStatusEventListener
{
_ControlImpl* GetFocusControl(void);
void SetFormBackEventListener(const IFormBackEventListener* pFormBackEventListener);
- void SetFormControlEventListener(const IFormControlEventListener* pFormControlEventListener);
+ void SetFormMenuEventListener(const IFormMenuEventListener* pFormMenuEventListener);
unsigned long GetFormStyle(void) const;
_FooterImpl* GetFooter(void) const;
virtual bool IsOpaque(void) const;
virtual void OnFormBackRequested(Tizen::Ui::Controls::_Form& source);
- virtual void OnFormBackButtonRequested(Tizen::Ui::Controls::_Form& source);
- virtual void OnFormOptionButtonRequested(Tizen::Ui::Controls::_Form& source);
+ virtual void OnFormMenuRequested(Tizen::Ui::Controls::_Form& source);
virtual Tizen::Ui::OrientationStatus OnFormOrientationStatusRequested(void);
private:
_Form* __pForm;
IFormBackEventListener* __pFormBackEventListener;
- IFormControlEventListener* __pFormControlEventListener;
+ IFormMenuEventListener* __pFormMenuEventListener;
Tizen::Ui::_OrientationAgent* __pOriAgent;
Tizen::Ui::_ImeOrientationAgent* __pImeOriAgent;
--- /dev/null
+//\r
+// Open Service Platform\r
+// Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.\r
+//\r
+// Licensed under the Apache License, Version 2.0 (the License);\r
+// you may not use this file except in compliance with the License.\r
+// You may obtain a copy of the License at\r
+//\r
+// http://www.apache.org/licenses/LICENSE-2.0/\r
+//\r
+// Unless required by applicable law or agreed to in writing, software\r
+// distributed under the License is distributed on an "AS IS" BASIS,\r
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+// See the License for the specific language governing permissions and\r
+// limitations under the License.\r
+//\r
+/**\r
+ * @file FUiCtrl_IFormMenuEventListener.h\r
+ * @brief This is the header file for the _IFormControlEventListener interface.\r
+ *\r
+ * This header file contains the declarations of the _IFormMenuEventListener interface.\r
+ */\r
+#ifndef _FUI_CTRL_INTERNAL_IFORM_MENU_EVENT_LISTENER_H_\r
+#define _FUI_CTRL_INTERNAL_IFORM_MENU_EVENT_LISTENER_H_\r
+\r
+// includes\r
+#include <FBaseRtIEventListener.h>\r
+\r
+// namespace declaration\r
+namespace Tizen { namespace Ui { namespace Controls\r
+{\r
+\r
+class _Form;\r
+\r
+/**\r
+ * @interface _IFormMenuEventListener\r
+ * @brief This interface implements the listener for Form related events.\r
+ * @since 2.2\r
+ *\r
+ * The %_IFormMenuEventListener interface is the listener interface for receiving Form-related events.\r
+ *\r
+ * For more information on the class features, see <a href="../com.osp.cppappprogramming.help/html/dev_guide/ui/implementing_form.htm">Form</a>.\r
+ */\r
+class _IFormMenuEventListener\r
+ : virtual public Tizen::Base::Runtime::IEventListener\r
+{\r
+public:\r
+ /**\r
+ * This is the destructor for this class.\r
+ * @since 2.2\r
+ */\r
+ virtual ~_IFormMenuEventListener(void) {}\r
+\r
+public:\r
+ /**\r
+ * Called when the current %Form control needs to be control the Menu button.\r
+ *\r
+ * @since 2.2\r
+ * @param[in] source The source of the event\r
+ * @remarks This event is fired when the user clicks on the software 'menu' button on the Footer control, or the hardware menu button on the device.\r
+ */\r
+ virtual void OnFormMenuRequested(Tizen::Ui::Controls::_Form& source) = 0;\r
+\r
+\r
+protected:\r
+ //\r
+ //This method is for internal use only. Using this method can cause behavioral, security-related,\r
+ //and consistency-related issues in the application.\r
+ //\r
+ // Following method is reserved and may change its name at any time without\r
+ // prior notice.\r
+ //\r
+ // @since 2.2\r
+ //\r
+ virtual void _IFormMenuEventListener_Reserved1(void) { }\r
+\r
+ //\r
+ //This method is for internal use only. Using this method can cause behavioral, security-related,\r
+ //and consistency-related issues in the application.\r
+ //\r
+ // Following method is reserved and may change its name at any time without\r
+ // prior notice.\r
+ //\r
+ // @since 2.2\r
+ //\r
+ virtual void _IFormMenuEventListener_Reserved2(void) { }\r
+\r
+ //\r
+ //This method is for internal use only. Using this method can cause behavioral, security-related,\r
+ //and consistency-related issues in the application.\r
+ //\r
+ // Following method is reserved and may change its name at any time without\r
+ // prior notice.\r
+ //\r
+ // @since 2.2\r
+ //\r
+ virtual void _IFormMenuEventListener_Reserved3(void) { }\r
+}; // _IFormControlEventListener\r
+\r
+}}} // Tizen::Ui::Controls\r
+\r
+#endif // _FUI_CTRL_INTERNAL_IFORM_MENU_EVENT_LISTENER_H_\r