com.antelmann.ooffice
Class Cell.Location
java.lang.Object
com.antelmann.ooffice.Cell.Location
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Cell
public static class Cell.Location
- extends Object
- implements Serializable
represents an immutable cell location in a spreadsheet or a writer document
- See Also:
- Serialized Form
Cell.Location
public Cell.Location(String sheetOrTableName,
String cellAddress)
Cell.Location
public Cell.Location(int sheetOrTableIndex,
int row,
int column)
Cell.Location
public Cell.Location(String sheetName,
int row,
int column)
Cell.Location
public Cell.Location(int sheetIndex,
String range)
toCell
public Cell toCell(OOCalc calc)
throws IllegalArgumentException,
OfficeException
- Throws:
IllegalArgumentException
OfficeException
toCell
public Cell toCell(OOWriter writer)
throws IllegalArgumentException,
OfficeException
- Throws:
IllegalArgumentException
OfficeException
toCell
public Cell toCell(OOTableWriter tw)
throws IllegalArgumentException,
OfficeException
- Throws:
IllegalArgumentException
OfficeException
relativeMove
public Cell.Location relativeMove(int rowDelta,
int columnDelta)
getSheetName
public String getSheetName()
getTableName
public String getTableName()
getSheetIndex
public int getSheetIndex()
getTableIndex
public int getTableIndex()
getRow
public int getRow()
getColumn
public int getColumn()
getCellAddress
public String getCellAddress()
getFullCellAddress
public String getFullCellAddress(OOCalc calc)
toString
public String toString()
- Overrides:
toString in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads