org.pentaho.reporting.engine.classic.core.modules.output.table.base
Class TableRectangle
java.lang.Object
org.pentaho.reporting.engine.classic.core.modules.output.table.base.TableRectangle
public class TableRectangle
- extends Object
The TableRectangle contains GridCoordinates for the tables. The rectangle contains x- and y-cuts, so as long as the
cell is not empty (width==0, height==0), x1 and x2 will not have the same value.
TableRectangle
public TableRectangle()
TableRectangle
public TableRectangle(int x1,
int x2,
int y1,
int y2)
getX1
public int getX1()
getX2
public int getX2()
getY1
public int getY1()
getY2
public int getY2()
setRect
public void setRect(int x1,
int y1,
int x2,
int y2)
isOrigin
public boolean isOrigin(int x,
int y)
getRowSpan
public int getRowSpan()
getColumnSpan
public int getColumnSpan()
toString
public String toString()
- Overrides:
toString
in class Object