|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Renderable
This interface provides methods for exporting visual components.
| Method Summary | |
|---|---|
void |
finishRendering()
Will be invoked directly after rendering and gives the object the chance to perform some clean-up. |
int |
getRenderHeight(int preferredHeight)
This method return the pixel height the rendering needs |
int |
getRenderWidth(int preferredWidth)
This method returns the pixel width the rendering needs |
void |
prepareRendering()
Will be invoked before rendering and even before render width and height retrieval. |
void |
render(java.awt.Graphics graphics,
int width,
int height)
This method paints the visual representation onto the given graphics |
| Method Detail |
|---|
void prepareRendering()
void finishRendering()
void render(java.awt.Graphics graphics,
int width,
int height)
graphics - the graphics to render ontoint getRenderWidth(int preferredWidth)
preferredWidth - tells the renderable of the size it should deliver best
int getRenderHeight(int preferredHeight)
preferredHeight - tells the renderable of the size it should deliver best
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||