Package io.keikai.api
Class AreaRefWithType
java.lang.Object
io.keikai.api.AreaRef
io.keikai.api.AreaRefWithType
- All Implemented Interfaces:
Serializable
A class that represents an area reference with 4 value :
row(top row), column(left column), last row(bottom row) and last column(right column)
and an extra selection type. (CELL, COL, ROW, ALL)
- Since:
- 3.8.3
- Author:
- Henri Chen
- See Also:
-
Field Summary
FieldsFields inherited from class io.keikai.api.AreaRef
_column, _lastColumn, _lastRow, _row -
Constructor Summary
ConstructorsConstructorDescriptionAreaRefWithType(int row, int column, int lastRow, int lastColumn, CellSelectionType type) AreaRefWithType(String areaReference, CellSelectionType type) -
Method Summary
Modifier and TypeMethodDescriptionasString()booleancontains(int tRow, int lCol, int bRow, int rCol) booleaninthashCode()booleanoverlap(int bTopRow, int bLeftCol, int bBottomRow, int bRightCol) booleanoverlap(AreaRefWithType areaRef) voidsetSelType(CellSelectionType type) Methods inherited from class io.keikai.api.AreaRef
getColumn, getLastColumn, getLastRow, getRow, setArea, setColumn, setLastColumn, setLastRow, setRow, toString
-
Field Details
-
_type
-
-
Constructor Details
-
AreaRefWithType
-
AreaRefWithType
-
-
Method Details
-
cloneSelf
-
contains
public boolean contains(int tRow, int lCol, int bRow, int rCol) -
overlap
public boolean overlap(int bTopRow, int bLeftCol, int bBottomRow, int bRightCol) -
overlap
-
asString
-
hashCode
public int hashCode() -
equals
-
setSelType
- Parameters:
type-- Since:
- 3.8.3
-
getSelType
- Returns:
- Since:
- 3.8.3
-