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_PanelImpl.h
20 * @brief This is the header file for the _PanelImpl class.
22 * This header file contains the declarations of the _PanelImpl class.
25 #ifndef _FUI_CTRL_INTERNAL_PANEL_IMPL_H_
26 #define _FUI_CTRL_INTERNAL_PANEL_IMPL_H_
28 #include <FUiCtrlPanel.h>
29 #include "FUi_ContainerImpl.h"
30 #include "FUiCtrl_Panel.h"
32 namespace Tizen { namespace Ui
34 class DataBindingContext;
37 namespace Tizen { namespace Ui { namespace Controls
41 : public _ContainerImpl
46 virtual ~_PanelImpl(void);
48 static _PanelImpl* CreatePanelImplN(Panel* pControl, const Tizen::Graphics::Rectangle& rect, GroupStyle groupStyle, Layout* pPublicPortraitLayout = null, Layout* pPublicLandscapeLayout = null);
52 static const _PanelImpl* GetInstance(const Panel& panel);
53 static _PanelImpl* GetInstance(Panel& panel);
55 virtual const char* GetPublicClassName(void) const;
56 virtual const Panel& GetPublic(void) const;
57 virtual Panel& GetPublic(void);
58 virtual const _Panel& GetCore(void) const;
59 virtual _Panel& GetCore(void);
61 virtual result OnAttachedToMainTree(void);
65 void SetBackgroundColor(const Tizen::Graphics::Color& color);
67 void SetChildBuilderBouds(_ContainerImpl* pContainerImpl, _ControlOrientation controlOrientation);
68 result SetCompositeEnabled(bool enabled);
69 bool IsCompositeEnabled(void) const;
71 DataBindingContext* GetDataBindingContextN(void) const;
74 _PanelImpl(Control* pPublic, _Control* pCore, Layout* pPublicPortraitLayout = null, Layout* pPublicLandscapeLayout = null);
77 // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
78 _PanelImpl(const _PanelImpl& rhs);
80 // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
81 _PanelImpl& operator =(const _PanelImpl& rhs);
85 }}} //Tizen::Ui::Controls
87 #endif //_FUI_CTRL_INTERNAL_PANEL_IMPL_H_