Package org.apache.poi.ss.formula
Class LazyRefEval
- java.lang.Object
-
- org.apache.poi.ss.formula.eval.RefEvalBase
-
- org.apache.poi.ss.formula.LazyRefEval
-
- All Implemented Interfaces:
HyperlinkEval,RefEval,ValueEval,SheetRange
public final class LazyRefEval extends RefEvalBase implements HyperlinkEval
Provides Lazy Evaluation to a 3D Reference
-
-
Constructor Summary
Constructors Constructor Description LazyRefEval(int rowIndex, int columnIndex, boolean rowRel, boolean colRel, SheetRangeEvaluator sre)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBookName()HyperlinkgetHyperlink()Returns the associated hyperlink if this ValueEval is a label of the HYPERLINK function.ValueEvalgetInnerValueEval(int sheetIndex)StringgetLastSheetName()SheetRangeEvaluatorgetRefEvaluator()StringgetSheetName()booleanisFiltered()booleanisHidden()booleanisRowHidden()booleanisSubTotal()AreaEvaloffset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx)Creates anAreaEvaloffset by a relative amount from this RefEvalvoidsetHyperlink(Hyperlink hyperlink)Sets the associated hyperlink if this ValueEval is a label of the HYPERLINK function.StringtoString()-
Methods inherited from class org.apache.poi.ss.formula.eval.RefEvalBase
getColumn, getFirstSheetIndex, getLastSheetIndex, getNumberOfSheets, getRow, isColRelative, isRowRelative
-
-
-
-
Constructor Detail
-
LazyRefEval
public LazyRefEval(int rowIndex, int columnIndex, boolean rowRel, boolean colRel, SheetRangeEvaluator sre)
-
-
Method Detail
-
getInnerValueEval
public ValueEval getInnerValueEval(int sheetIndex)
- Specified by:
getInnerValueEvalin interfaceRefEval- Returns:
- the evaluated value of the cell referred to by this RefEval on the given sheet
-
offset
public AreaEval offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx)
Description copied from interface:RefEvalCreates anAreaEvaloffset by a relative amount from this RefEval
-
isSubTotal
public boolean isSubTotal()
- Returns:
- true if the cell is a subtotal
-
isRowHidden
public boolean isRowHidden()
- Returns:
- whether the row at rowIndex is hidden
-
setHyperlink
public void setHyperlink(Hyperlink hyperlink)
Description copied from interface:HyperlinkEvalSets the associated hyperlink if this ValueEval is a label of the HYPERLINK function.- Specified by:
setHyperlinkin interfaceHyperlinkEval- Parameters:
hyperlink- the associated hyperlink
-
getHyperlink
public Hyperlink getHyperlink()
Description copied from interface:HyperlinkEvalReturns the associated hyperlink if this ValueEval is a label of the HYPERLINK function.- Specified by:
getHyperlinkin interfaceHyperlinkEval- Returns:
- the associated hyperlink.
-
isHidden
public boolean isHidden()
-
isFiltered
public boolean isFiltered()
-
getRefEvaluator
public SheetRangeEvaluator getRefEvaluator()
-
getBookName
public String getBookName()
-
getSheetName
public String getSheetName()
-
getLastSheetName
public String getLastSheetName()
-
-