com.ihr.xbrl.tools.excel
Class Region
java.lang.Object
com.ihr.xbrl.tools.excel.Region
public class Region
- extends java.lang.Object
This object represents a region in Excel represented by two corners, the top left corner and the
bottom right corner.
- Author:
- Ignacio
|
Constructor Summary |
Region(SheetPoint corner1,
SheetPoint corner2)
Creates a new region instance by specifying two corners of the region. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Region
public Region(SheetPoint corner1,
SheetPoint corner2)
throws InvalidRegionException
- Creates a new region instance by specifying two corners of the region. The region extends
rectangular regardless the corners are topLeft, bottomRight or topRight and bottomLeft
- Parameters:
corner1, - a SheetPointcorner2, - a SheetPoint
- Throws:
InvalidRegionException
getName
public java.lang.String getName()
contains
public boolean contains(SheetPoint point)
- Parameters:
point -
- Returns:
getTopLeft
public SheetPoint getTopLeft()
getBottomRight
public SheetPoint getBottomRight()