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 toSSheetstatic SRangerange(SBook book)static SRangerange(SSheet sheet)static SRangerange(SSheet sheet, int row, int col)static SRangerange(SSheet sheet, int tRow, int lCol, int bRow, int rCol)Returns the associatedXRangeof the specifiedXNSheetand area.static SRangerange(SSheet sheet, CellRegion region)static SRangerange(SSheet sheet, String areaReference)static SRangerangeByName(SSheet sheet, String name)Returns the associatedSRangeof 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 associatedSRangeof 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- theSSheetthe 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 associatedXRangeof the specifiedXNSheetand area.- Parameters:
sheet- theSSheetthe 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
SRangeof the specifiedSSheetand area.
-
-