|
||||||||||
| 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
| Field Summary | |
protected ReportComponent |
content
The component containing the content (i.e. the text components) of this table |
| Fields inherited from class voji.report.ReportComponent |
position |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| 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,
int position)
Constructs a new ReportTable instance
using the given strings and coordinates
It uses the same align and position for each column. |
|
ReportTable(java.lang.String[] columns,
double left,
double[] widths,
java.awt.Font font,
int[] aligns,
int textType,
int frameType,
int[] positions)
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,
int position)
Constructs a new ReportTable instance
using the given strings and coordinates
It uses the same align and position for each column. |
|
| Method Summary | |
ReportComponent |
getContent()
Returns the component that contains the content
of this table |
protected void |
init(java.lang.String[] columns,
double left,
double[] widths,
java.awt.Font font,
int[] aligns,
int textType,
int frameType,
int[] positions)
Initializes this ReportTable instance |
| Methods inherited from class voji.report.ReportComponent |
add, add, draw, draw, getHeight, getOwnHeight, iterator, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ReportComponent content
| Constructor Detail |
public ReportTable(java.lang.String[] columns,
double left,
double[] widths,
java.awt.Font font,
int[] aligns,
int textType,
int frameType,
int[] positions)
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 framepositions - the positions
of each column
public ReportTable(java.lang.String[] columns,
double left,
double[] widths,
java.awt.Font font,
int[] aligns,
int textType,
int frameType,
int position)
ReportTable instance
using the given strings and coordinates
It uses the same align and position 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 usealigns - the alignment of each columntextType - the break type of the textframeType - the type of the frameposition - the position
of each column
public ReportTable(java.lang.String[] columns,
double left,
double[] widths,
java.awt.Font font,
int align,
int textType,
int frameType,
int position)
ReportTable instance
using the given strings and coordinates
It uses the same align and position 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 usealign - the alignment of each columntextType - the break type of the textframeType - the type of the frameposition - the position
of each column
public 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,
a SINGLE frame type and
a CENTER position
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 use| Method Detail |
protected void init(java.lang.String[] columns,
double left,
double[] widths,
java.awt.Font font,
int[] aligns,
int textType,
int frameType,
int[] positions)
ReportTable instance
columns - the strings to draw in the columnsleft - the left extension of the tablewidths - an array containing the width of each columnpositions - an array containing the positions of each columnfont - the font to usealigns - the alignment of each columntextType - the break type of the textframeType - the type of the framepublic ReportComponent getContent()
content
of this table
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||