spv.graphics
Interface PlottableGraphics

All Known Implementing Classes:
AbstractSensitiveCanvas, AnnotationCanvas, Axis, AxisCanvas, BottomAxis, CursorCanvas, DataCanvas, FittingWCSSettingsCanvas, FrameCanvas, GraphicsCanvasDecorator, Grid, GridCanvas, HorizontalAxis, LeftAxis, LegendCanvas, MajorTick, MeasurementCanvas, PanCanvas, RangeCanvas, RightAxis, Tick, TopAxis, VelocityCanvas, VerticalAxis, WCSBoxCanvas, WCSSettingsCanvas

public interface PlottableGraphics

This interface is implemented by all classes that can paint/print themselves. The property defined by this interface is that the implementor can draw itself on screen or printer based on parameters computed in a previous call to plot(). This minimizes the computational load that takes place when the AWT is drawing the object on screen.

Version:
1.0 - 28Jan99
Author:
Ivo Busko (Space Telescope Science Institute)

Method Summary
 void draw(java.awt.Graphics g)
          Performs the drawing operations.
 void plot()
          Re-computes everything necessary to plot in the current viewports.
 

Method Detail

plot

void plot()
Re-computes everything necessary to plot in the current viewports.


draw

void draw(java.awt.Graphics g)
Performs the drawing operations.

Parameters:
g - the Graphics context where to draw