jfig.canvas
Interface ObjectPainter

All Known Subinterfaces:
FigCanvas, ObjectCanvas
All Known Implementing Classes:
AWTObjectCanvas, FigBasicCanvas, FigSwingCanvas, JObjectCanvas

public interface ObjectPainter

request redraw of single FIG objects for animation.

ObjectPainter - the basic interface to support animated objects on the jfig.canvas.ObjectCanvas.


Method Summary
 void paint(FigDrawable obj)
          paint the FigObject obj to both background buffer and screen in order to reflect its new state.
 void paint(FigDrawable obj, int millis)
          paint the FigObject obj to the background buffer and update the screen after (at most) millis milliseconds.
 void repaint(int millis)
          just request a standard repaint() after at most int milliseconds.
 

Method Detail

paint

public void paint(FigDrawable obj)
paint the FigObject obj to both background buffer and screen in order to reflect its new state.


paint

public void paint(FigDrawable obj,
                  int millis)
paint the FigObject obj to the background buffer and update the screen after (at most) millis milliseconds.


repaint

public void repaint(int millis)
just request a standard repaint() after at most int milliseconds.