<h2>org.das2.graph.DasCanvasComponentInterface</h2><p>All entities on the DasCanvas are DasCanvasComponents.</p> <hr> <a name="paintComponent"></a> <h2>paintComponent</h2> paintComponent( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Graphics.html'>java.awt.Graphics</a> g ) → void <p>this paints the component, the point 0,0 always refers to the upper-left corner of the canvas.</p> <h3>Parameters</h3> g - a Graphics <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=paintComponent&unscoped_q=paintComponent">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/DasCanvasComponentInterface.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/DasCanvasComponentInterface.html#paintComponent">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/DasCanvasComponentInterface.java">[view source]</a> <br> <br> <hr> <a name="resize"></a> <h2>resize</h2> resize( ) → void <p>This is called when the canvas is resized or something has happened to make the boundries change. This code should call the setBounds( Rectangle )</p> <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=resize&unscoped_q=resize">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/DasCanvasComponentInterface.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/DasCanvasComponentInterface.html#resize">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/DasCanvasComponentInterface.java">[view source]</a> <br> <br>