<h2>org.das2.components.propertyeditor.Displayable</h2><p>Type-safe enumerations that are used as property types that are editable with a PropertyEditor should implement this interface.</p> <hr> <a name="drawListIcon"></a> <h2>drawListIcon</h2> drawListIcon( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Graphics2D.html'>java.awt.Graphics2D</a> g, int x, int y ) → void <p>implement this to provide nice drawing of icon on printing graphics context.</p> <h3>Parameters</h3> g - the graphics context. <br> x - the x position, typically 0. <br> y - the y position, typically 0. <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=drawListIcon&unscoped_q=drawListIcon">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/components/propertyeditor/Displayable.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/components/propertyeditor/Displayable.html#drawListIcon">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/components/propertyeditor/Displayable.java">[view source]</a> <br> <br> <hr> <a name="getListIcon"></a> <h2>getListIcon</h2> getListIcon( ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/Icon.html'>javax.swing.Icon</a> <p>An icon can be provided that will be shown in a list along with the textual description of the element. This method should return <code>null</code> if there is no icon available, or a roughly 16x16 pixel icon.</p> <h3>Returns:</h3> the icon. <br><br> <a href="https://github.com/autoplot/dev/search?q=getListIcon&unscoped_q=getListIcon">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/components/propertyeditor/Displayable.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/components/propertyeditor/Displayable.html#getListIcon">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/components/propertyeditor/Displayable.java">[view source]</a> <br> <br> <hr> <a name="getListLabel"></a> <h2>getListLabel</h2> getListLabel( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>return a <code>String</code> that will help the user identify this item when choosing from a list.</p> <h3>Returns:</h3> the list label. <br><br> <a href="https://github.com/autoplot/dev/search?q=getListLabel&unscoped_q=getListLabel">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/components/propertyeditor/Displayable.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/components/propertyeditor/Displayable.html#getListLabel">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/components/propertyeditor/Displayable.java">[view source]</a> <br> <br>