Package io.keikai.model
Class SheetRegion
- java.lang.Object
-
- io.keikai.model.SheetRegion
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PasteSheetRegion
public class SheetRegion extends Object implements Serializable
Indicates a immutable region of cells in a sheet. It contains aCellRegion
which specifies the area.- Since:
- 3.5.0
- Author:
- Dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SheetRegion(SSheet sheet, int row, int column)
SheetRegion(SSheet sheet, int row, int column, int lastRow, int lastColumn)
SheetRegion(SSheet sheet, CellRegion region)
SheetRegion(SSheet sheet, String areaReference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getColumn()
int
getColumnCount()
int
getLastColumn()
int
getLastRow()
String
getReferenceString()
CellRegion
getRegion()
int
getRow()
int
getRowCount()
SSheet
getSheet()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
SheetRegion
public SheetRegion(SSheet sheet, CellRegion region)
-
SheetRegion
public SheetRegion(SSheet sheet, int row, int column)
-
SheetRegion
public SheetRegion(SSheet sheet, int row, int column, int lastRow, int lastColumn)
-
-
Method Detail
-
getSheet
public SSheet getSheet()
-
getRegion
public CellRegion getRegion()
-
getRow
public int getRow()
-
getColumn
public int getColumn()
-
getLastRow
public int getLastRow()
-
getLastColumn
public int getLastColumn()
-
getRowCount
public int getRowCount()
-
getColumnCount
public int getColumnCount()
-
getReferenceString
public String getReferenceString()
- Returns:
- a cell reference, e.g. Sheet1!A1, or Sheet2!A1:B2
-
-