3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
\r
5 // Licensed under the Flora License, Version 1.0 (the License);
\r
6 // you may not use this file except in compliance with the License.
\r
7 // You may obtain a copy of the License at
\r
9 // http://floralicense.org/license/
\r
11 // Unless required by applicable law or agreed to in writing, software
\r
12 // distributed under the License is distributed on an AS IS BASIS,
\r
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 // See the License for the specific language governing permissions and
\r
15 // limitations under the License.
\r
18 /*@file: DefaultCustomItem
\r
19 *@brief: This class defines common behaviour of custom Item.
\r
23 #ifndef _INT_DEFAULT_CUSTOM_ITEM_H_
\r
24 #define _INT_DEFAULT_CUSTOM_ITEM_H_
\r
29 #include <FGraphics.h>
\r
33 class DefaultCustomItem
\r
34 : public Tizen::Ui::Controls::CustomItem
\r
39 * @brief The Default Constructor
\r
41 DefaultCustomItem(void);
\r
44 * @brief The Default Destructor
\r
46 virtual ~DefaultCustomItem(void);
\r
49 * @brief Initializes this instance of %DropDownCustomItem.
\r
51 result Construct(int width, int height);
\r
54 //getter and setter methods for Text
\r
57 * @brief The method used to get the text of CustomItem
\r
59 Tizen::Base::String GetText(void);
\r
62 * @brief Add all the required elements and create the Custom Item.
\r
67 * @brief The method used to set the text of CustomItem
\r
69 void SetText(Tizen::Base::String& text);
\r
71 static const int IDA_FORMAT_STRING;
\r
74 int __height; ///Height of the SettingToggleCustomItem Instance
\r
75 Tizen::Base::String __text; ///The Text for the Toggle Button
\r
76 int __width; ///Width of the SettingToggleCustomItem Instance
\r
79 #endif /* _INT_DEFAULT_CUSTOM_ITEM_H_ */
\r