|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.report.xls.Region
public class Region
Represents a from/to row/col square. This is a object primitive that can be used to represent row,col - row,col just as one would use String to represent a string of characters.
| Constructor Summary | |
|---|---|
Region()
Constructs a new instance of Region (0,0 - 0,0) |
|
Region(short rowFrom,
short colFrom,
short rowTo,
short colTo)
Constructs a new instance of Region (rowFrom,colFrom - rowTo,colTo) |
|
| Method Summary | |
|---|---|
boolean |
contains(short row,
short col)
Answers: "is the row/column inside this range?" |
int |
getArea()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Region()
public Region(short rowFrom,
short colFrom,
short rowTo,
short colTo)
rowFrom - The row from which the Region begin(0 based)colFrom - The col from which the Region begin(0 based)rowFrom - The row from which the Region end(0 based)colFrom - The col from which the Region end(0 based)| Method Detail |
|---|
public boolean contains(short row,
short col)
public int getArea()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||