<h2>org.das2.graph.AttachedLabel</h2><p>A canvas component for labeling things that is positioned just outside of a row,column box.</p> <h2>AttachedLabel( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> label, int orientation, double emOffset )</h2> <p>constructs an AttachedLabel.</p> <hr> <a name="TOP"></a> <h2>TOP</h2> <p>This value indicates that the axis should be located at the top of its cell</p> <hr> <a name="BOTTOM"></a> <h2>BOTTOM</h2> <p>This value indicates that the axis should be located at the bottom of its cell</p> <hr> <a name="LEFT"></a> <h2>LEFT</h2> <p>This value indicates that the axis should be located to the left of its cell</p> <hr> <a name="RIGHT"></a> <h2>RIGHT</h2> <p>This value indicateds that the axis should be located to the right of its cell</p> <hr> <a name="HORIZONTAL"></a> <h2>HORIZONTAL</h2> <p>This value indicates that the axis should be oriented horizontally</p> <hr> <a name="VERTICAL"></a> <h2>VERTICAL</h2> <p>This value indicates that the axis should be oriented vertically</p> <hr> <a name="clone"></a> <h2>clone</h2> clone( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> <p>clones the component</p> <h3>Returns:</h3> clone of this. <br><br> <a href="https://github.com/autoplot/dev/search?q=clone&unscoped_q=clone">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#clone">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="getActiveRegion"></a> <h2>getActiveRegion</h2> getActiveRegion( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Shape.html'>java.awt.Shape</a> <p></p> <h3>Returns:</h3> the bounds of the label <br><br> <a href="https://github.com/autoplot/dev/search?q=getActiveRegion&unscoped_q=getActiveRegion">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#getActiveRegion">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="getDLength"></a> <h2>getDLength</h2> getDLength( ) → int <p></p> <h3>Returns:</h3> returns the length in pixels of the axis. <br><br> <a href="https://github.com/autoplot/dev/search?q=getDLength&unscoped_q=getDLength">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#getDLength">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="getDevicePosition"></a> <h2><del>getDevicePosition</del></h2> Deprecated: It's not clear how this should be used, and it does not appear to be used within dasCore and dasApps. <hr> <a name="getEmOffset"></a> <h2>getEmOffset</h2> getEmOffset( ) → double <p>Getter for property emOffset.</p> <h3>Returns:</h3> Value of property emOffset. <br><br> <a href="https://github.com/autoplot/dev/search?q=getEmOffset&unscoped_q=getEmOffset">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#getEmOffset">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="getLabel"></a> <h2>getLabel</h2> getLabel( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>Accessor method for the title property of this axis.</p> <h3>Returns:</h3> A String instance that contains the title displayed for this axis, or <code>null</code> if the axis has no title. <br><br> <a href="https://github.com/autoplot/dev/search?q=getLabel&unscoped_q=getLabel">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#getLabel">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="getLabelFont"></a> <h2>getLabelFont</h2> getLabelFont( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Font.html'>java.awt.Font</a> <p>get the current font of the compoennt.</p> <h3>Returns:</h3> Font of the component. <br><br> <a href="https://github.com/autoplot/dev/search?q=getLabelFont&unscoped_q=getLabelFont">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#getLabelFont">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="getOrientation"></a> <h2>getOrientation</h2> getOrientation( ) → int <p>return orientation int</p> <h3>Returns:</h3> AttachedLabel.TOP, etc. <br><br> <a href="https://github.com/autoplot/dev/search?q=getOrientation&unscoped_q=getOrientation">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#getOrientation">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="isHorizontal"></a> <h2>isHorizontal</h2> isHorizontal( ) → boolean <p>true if the label is horizontal</p> <h3>Returns:</h3> true if the label is horizontal <br><br> <a href="https://github.com/autoplot/dev/search?q=isHorizontal&unscoped_q=isHorizontal">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#isHorizontal">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="resize"></a> <h2>resize</h2> resize( ) → void <p>revalidate component after resize.</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/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.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/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="setEmOffset"></a> <h2>setEmOffset</h2> setEmOffset( double emOffset ) → void <p>Setter for property emOffset.</p> <h3>Parameters</h3> emOffset - New value of property emOffset. <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setEmOffset&unscoped_q=setEmOffset">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#setEmOffset">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="setLabel"></a> <h2>setLabel</h2> setLabel( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> t ) → void <p>Mutator method for the title property of this axis. The title for this axis is displayed below the ticks for horizontal axes or to left of the ticks for vertical axes.</p> <h3>Parameters</h3> t - The new title for this axis <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setLabel&unscoped_q=setLabel">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#setLabel">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="setLabelFont"></a> <h2>setLabelFont</h2> setLabelFont( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Font.html'>java.awt.Font</a> labelFont ) → void <p>set the font of the label.</p> <h3>Parameters</h3> labelFont - Font for the component. Currently this is ignored. <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setLabelFont&unscoped_q=setLabelFont">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#setLabelFont">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br> <hr> <a name="setOrientation"></a> <h2>setOrientation</h2> setOrientation( int orientation ) → void <p>Sets the side of the row,column box to locate the label.</p> <h3>Parameters</h3> orientation - should be one of AttachedLabel.TOP, AttachedLabel.BOTTOM, AttachedLabel.LEFT, AttachedLabel.RIGHT <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setOrientation&unscoped_q=setOrientation">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/AttachedLabel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/AttachedLabel.html#setOrientation">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/AttachedLabel.java">[view source]</a> <br> <br>