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

public final Class LazyRefEval

extends RefEvalBase
Class Inheritance
Imports
org.apache.poi.ss.formula.eval.AreaEval, .RefEvalBase, .ValueEval, org.apache.poi.ss.formula.ptg.AreaI, .AreaI.OffsetArea, org.apache.poi.ss.util.CellReference

Provides Lazy Evaluation to a 3D Reference

Field Summary

Modifier and TypeField and Description
private final SheetRangeEvaluator

Constructor Summary

AccessConstructor and Description
public
LazyRefEval(int rowIndex, int columnIndex, SheetRangeEvaluator sre)

Method Summary

Modifier and TypeMethod and Description
public ValueEval
public boolean

Returns:

whether the row at rowIndex is hidden
isRowHidden
()

public boolean

Returns:

true if the cell is a subtotal
isSubTotal
()

public AreaEval
offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx)

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

Creates an AreaEval offset by a relative amount from this RefEval

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.apache.poi.ss.formula.eval.RefEvalBase:
getColumngetFirstSheetIndexgetLastSheetIndexgetNumberOfSheetsgetRow

Field Detail

_evaluatorback to summary
private final SheetRangeEvaluator _evaluator

Constructor Detail

LazyRefEvalback to summary
public LazyRefEval(int rowIndex, int columnIndex, SheetRangeEvaluator sre)

Method Detail

getInnerValueEvalback to summary
public ValueEval getInnerValueEval(int sheetIndex)

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

Returns:ValueEval

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

the evaluated value of the cell referred to by this RefEval on the given sheet

isRowHiddenback to summary
public boolean isRowHidden()
Returns:boolean

whether the row at rowIndex is hidden

isSubTotalback to summary
public boolean isSubTotal()
Returns:boolean

true if the cell is a subtotal

offsetback to summary
public AreaEval offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx)

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

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

Creates an AreaEval offset by a relative amount from this RefEval

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object