org.jopendocument.dom.spreadsheet
Class TableGroup

java.lang.Object
  extended by org.jopendocument.dom.ODNode
      extended by org.jopendocument.dom.spreadsheet.TableGroup

public class TableGroup
extends ODNode

A group of columns/rows that can be hidden.

Author:
Sylvain CUAZ

Method Summary
 boolean contains(int i)
           
 List<TableGroup> getChildren()
           
 int getFirst()
          The index of the first row/column in this group.
 int getHeaderCount()
           
 TableGroup getParent()
          The parent of this group.
 int getSize()
           
 Table<?> getTable()
           
 boolean isDisplayed()
           
 
Methods inherited from class org.jopendocument.dom.ODNode
getElement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTable

public final Table<?> getTable()

getParent

public final TableGroup getParent()
The parent of this group.

Returns:
the parent, null if this is the root group.

getChildren

public final List<TableGroup> getChildren()

isDisplayed

public final boolean isDisplayed()

getFirst

public final int getFirst()
The index of the first row/column in this group.

Returns:
index of the first element.

getHeaderCount

public final int getHeaderCount()

getSize

public final int getSize()

contains

public final boolean contains(int i)


Copyright © 2010 jOpenDocument All Rights Reserved.