Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jet.report.xls
Class Region

    java.lang.Object
      jet.report.xls.Region

    public class Region

extends java.lang.Object

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

### Region

    public Region()

  Constructs a new instance of Region (0,0 - 0,0)

### Region

    public Region(short rowFrom,
                  short colFrom,
                  short rowTo,
                  short colTo)

  Constructs a new instance of Region (rowFrom,colFrom - rowTo,colTo)

  Parameters:
    `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

### contains

    public boolean contains(short row,
                            short col)

  Answers: "is the row/column inside this range?"

### getArea

    public int getArea()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD