|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--voji.report.ReportComponent | +--voji.report.ReportTable
This report component draws a table row
Constructor Summary | |
ReportTable(java.lang.String[] columns,
double left,
double[] widths,
java.awt.Font font)
Constructs a new ReportTable instance
using the given strings and coordinates. |
|
ReportTable(java.lang.String[] columns,
double left,
double[] widths,
java.awt.Font font,
int[] aligns,
int textType,
int frameType)
Constructs a new ReportTable instance
using the given strings and coordinates |
|
ReportTable(java.lang.String[] columns,
double left,
double[] widths,
java.awt.Font font,
int align,
int textType,
int frameType)
Constructs a new ReportTable instance
using the given strings and coordinates. |
Method Summary | |
protected void |
init(java.lang.String[] columns,
double left,
double[] widths,
java.awt.Font font,
int[] aligns,
int textType,
int frameType)
Initializes this ReportTable instance |
Methods inherited from class voji.report.ReportComponent |
add, draw, getHeight, getOwnHeight, remove |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReportTable(java.lang.String[] columns, double left, double[] widths, java.awt.Font font, int[] aligns, int textType, int frameType)
ReportTable
instance
using the given strings and coordinates
columns
- the strings to draw in the columnsleft
- the left extension of the tablewidths
- an array containing the width of each columnfont
- the font to usealigns
- the alignment
of each columntextType
- the break type
of the textframeType
- the type
of the framepublic ReportTable(java.lang.String[] columns, double left, double[] widths, java.awt.Font font, int align, int textType, int frameType)
ReportTable
instance
using the given strings and coordinates.
It uses the same alignment for each column.
columns
- the strings to draw in the columnsleft
- the left extension of the tablewidths
- an array containing the width of each columnfont
- the font to usetextType
- the break type
of the textframeType
- the type
of the framepublic ReportTable(java.lang.String[] columns, double left, double[] widths, java.awt.Font font)
ReportTable
instance
using the given strings and coordinates.
It uses a LEFT
alignment,
WORD
break and
a SINGLE
frame type
for each column.
columns
- the strings to draw in the columnsleft
- the left extension of the tablewidths
- an array containing the width of each columnfont
- the font to useMethod Detail |
protected void init(java.lang.String[] columns, double left, double[] widths, java.awt.Font font, int[] aligns, int textType, int frameType)
ReportTable
instance
columns
- the strings to draw in the columnsleft
- the left extension of the tablewidths
- an array containing the width of each columnfont
- the font to usealigns
- the alignment
of each columntextType
- the break type
of the textframeType
- the type
of the frame
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |