|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjcckit.GraphicsPlotCanvas.GraphicsPainter
Class which does the actual painting. Needs the Component into which the plot is painted for some resources like size, background color, etc.
| Constructor Summary | |
GraphicsPlotCanvas.GraphicsPainter(java.awt.Component component)
Creates an instance for the specified component. |
|
| Method Summary | |
protected void |
calculateTransformation(java.awt.Dimension size)
Calculate the transformation form device-independent coordinates into device-dependent coordinates according to the specified canvas size. |
protected Renderer |
createRenderer(java.awt.Graphics g)
Creates an appropriated Renderer for the specified
Graphics context. |
void |
paint(java.awt.Graphics g)
Paints the plot by using double-buffering and pre-rendered view of the coordinate system. |
protected void |
prepare(java.awt.Graphics g)
Prepare graphics context before drawing the pre-rendered view of the coordinate system. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GraphicsPlotCanvas.GraphicsPainter(java.awt.Component component)
component - AWT or Swing component.| Method Detail |
public void paint(java.awt.Graphics g)
protected void prepare(java.awt.Graphics g)
protected void calculateTransformation(java.awt.Dimension size)
protected Renderer createRenderer(java.awt.Graphics g)
Renderer for the specified
Graphics context.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||