|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odftoolkit.odfdom.doc.table.OdfTableCellRange
org.odftoolkit.simple.table.CellRange
in Simple API.
public class OdfTableCellRange
OdfTableCellRange represent a rang of cells that are adjacent with each other
OdfTableCellRange provides methods to get/set/modify the properties of cell range.
Method Summary | |
---|---|
OdfTableCell |
getCellByPosition(int clmIndex,
int rowIndex)
Deprecated. Returns a single cell that is positioned at specified column and row. |
OdfTableCell |
getCellByPosition(String address)
Deprecated. Returns a single cell that is positioned at specified cell address. |
String |
getCellRangeName()
Deprecated. Get the name of the named cell range. |
int |
getColumnNumber()
Deprecated. Get the number of columns in this cell range. |
int |
getRowNumber()
Deprecated. Get the number of rows in this cell range. |
OdfTable |
getTable()
Deprecated. Get the OdfTable instance who contains this cell range. |
void |
merge()
Deprecated. Merge the current cell range to one cell |
void |
setCellRangeName(String cellRangeName)
Deprecated. Set the name of the current cell range. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void merge()
public String getCellRangeName()
public void setCellRangeName(String cellRangeName)
cellRangeName
- the name that need to setpublic OdfTable getTable()
OdfTable
instance who contains this cell range.
public int getRowNumber()
public int getColumnNumber()
public OdfTableCell getCellByPosition(int clmIndex, int rowIndex) throws IndexOutOfBoundsException
clmIndex
- the column index of the cell inside the range.rowIndex
- the row index of the cell inside the range.
IndexOutOfBoundsException
- if the column/row index is bigger than the column/row countpublic OdfTableCell getCellByPosition(String address)
address
- the cell address of the cell inside the range.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |