org.das2.graph
Interface DasCanvasComponentInterface


public interface DasCanvasComponentInterface

All entities on the DasCanvas are DasCanvasComponents.


Method Summary
 void paintComponent(java.awt.Graphics g)
          this paints the component, the point 0,0 always refers to the upper-left corner of the canvas.
 void resize()
          This is called when the canvas is resized or something has happened to make the boundries change.
 

Method Detail

paintComponent

void paintComponent(java.awt.Graphics g)
this paints the component, the point 0,0 always refers to the upper-left corner of the canvas.

Parameters:
g -

resize

void resize()
This is called when the canvas is resized or something has happened to make the boundries change. This code should call the setBounds( Rectangle )