org.xwiki.gwt.wysiwyg.client.plugin.table
Class TableDescriptor

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.table.TableDescriptor

public class TableDescriptor
extends java.lang.Object

Describes a table.

Version:
$Id: TableDescriptor.java 26786 2010-02-07 16:46:17Z mflorea $

Constructor Summary
TableDescriptor()
           
 
Method Summary
 int getColumnCount()
           
 int getRowCount()
           
 boolean isWithHeader()
           
 void setColumnCount(int columnCount)
          Sets the number of columns.
 void setRowCount(int rowCount)
          Sets the number of rows.
 void setWithHeader(boolean withHeader)
          Specifies if the table has a header or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableDescriptor

public TableDescriptor()
Method Detail

getRowCount

public int getRowCount()
Returns:
the number of rows

setRowCount

public void setRowCount(int rowCount)
Sets the number of rows.

Parameters:
rowCount - the number of rows

getColumnCount

public int getColumnCount()
Returns:
the number of columns

setColumnCount

public void setColumnCount(int columnCount)
Sets the number of columns.

Parameters:
columnCount - the number of columns

isWithHeader

public boolean isWithHeader()
Returns:
true if the table has a header, false otherwise

setWithHeader

public void setWithHeader(boolean withHeader)
Specifies if the table has a header or not.

Parameters:
withHeader - true to have a header, false otherwise


Copyright © 2004-2011 XWiki. All Rights Reserved.