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.
19 * @file FUiCtrl_TableViewItemEventArg.h
20 * @brief This is the header file for the _TableViewItemEventArg class.
22 * This header file contains the declarations of the _TableViewItemEventArg class.
25 #ifndef _FUI_CTRL_INTERNAL_TABLE_VIEW_ITEM_EVENT_ARG_H_
26 #define _FUI_CTRL_INTERNAL_TABLE_VIEW_ITEM_EVENT_ARG_H_
28 #include <FBaseObject.h>
29 #include <FUiControl.h>
30 #include <FUiCtrlTableViewTypes.h>
31 #include <FBaseRtIEventArg.h>
32 #include <FBaseRt_Event.h>
39 enum TableViewNotifyType {
40 TABLEVIEW_NOTIFY_TYPE_SELECTED_ITEM = 0,
41 TABLEVIEW_NOTIFY_TYPE_HIGHLIGHED_ITEM,
42 TABLEVIEW_NOTIFY_TYPE_ANNEX_CHECK,
43 TABLEVIEW_NOTIFY_TYPE_ANNEX_UNCHECK,
44 TABLEVIEW_NOTIFY_TYPE_ANNEX_MORE,
45 TABLEVIEW_NOTIFY_TYPE_SELCTED_CONTEXT_ITEM,
46 TABLEVIEW_NOTIFY_TYPE_ITEM_SWEPT,
47 TABLEVIEW_NOTIFY_TYPE_TOUCH_LONG_PRESSED,
48 TABLEVIEW_NOTIFY_TYPE_REORDERED_ITEM,
49 TABLEVIEW_NOTIFY_TYPE_CONTEXT_ITEM_ACTIVATION,
50 TABLEVIEW_NOTIFY_TYPE_NONE = 0xff
53 class _TableViewItemEventArg
54 : public Tizen::Base::Runtime::IEventArg
55 , public Tizen::Base::Object
59 _TableViewItemEventArg(int arg1, int arg2, int arg3,int arg4, _TableViewItem* pItem, TableViewNotifyType type, bool activated = false);
61 virtual ~_TableViewItemEventArg(void);
64 int GetArg1(void) const;
66 int GetArg2(void) const;
68 int GetArg3(void) const;
70 int GetArg4(void) const;
72 _TableViewItem* GetItem(void) const;
74 TableViewNotifyType GetNotifyType(void) const;
76 bool GetActivated(void) const;
79 _TableViewItemEventArg(_TableViewItemEventArg& rhs);
80 _TableViewItemEventArg& operator=(const _TableViewItemEventArg& rhs);
84 int __arg1; // use by groupIndex
85 int __arg2; // use by itemIndex
88 _TableViewItem* __pItem;
89 TableViewNotifyType __type;
92 // _TableViewItemEventArg
94 }}} // Tizen::Ui::Controls
96 #endif // _FUI_CTRL_INTERNAL_TABLE_VIEW_ITEM_EVENT_ARG_H_