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 FUiCtrlTableViewGroupItem.h
20 * @brief This is the header file for the %TableViewGroupItem class.
22 * This header file contains the declarations of the %TableViewGroupItem class and its helper classes.
25 #ifndef _FUI_CTRL_TABLE_VIEW_GROUP_ITEM_H_
26 #define _FUI_CTRL_TABLE_VIEW_GROUP_ITEM_H_
28 #include <FUiCtrlTableViewItemBase.h>
30 namespace Tizen { namespace Ui { namespace Controls
33 * @class TableViewGroupItem
34 * @brief This class defines common behavior of %TableViewGroupItem.
38 * The %TableViewGroupItem class displays a table view group item. The %TableViewGroupItem can have any layout of Controls or Containers as children.
41 class _OSP_EXPORT_ TableViewGroupItem
42 : public TableViewItemBase
46 * The object is not fully constructed after this constructor is called. Hence, the Construct() method must be called after calling this constructor.
50 TableViewGroupItem(void);
53 * This destructor overrides Tizen::Base::Object::~Object().
57 virtual ~TableViewGroupItem(void);
60 * Initializes this instance of %TableViewGroupItem with the specified parameter.
64 * @return An error code
65 * @param[in] itemSize The size of the item
66 * @exception E_SUCCESS The method is successful.
67 * @exception E_INVALID_ARG A specified input parameter is invalid.
69 result Construct(const Tizen::Graphics::Dimension& itemSize);
72 * Initializes this instance of %TableViewGroupItem with the specified parameter.
76 * @return An error code
77 * @param[in] layout The layout for both of the portrait and landscape modes
78 * @param[in] itemSize The size of the item
79 * @exception E_SUCCESS The method is successful.
80 * @exception E_INVALID_ARG A specified input parameter is invalid.
82 result Construct(const Tizen::Ui::Layout& layout, const Tizen::Graphics::Dimension& itemSize);
85 * Initializes this instance of %TableViewGroupItem with the specified parameter.
89 * @return An error code
90 * @param[in] portraitLayout The layout for portrait mode
91 * @param[in] landscapeLayout The layout for landscape mode
92 * @param[in] itemSize The size of the item
93 * @exception E_SUCCESS The method is successful.
94 * @exception E_INVALID_ARG A specified input parameter is invalid.
96 result Construct(const Tizen::Ui::Layout& portraitLayout, const Tizen::Ui::Layout& landscapeLayout, const Tizen::Graphics::Dimension& itemSize);
99 friend class _TableViewItemImpl;
101 // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
102 TableViewGroupItem(const TableViewGroupItem& rhs);
104 // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
105 TableViewGroupItem& operator =(const TableViewGroupItem& rhs);
106 }; // TableViewGroupItem
108 }}} // Tizen::Ui::Controls
110 #endif // _FUI_CTRL_TABLE_VIEW_GROUP_ITEM_H_