org.das2.graph.DasCanvasComponentInterface

All entities on the DasCanvas are DasCanvasComponents.


paintComponent

paintComponent( java.awt.Graphics g ) → void

this paints the component, the point 0,0 always refers to the upper-left corner of the canvas.

Parameters

g -

Returns:

void (returns nothing)

search for examples view on GitHub view source


resize

resize( ) → void

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

Returns:

void (returns nothing)

search for examples view on GitHub view source