org.pentaho.reporting.engine.classic.core.modules.output.table.base
Class TableRectangle

java.lang.Object
  extended by 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.


Constructor Summary
TableRectangle()
           
TableRectangle(int x1, int x2, int y1, int y2)
           
 
Method Summary
 int getColumnSpan()
           
 int getRowSpan()
           
 int getX1()
           
 int getX2()
           
 int getY1()
           
 int getY2()
           
 boolean isOrigin(int x, int y)
           
 void setRect(int x1, int y1, int x2, int y2)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableRectangle

public TableRectangle()

TableRectangle

public TableRectangle(int x1,
                      int x2,
                      int y1,
                      int y2)
Method Detail

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