Class LazyAreaEval

    • Constructor Detail

      • LazyAreaEval

        public LazyAreaEval​(int firstRowIndex,
                            int firstColumnIndex,
                            int lastRowIndex,
                            int lastColumnIndex,
                            boolean firstRowRel,
                            boolean firstColRel,
                            boolean lastRowRel,
                            boolean lastColRel,
                            SheetRangeEvaluator evaluator)
    • Method Detail

      • getRelativeValue

        public ValueEval getRelativeValue​(int relativeRowIndex,
                                          int relativeColumnIndex)
        Specified by:
        getRelativeValue in interface AreaEval
        Specified by:
        getRelativeValue in class AreaEvalBase
        Returns:
        the ValueEval from within this area at the specified relativeRowIndex and relativeColumnIndex. Never null (possibly BlankEval). The specified indexes should relative to the top left corner of this area.
      • offset

        public AreaEval offset​(int relFirstRowIx,
                               int relLastRowIx,
                               int relFirstColIx,
                               int relLastColIx)
        Description copied from interface: AreaEval
        Creates an AreaEval offset by a relative amount from the upper left cell of this area
        Specified by:
        offset in interface AreaEval
      • getRow

        public LazyAreaEval getRow​(int rowIndex)
        Specified by:
        getRow in interface TwoDEval
        Parameters:
        rowIndex - relative row index (zero based)
        Returns:
        a single row TwoDEval
      • getColumn

        public LazyAreaEval getColumn​(int columnIndex)
        Specified by:
        getColumn in interface TwoDEval
        Parameters:
        columnIndex - relative column index (zero based)
        Returns:
        a single column TwoDEval
      • isSubTotal

        public boolean isSubTotal​(int rowIndex,
                                  int columnIndex)
        Specified by:
        isSubTotal in interface TwoDEval
        Overrides:
        isSubTotal in class AreaEvalBase
        Returns:
        whether cell at rowIndex and columnIndex is a subtotal
      • setHyperlink

        public void setHyperlink​(Hyperlink hyperlink)
        Description copied from interface: HyperlinkEval
        Sets the associated hyperlink if this ValueEval is a label of the HYPERLINK function.
        Specified by:
        setHyperlink in interface HyperlinkEval
        Parameters:
        hyperlink - the associated hyperlink
      • getHyperlink

        public Hyperlink getHyperlink()
        Description copied from interface: HyperlinkEval
        Returns the associated hyperlink if this ValueEval is a label of the HYPERLINK function.
        Specified by:
        getHyperlink in interface HyperlinkEval
        Returns:
        the associated hyperlink.
      • getDepth

        public int getDepth()
      • isHidden

        public boolean isHidden​(int rowIndex,
                                int columnIndex)
        Specified by:
        isHidden in interface TwoDEval
        Returns:
        true if the cell at row and col is hidden
      • isFiltered

        public boolean isFiltered()
        Specified by:
        isFiltered in interface TwoDEval
        Returns:
        true if the sheet of the area exists any auto filter or table filter which is applied.
        See Also:
        Subtotal
      • getBookName

        public String getBookName()
      • getSheetName

        public String getSheetName()
      • getLastSheetName

        public String getLastSheetName()