X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Ftable-view%2Ftable-view.cpp;h=7c77387e99f722ce8985d7f086f2c470b63b8bfa;hp=4d24415c1d1c61a91d021e26e18c59127bc14cfe;hb=61cec43aa084293be7e3002db0a24de1cd9a2677;hpb=e2eda444afbe82e9591fe198eef339227f90a616 diff --git a/dali-toolkit/public-api/controls/table-view/table-view.cpp b/dali-toolkit/public-api/controls/table-view/table-view.cpp index 4d24415..7c77387 100644 --- a/dali-toolkit/public-api/controls/table-view/table-view.cpp +++ b/dali-toolkit/public-api/controls/table-view/table-view.cpp @@ -1,18 +1,19 @@ -// -// Copyright (c) 2014 Samsung Electronics Co., Ltd. -// -// Licensed under the Flora License, Version 1.0 (the License); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://floralicense.org/license/ -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an AS IS BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// +/* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ // CLASS HEADER #include @@ -28,6 +29,10 @@ namespace Dali namespace Toolkit { +const std::string TableView::CELL_INDICES_PROPERTY_NAME("cell-indices"); +const std::string TableView::ROW_SPAN_PROPERTY_NAME("row-span"); +const std::string TableView::COLUMN_SPAN_PROPERTY_NAME("column-span"); + TableView::TableView() { } @@ -170,16 +175,6 @@ float TableView::GetRelativeWidth( unsigned int columnIndex ) const return GetImpl(*this).GetRelativeWidth( columnIndex ); } -void TableView::SetLayoutAnimationDuration( float duration ) -{ - GetImpl(*this).SetLayoutAnimationDuration( duration ); -} - -float TableView::GetLayoutAnimationDuration() -{ - return GetImpl(*this).GetLayoutAnimationDuration(); -} - unsigned int TableView::GetRows() { return GetImpl(*this).GetRows();