public class RangeArea
extends java.lang.Object
Constructor and Description |
---|
RangeArea(int row1,
int col1,
int row2,
int col2) |
Modifier and Type | Method and Description |
---|---|
int |
getCol1()
start col
|
int |
getCol2()
end col
|
int |
getRow1()
start row
|
int |
getRow2()
end row
|
int |
getSheet()
sheet index -1 if not used
|
void |
setCol1(int col1)
set the start column
|
void |
setCol2(int col2)
set the end col
|
void |
setRow1(int row1)
set the start row
|
void |
setRow2(int row2)
set the end row
|
void |
setSheet(int sheet)
set the sheet index
|
java.lang.String |
toString() |
public int getSheet()
public void setSheet(int sheet)
sheet
- indexpublic int getRow1()
public void setRow1(int row1)
row1
- row1public int getCol1()
public void setCol1(int col1)
col1
- col1public int getRow2()
public void setRow2(int row2)
row2
- row2public int getCol2()
public void setCol2(int col2)
col2
- col2public java.lang.String toString()
toString
in class java.lang.Object