org.xwiki.gwt.wysiwyg.client.plugin.table.util
Class TableConfig

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.xwiki.gwt.dom.client.JavaScriptObject
          extended by org.xwiki.gwt.wysiwyg.client.plugin.table.util.TableConfig

public class TableConfig
extends JavaScriptObject

Version:
$Id: 78775fc327fa2f1eda8a7c4c4bf8d39d6178d369 $

Constructor Summary
protected TableConfig()
          Default constructor.
 
Method Summary
 int getBorderSize()
          Size of table border.
 int getColNumber()
          Number of columns in the table.
 int getRowNumber()
          Number of rows in the table.
 boolean hasHeader()
          Does the table contain a header row.
 
Methods inherited from class org.xwiki.gwt.dom.client.JavaScriptObject
fromJson, get, getKeys, remove, set, typeOf
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableConfig

protected TableConfig()
Default constructor. Overlay types always have protected, zero-arguments constructors.

Method Detail

getRowNumber

public final int getRowNumber()
Number of rows in the table.

Returns:
number of rows.

getColNumber

public final int getColNumber()
Number of columns in the table.

Returns:
number of columns.

getBorderSize

public final int getBorderSize()
Size of table border.

Returns:
size of border in pixels.

hasHeader

public final boolean hasHeader()
Does the table contain a header row.

Returns:
true if the table has a header row.


Copyright © 2004-2012 XWiki. All Rights Reserved.