Uses of Class
io.keikai.axyra.sheets.Range
Packages that use Range
-
Uses of Range in io.keikai.axyra.sheets
Methods in io.keikai.axyra.sheets that return RangeModifier and TypeMethodDescriptionNamedRange.asRange()Returns the cells this name points at, resolved from the formula held by this object.Sheet.autoFilterRange()Returns the filtered block, header row included, ornullwhen this sheet has no auto-filter.Sheet.range(int r1, int c1, int r2, int c2) Returns a range over the rectangle from(r1, c1)to(r2, c2), both corners inclusive and 0-based.Returns a range parsed from A1 notation on this sheet:"A1","$A$1:C10", a column band"B:D"or a row band"2:5".A range parsed from a sheet-qualified A1 reference — the spelling a defined name stores, e.g.Sheet.usedRange()Returns the smallest range that covers every stored cell, ornullwhen the sheet has no cells.Methods in io.keikai.axyra.sheets that return types with arguments of type RangeModifier and TypeMethodDescriptionSheet.mergedRegions()Returns the merged-cell regions on this sheet, oneRangeper region.Methods in io.keikai.axyra.sheets with parameters of type RangeModifier and TypeMethodDescriptionintSheet.applyAdvancedFilter(Range listRange, Range criteriaRange, boolean uniqueOnly) Run an advanced filter (Excel's Data > Advanced) overlistRangein place, hiding the data rows that do not matchcriteriaRange.intSheet.applyAdvancedFilterCopyTo(Range listRange, Range criteriaRange, Range destination, boolean uniqueOnly) Advanced filter in "Copy to another location" mode: instead of hiding source rows, writes the list header plus each matching row (seeSheet.applyAdvancedFilter(Range, Range, boolean)for the criteria semantics) starting at the top-left cell ofdestination.voidDetects a pattern in this range and extends it overdestination, as Excel's fill handle does: a linear numeric series, or a cyclic copy for text and mixed content.int[]Sheet.consolidate(int destRow, int destColumn, ConsolidateFunction function, Range... sources) Consolidates several source ranges of the same shape, possibly on other sheets, into this sheet at(destRow, destColumn), as Excel's Data > Consolidate does by position.booleanSheet.resizeTable(String name, Range newRange) Resizes the named table tonewRange, as Excel's Table Design > Resize Table does.voidSheet.setAutoFilter(Range range) Defines an auto-filter overrange; its top row holds the filter buttons.voidSheet.sortByColor(Range range, int sortColumnIndex, boolean cellColor, boolean hasHeader, Color... colors) Sort the rows ofrangeby cell fill color (or font color whencellColoris false) atsortColumnIndex(0-based, relative to the range start).