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=7c77387e99f722ce8985d7f086f2c470b63b8bfa;hpb=57869973578f6a0b0f836d396c7232ddb8302c6b;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 7c77387..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() { } @@ -135,6 +131,26 @@ Size TableView::GetCellPadding() return GetImpl(*this).GetCellPadding(); } +void TableView::SetFitHeight( unsigned int rowIndex ) +{ + GetImpl(*this).SetFitHeight( rowIndex ); +} + +bool TableView::IsFitHeight( unsigned int rowIndex ) const +{ + return GetImpl(*this).IsFitHeight( rowIndex ); +} + +void TableView::SetFitWidth( unsigned int columnIndex ) +{ + GetImpl(*this).SetFitWidth( columnIndex ); +} + +bool TableView::IsFitWidth( unsigned int columnIndex ) const +{ + return GetImpl(*this).IsFitWidth( columnIndex ); +} + void TableView::SetFixedHeight( unsigned int rowIndex, float height ) { GetImpl(*this).SetFixedHeight( rowIndex, height ); @@ -185,6 +201,11 @@ unsigned int TableView::GetColumns() return GetImpl(*this).GetColumns(); } +void TableView::SetCellAlignment( CellPosition position, HorizontalAlignment::Type horizontal, VerticalAlignment::Type vertical ) +{ + GetImpl(*this).SetCellAlignment( position, horizontal, vertical ); +} + TableView::TableView(Internal::TableView& implementation) : Control(implementation) {