org.millscript.office.spreadsheet.formula
Class CellAddress

java.lang.Object
  extended by org.millscript.office.spreadsheet.formula.CellAddress
Direct Known Subclasses:
AbsoluteCellAddress, OffsetCellAddress

public abstract class CellAddress
extends java.lang.Object


Constructor Summary
protected CellAddress(int row, boolean rowRel, int col, boolean colRel)
           
 
Method Summary
protected  void appendColumnLetters(java.lang.StringBuilder builder)
           
abstract  CellAddress getCellAddress(int row, int col)
           
 int getColumn()
           
 int getColumnRelativeTo(CellRef startingCell)
           
abstract  int getColumnRelativeTo(int startingColumn)
           
 int getRow()
           
 int getRowRelativeTo(CellRef startingCell)
           
abstract  int getRowRelativeTo(int startingRow)
           
 boolean isColumnRelative()
           
 boolean isRowRelative()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellAddress

protected CellAddress(int row,
                      boolean rowRel,
                      int col,
                      boolean colRel)
Method Detail

getCellAddress

public abstract CellAddress getCellAddress(int row,
                                           int col)

getColumn

public int getColumn()

appendColumnLetters

protected void appendColumnLetters(java.lang.StringBuilder builder)

getColumnRelativeTo

public abstract int getColumnRelativeTo(int startingColumn)

getColumnRelativeTo

public int getColumnRelativeTo(CellRef startingCell)

getRow

public int getRow()

getRowRelativeTo

public abstract int getRowRelativeTo(int startingRow)

getRowRelativeTo

public int getRowRelativeTo(CellRef startingCell)

isColumnRelative

public boolean isColumnRelative()

isRowRelative

public boolean isRowRelative()


Copyright © 2006-2007 Open World Ltd. All Rights Reserved.