|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CellPrinter
An interface to be implemented by cell printers
| Method Summary | |
|---|---|
float |
getHeight(FontRenderContext frc)
The height of one column |
float |
getWidth(FontRenderContext frc)
Gets the width of the current current value. |
void |
print(Graphics g,
Rectangle2D.Float r)
Print this cell |
void |
setFont(Font fm)
Sets the font to be used |
void |
setValue(Object o)
Sets the value of the cell to print |
| Method Detail |
|---|
void setFont(Font fm)
fm - The font to be usedfloat getHeight(FontRenderContext frc)
frc - The font render context to be used for calculating font sizes.
void setValue(Object o)
o - The object to be printedfloat getWidth(FontRenderContext frc)
frc - The font render context to be used.
void print(Graphics g,
Rectangle2D.Float r)
g - The graphics into which to printr -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||