2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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 FUiIFastScrollEventListener.h
19 * @brief This is the header file for the %IFastScrollEventListener interface.
21 * This header file contains declarations of the %IFastScrollEventListener interface.
22 * If item event is generated, a method of this interface will be called.
23 * Applications that do some jobs related to item event, call methods of this interface.
26 #ifndef _FUI_IFAST_SCROLL_EVENT_LISTENER_H_
27 #define _FUI_IFAST_SCROLL_EVENT_LISTENER_H_
29 #include <FBaseCharacter.h>
30 #include <FBaseRtIEventListener.h>
31 #include <FUiIItemEventListener.h>
33 namespace Tizen { namespace Ui
38 namespace Tizen {namespace Ui
43 * @interface IFastScrollEventListener
44 * @brief <i> [Deprecated] </i> This interface implements the listener for fast scroll event.
46 * @deprecated This interface is deprecated. Instead of using this interface, use the IFastScrollListener interface.
50 * The %IFastScrollEventListener interface for receiving item events. The class that processes a fast scroll
51 * implements this interface, and the object created with that class is registered with a UI control, using the control's
52 * AddFastScrollEventListener method. When an item event occurs, the object's OnItemStateChanged() method is invoked.
55 class _OSP_EXPORT_ IFastScrollEventListener
56 : public Tizen::Base::Runtime::IEventListener
62 * This is the destructor for this class.
64 * @brief <i> [Deprecated] </i>
65 * @deprecated This interface is deprecated. Instead of using this interface, use the IFastScrollListener interface.
69 virtual ~IFastScrollEventListener(void) {}
73 * Called when a main index is selected.
75 * @brief <i> [Deprecated] </i>
76 * @deprecated This interface is deprecated. Instead of using this interface, use the IFastScrollListener interface.
79 * @param[in] source The source of the event
80 * @param[in] mainIndex The main index
83 virtual void OnMainIndexChanged(const Tizen::Ui::Control& source, Tizen::Base::Character& mainIndex) = 0;
87 * Called when a main index is expanded.
89 * @brief <i> [Deprecated] </i>
90 * @deprecated This interface is deprecated. Instead of using this interface, use the IFastScrollListener interface.
93 * @param[in] source The source of the event
94 * @param[in] mainIndex The main index
97 virtual void OnMainIndexSelected(const Tizen::Ui::Control& source, Tizen::Base::Character& mainIndex) = 0;
101 virtual void IFastScrollEventListener_Reserved1(void) {}
102 virtual void IFastScrollEventListener_Reserved2(void) {}
103 virtual void IFastScrollEventListener_Reserved3(void) {}
104 }; // IFastScrollEventListener
108 #endif // _FUI_IFAST_SCROLL_EVENT_LISTENER_H_