|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--voji.report.ReportComponent
|
+--voji.report.ReportColor
This report component changes the current color for its sub components.
| Field Summary | |
java.awt.Color |
color
The color of the sub components |
| 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 | |
ReportColor(java.awt.Color color)
Constructs a new ReportColor instance |
|
ReportColor(java.awt.Color color,
ReportComponent component)
Constructs a new ReportColor instance
containing the given sub component |
|
| 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 java.awt.Color color
| Constructor Detail |
public ReportColor(java.awt.Color color)
ReportColor instance
color - the color which should be used for this component's
sub components
public ReportColor(java.awt.Color color,
ReportComponent component)
ReportColor instance
containing the given sub component
color - the color which should be used for this component's
sub componentscomponent - a sub component to add| Method Detail |
public void draw(PageGraphics g)
draw in class ReportComponentg - 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 | |||||||||