/*
- * 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.
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()
{
}
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 );
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)
{