|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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.
| 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 |
|---|
void plot()
void draw(java.awt.Graphics g)
g - the Graphics context where to draw
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||