|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Renderer
This interface defines the common methods needed for a Renderer class. This contains methods to define specific options, set/get the rendering size and to finally render something.
| Method Summary | |
|---|---|
java.awt.Rectangle |
getBounds()
Gets the bounds for this renderer. |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size needed for the renderer. |
void |
render(java.awt.Graphics2D g)
Finally renders the Object in the Graphics object. |
void |
setBounds(java.awt.Rectangle bounds)
Sets the bounds the layout manager has assigned to this renderer. |
| Method Detail |
|---|
java.awt.Dimension getPreferredSize()
void setBounds(java.awt.Rectangle bounds)
bounds - the new bounds for the renderer.java.awt.Rectangle getBounds()
setBounds has not
been called before, the bounds computed from
getPreferredSize is returned.void render(java.awt.Graphics2D g)
g - the Graphics2D object in which to render
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||