X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Ftable-view%2Ftable-view.cpp;h=126c25480fb98e49782cc82ac7671bef4dbb8d55;hb=a3353d4f3763da656966e8e9a1c223c7e9585a13;hp=82e6e10ae7dc6f098f4516369d1398afc0896e03;hpb=834ddf7832598a57fc18c282371554a1ed8f0a78;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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 82e6e10..126c254 100644 --- a/dali-toolkit/public-api/controls/table-view/table-view.cpp +++ b/dali-toolkit/public-api/controls/table-view/table-view.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2015 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. @@ -29,10 +29,6 @@ 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() { } @@ -137,22 +133,22 @@ Size TableView::GetCellPadding() void TableView::SetFitHeight( unsigned int rowIndex ) { - GetImpl(*this).SetRowPolicy( rowIndex, Internal::TableView::FIT ); + GetImpl(*this).SetFitHeight( rowIndex ); } bool TableView::IsFitHeight( unsigned int rowIndex ) const { - return ( GetImpl(*this).GetRowPolicy( rowIndex ) == Internal::TableView::FIT ); + return GetImpl(*this).IsFitHeight( rowIndex ); } void TableView::SetFitWidth( unsigned int columnIndex ) { - GetImpl(*this).SetColumnPolicy( columnIndex, Internal::TableView::FIT ); + GetImpl(*this).SetFitWidth( columnIndex ); } bool TableView::IsFitWidth( unsigned int columnIndex ) const { - return ( GetImpl(*this).GetColumnPolicy( columnIndex ) == Internal::TableView::FIT ); + return GetImpl(*this).IsFitWidth( columnIndex ); } void TableView::SetFixedHeight( unsigned int rowIndex, float height )