com.java4less.rreport
Class RJTable
java.lang.Object
|
+--com.java4less.rreport.RJTable
- public class RJTable
- extends java.lang.Object
Creates two areas used to print the header and content of a JTable.
Constructor Summary |
RJTable(javax.swing.JTable T,
double x,
double y,
double Width,
double HDRHeight,
double LINHeight)
Creates a RJTable. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
headerFont
public java.awt.Font headerFont
detailFont
public java.awt.Font detailFont
RJTable
public RJTable(javax.swing.JTable T,
double x,
double y,
double Width,
double HDRHeight,
double LINHeight)
- Creates a RJTable. The paramaters mean:
T: Jtable to be printed
X: left margin.
Y: top margin.
Width: width of the table.
HDRHeight: Height of the header area.
LINHeight: Height of the detail area.
setHDRFrameStyle
public void setHDRFrameStyle(RLineStyle s)
- style of the line used for the frame of the header.
setLINFrameStyle
public void setLINFrameStyle(RLineStyle s)
- style of the line used for the frame of the detail area.
setLINGridStyle
public void setLINGridStyle(RLineStyle s)
- style of the line used for the grid of the table.
createAreas
public void createAreas()
- Creates the header and detail areas.
getHeaderArea
public RArea getHeaderArea()
- Returns the created header area for the JTable.
getDetailArea
public RArea getDetailArea()
- Returns the created detail area for the JTable.