|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--voji.report.ReportComponent | +--voji.report.ReportFrame
This report component draws a frame around its sub components
Field Summary | |
static int |
BOLD
Frame with a bold border line |
protected static int |
BOLD_WIDTH
The width of a BOLD line |
static int |
DOUBLE
Frame with two thin border lines |
protected static int |
DOUBLE_SPACE
The space between the two lines of a DOUBLE |
double |
left
The left extension of the frame |
static int |
NONE
Invisible Frame |
static int |
OVAL
Frame with an oval border line |
double |
right
The right extension of the frame |
static int |
SINGLE
Frame with a single thin border line |
int |
type
The type of the frame. |
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 | |
ReportFrame(double left,
double right)
Constructs a new ReportFrame instance
of the type SINGLE |
|
ReportFrame(double left,
double right,
int type)
Constructs a new ReportFrame instance
of the specified type |
Method Summary | |
void |
draw(PageGraphics g)
Draws this component |
Methods inherited from class voji.report.ReportComponent |
add, add, 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 |
public double left
public double right
public int type
NONE
,
SINGLE
,
DOUBLE
,
BOLD
or
OVAL
.
public static final int NONE
public static final int SINGLE
public static final int DOUBLE
public static final int BOLD
public static final int OVAL
protected static final int DOUBLE_SPACE
DOUBLE
protected static final int BOLD_WIDTH
BOLD
line
Constructor Detail |
public ReportFrame(double left, double right, int type)
ReportFrame
instance
of the specified type
left
- the left extension of the textright
- the right extension of the texttype
- the type
of the framepublic ReportFrame(double left, double right)
ReportFrame
instance
of the type SINGLE
left
- the left extension of the textright
- the right extension of the textMethod Detail |
public void draw(PageGraphics g)
draw
in class ReportComponent
g
- the graphical context where to draw toReportComponent.getHeight(PageGraphics)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |