2 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #include "expanding-buttons-impl.h"
18 #include "expanding-buttons.h"
23 ExpandingButtons::ExpandingButtons()
27 ExpandingButtons::ExpandingButtons( const ExpandingButtons& expandingButtons )
28 : Control( expandingButtons )
32 ExpandingButtons& ExpandingButtons::operator= ( const ExpandingButtons& rhs )
36 Control::operator=( rhs );
41 ExpandingButtons::~ExpandingButtons()
45 ExpandingButtons ExpandingButtons::New()
47 ExpandingButtons expandingButtons = Internal::ExpandingButtons::New();
48 return expandingButtons;
51 ExpandingButtons ExpandingButtons::DownCast( BaseHandle handle )
53 return Control::DownCast< ExpandingButtons, Internal::ExpandingButtons > ( handle );
56 void ExpandingButtons::RegisterButton( Control& control )
58 GetImpl(*this).RegisterButton( control );
61 void ExpandingButtons::Expand()
63 GetImpl(*this).Expand();
65 void ExpandingButtons::Collapse()
67 GetImpl(*this).Collapse();
70 Demo::ExpandingButtons::ExpandingButtonsSignalType& ExpandingButtons::CollapsingSignal()
72 return GetImpl(*this).CollapsingSignal();
75 ExpandingButtons::ExpandingButtons( Internal::ExpandingButtons& implementation )
76 : Control( implementation )
80 ExpandingButtons::ExpandingButtons( Dali::Internal::CustomActor* internal )
83 VerifyCustomActorPointer< Internal::ExpandingButtons >( internal ) ;