<h2>org.das2.util.StringSchemeEditor</h2><p>Where a String holds a state, and an editor is provided to edit the state.</p> <hr> <a name="getComponent"></a> <h2>getComponent</h2> getComponent( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Component.html'>java.awt.Component</a> <p>return the editor for the string</p> <h3>Returns:</h3> the editor for the string <br><br> <a href="https://github.com/autoplot/dev/search?q=getComponent&unscoped_q=getComponent">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/StringSchemeEditor.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/StringSchemeEditor.html#getComponent">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/StringSchemeEditor.java">[view source]</a> <br> <br> <hr> <a name="getValue"></a> <h2>getValue</h2> getValue( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>return the string represented by the GUI state</p> <h3>Returns:</h3> the string represented by the GUI state <br><br> <a href="https://github.com/autoplot/dev/search?q=getValue&unscoped_q=getValue">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/StringSchemeEditor.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/StringSchemeEditor.html#getValue">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/StringSchemeEditor.java">[view source]</a> <br> <br> <hr> <a name="setContext"></a> <h2>setContext</h2> setContext( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> o ) → void <p>some clients of this code may provide a context for the string, so for example a preview could be created or units detected or null to clear the context. This method can be ignored, and the code should assume a context will be provided. This is typically the object containing the property.</p> <h3>Parameters</h3> o - an Object <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setContext&unscoped_q=setContext">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/StringSchemeEditor.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/StringSchemeEditor.html#setContext">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/StringSchemeEditor.java">[view source]</a> <br> <br> <hr> <a name="setValue"></a> <h2>setValue</h2> setValue( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> v ) → void <p>set the current string value, representing a state.</p> <h3>Parameters</h3> v - the state <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setValue&unscoped_q=setValue">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/StringSchemeEditor.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/StringSchemeEditor.html#setValue">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/StringSchemeEditor.java">[view source]</a> <br> <br>