Package io.keikai.range
Class SRanges
- java.lang.Object
-
- io.keikai.range.SRanges
-
-
Constructor Summary
Constructors Constructor Description SRanges()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
getNames(SSheet sheet)
Returns a list of the defined names belong toSSheet
static SRange
range(SBook book)
static SRange
range(SSheet sheet)
static SRange
range(SSheet sheet, int row, int col)
static SRange
range(SSheet sheet, int tRow, int lCol, int bRow, int rCol)
Returns the associatedXRange
of the specifiedXNSheet
and area.static SRange
range(SSheet sheet, CellRegion region)
static SRange
range(SSheet sheet, String areaReference)
static SRange
rangeByName(SSheet sheet, String name)
Returns the associatedSRange
of the specified name of a NamedRange (e.g.
-
-
-
Method Detail
-
range
public static SRange range(SSheet sheet, CellRegion region)
-
rangeByName
public static SRange rangeByName(SSheet sheet, String name)
Returns the associatedSRange
of the specified name of a NamedRange (e.g. "MyRange");
-
getNames
public static List<String> getNames(SSheet sheet)
Returns a list of the defined names belong toSSheet
- Parameters:
sheet
- theSSheet
the defined name will refer to.- Returns:
- a list of the defined names of the specified sheet
- Since:
- 5.1.0
-
range
public static SRange range(SSheet sheet, int tRow, int lCol, int bRow, int rCol)
Returns the associatedXRange
of the specifiedXNSheet
and area.- Parameters:
sheet
- theSSheet
the Range will refer to.tRow
- top row index of the area the Range will refer to.lCol
- left column index of the area the Range will refer to.bRow
- bottom row index of the area the Range will refer to.rCol
- right column index fo the area the Range will refer to.- Returns:
- the associated
SRange
of the specifiedSSheet
and area.
-
-