|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--voji.report.ReportComponent
This is the common base class of all components which can be part of a report.
| Constructor Summary | |
ReportComponent()
Constructs a new empty ReportComponent instance |
|
| Method Summary | |
void |
add(ReportComponent component)
Adds a new component |
void |
draw(PageGraphics g)
Draws this component |
int |
getHeight(PageGraphics g)
Returns the total height of this component. |
protected int |
getOwnHeight(PageGraphics g)
Returns the local height of this component. |
void |
remove(ReportComponent component)
Removes a component |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReportComponent()
ReportComponent instance
| Method Detail |
public void add(ReportComponent component)
component - the component to addpublic void remove(ReportComponent component)
component - the component to remove from this containerpublic int getHeight(PageGraphics g)
g - the graphical context where the height has to refer togetOwnHeight(PageGraphics),
draw(PageGraphics)protected int getOwnHeight(PageGraphics g)
g - a graphical context for you to determine font sizes etc.getHeight(PageGraphics)public void draw(PageGraphics g)
g - the graphical context where to draw togetHeight(PageGraphics)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||