Top Description Fields Constructors Methods
org.apache.poi.ss.formula.eval

public abstract Class RefEvalBase

extends Object
implements RefEval
Class Inheritance
All Implemented Interfaces
org.apache.poi.ss.formula.eval.RefEval, org.apache.poi.ss.formula.SheetRange, org.apache.poi.ss.formula.eval.ValueEval
Known Direct Subclasses
org.apache.poi.ss.formula.LazyRefEval
Imports
org.apache.poi.ss.formula.SheetRange

Common base class for implementors of RefEval

Field Summary

Modifier and TypeField and Description
private final int
private final int
private final int
private final int

Constructor Summary

AccessConstructor and Description
protected
RefEvalBase(SheetRange sheetRange, int rowIndex, int columnIndex)

protected
RefEvalBase(int firstSheetIndex, int lastSheetIndex, int rowIndex, int columnIndex)

protected
RefEvalBase(int onlySheetIndex, int rowIndex, int columnIndex)

Method Summary

Modifier and TypeMethod and Description
public final int
getColumn()

Implements org.apache.poi.ss.formula.eval.RefEval.getColumn.

returns the zero based column index.

public int
getFirstSheetIndex()

Implements org.apache.poi.ss.formula.eval.RefEval.getFirstSheetIndex.

returns the first sheet index this applies to

public int
getLastSheetIndex()

Implements org.apache.poi.ss.formula.eval.RefEval.getLastSheetIndex.

returns the last sheet index this applies to, which will be the same as the first for a 2D and many 3D references

public int
getNumberOfSheets()

Implements org.apache.poi.ss.formula.eval.RefEval.getNumberOfSheets.

returns the number of sheets this applies to

public final int
getRow()

Implements org.apache.poi.ss.formula.eval.RefEval.getRow.

returns the zero based row index.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_columnIndexback to summary
private final int _columnIndex
_firstSheetIndexback to summary
private final int _firstSheetIndex
_lastSheetIndexback to summary
private final int _lastSheetIndex
_rowIndexback to summary
private final int _rowIndex

Constructor Detail

RefEvalBaseback to summary
protected RefEvalBase(SheetRange sheetRange, int rowIndex, int columnIndex)
RefEvalBaseback to summary
protected RefEvalBase(int firstSheetIndex, int lastSheetIndex, int rowIndex, int columnIndex)
RefEvalBaseback to summary
protected RefEvalBase(int onlySheetIndex, int rowIndex, int columnIndex)

Method Detail

getColumnback to summary
public final int getColumn()

Implements org.apache.poi.ss.formula.eval.RefEval.getColumn.

Doc from org.apache.poi.ss.formula.eval.RefEval.getColumn.

returns the zero based column index.

getFirstSheetIndexback to summary
public int getFirstSheetIndex()

Implements org.apache.poi.ss.formula.eval.RefEval.getFirstSheetIndex.

Doc from org.apache.poi.ss.formula.eval.RefEval.getFirstSheetIndex.

returns the first sheet index this applies to

getLastSheetIndexback to summary
public int getLastSheetIndex()

Implements org.apache.poi.ss.formula.eval.RefEval.getLastSheetIndex.

Doc from org.apache.poi.ss.formula.eval.RefEval.getLastSheetIndex.

returns the last sheet index this applies to, which will be the same as the first for a 2D and many 3D references

getNumberOfSheetsback to summary
public int getNumberOfSheets()

Implements org.apache.poi.ss.formula.eval.RefEval.getNumberOfSheets.

Doc from org.apache.poi.ss.formula.eval.RefEval.getNumberOfSheets.

returns the number of sheets this applies to

getRowback to summary
public final int getRow()

Implements org.apache.poi.ss.formula.eval.RefEval.getRow.

Doc from org.apache.poi.ss.formula.eval.RefEval.getRow.

returns the zero based row index.