| de.progra.charting.render.Renderer
All known Subclasses: de.progra.charting.render.AbstractChartRenderer, de.progra.charting.render.AbstractRenderer,
Renderer | public interface Renderer (Code) | | 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.
|
getBounds | public Rectangle getBounds()(Code) | | Gets the bounds for this renderer.
the bounds of this renderer. If setBounds has notbeen called before, the bounds computed from getPreferredSize is returned. |
getPreferredSize | public Dimension getPreferredSize()(Code) | | Returns the preferred size needed for the renderer.
a non-null Dimension object |
render | public void render(Graphics2D g)(Code) | | Finally renders the Object in the Graphics object.
Parameters: g - the Graphics2D object in which to render |
setBounds | public void setBounds(Rectangle bounds)(Code) | | Sets the bounds the layout manager has assigned to
this renderer. Those, of course, have to be
considered in the rendering process.
Parameters: bounds - the new bounds for the renderer. |
|
|