2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 * @file FUiCtrlIExpandableEditAreaEventListener.h
19 * @brief This is the header file for the %IExpandableEditAreaEventListener interface.
21 * This header file contains the declarations of the %IExpandableEditAreaEventListener interface.
23 #ifndef _FUI_CTRL_IEXPANDABLE_EDIT_AREA_EVENT_LISTENER_H_
24 #define _FUI_CTRL_IEXPANDABLE_EDIT_AREA_EVENT_LISTENER_H_
27 #include <FBaseRtIEventListener.h>
28 #include <FUiCtrlExpandableEditArea.h>
30 namespace Tizen { namespace Ui
35 // namespace declaration
36 namespace Tizen { namespace Ui { namespace Controls
39 * @interface IExpandableEditAreaEventListener
40 * @brief This interface defines a listener for the %ExpandableEditArea events.
44 * The %IExpandableEditAreaEventListener interface is the listener interface for receiving %ExpandableEditArea events. @n
46 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/ui/implementing_exp_editarea.htm">ExpandableEditArea</a>.
49 class _OSP_EXPORT_ IExpandableEditAreaEventListener
50 : public Tizen::Base::Runtime::IEventListener
56 * This is the destructor for this class.
60 virtual ~IExpandableEditAreaEventListener(void) {}
66 * Called when a new line is added to ExpandableEditArea.
70 * @param[in] source The source of the event
71 * @param[in] newLineCount The new line count
73 virtual void OnExpandableEditAreaLineAdded(Tizen::Ui::Controls::ExpandableEditArea& source, int newLineCount) = 0;
76 * Called when a line is removed from ExpandableEditArea.
80 * @param[in] source The source of the event
81 * @param[in] newLineCount The new line count
83 virtual void OnExpandableEditAreaLineRemoved(Tizen::Ui::Controls::ExpandableEditArea& source, int newLineCount) = 0;
89 // This method is for internal use only.
90 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
92 // This method is reserved and may change its name at any time without prior notice.
96 virtual void IExpandableEditAreaEventListener_Reserved1(void) { }
99 // This method is for internal use only.
100 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
102 // This method is reserved and may change its name at any time without prior notice.
106 virtual void IExpandableEditAreaEventListener_Reserved2(void) { }
109 // This method is for internal use only.
110 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
112 // This method is reserved and may change its name at any time without prior notice.
116 virtual void IExpandableEditAreaEventListener_Reserved3(void) { }
117 }; // IExpandableEditAreaEventListener
119 }}} // Tizen::Ui::Controls
121 #endif //_FUI_CTRL_IEXPANDABLE_EDIT_AREA_EVENT_LISTENER_H_