Class AxisScaleEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor

    public class AxisScaleEditor
    extends java.beans.PropertyEditorSupport
    A JavaBeans property editor for the AxisScale class.
    • Constructor Summary

      Constructors 
      Constructor Description
      AxisScaleEditor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAsText()
      Returns a string representing the current value.
      java.lang.String getJavaInitializationString()
      Returns a string for the property value.
      java.lang.String[] getTags()
      Returns the valid string values for this property.
      void setAsText​(java.lang.String text)
      Sets the current value by parsing the supplied string.
      • Methods inherited from class java.beans.PropertyEditorSupport

        addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAsText

        public java.lang.String getAsText()
        Returns a string representing the current value. This will be one of INTEGER and FLOAT.
        Specified by:
        getAsText in interface java.beans.PropertyEditor
        Overrides:
        getAsText in class java.beans.PropertyEditorSupport
        Returns:
        A string representing the current value.
      • setAsText

        public void setAsText​(java.lang.String text)
                       throws java.lang.IllegalArgumentException
        Sets the current value by parsing the supplied string.
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Overrides:
        setAsText in class java.beans.PropertyEditorSupport
        Parameters:
        text - the string value.
        Throws:
        java.lang.IllegalArgumentException - if text is not one of the values listed in getAsText().
      • getTags

        public java.lang.String[] getTags()
        Returns the valid string values for this property.
        Specified by:
        getTags in interface java.beans.PropertyEditor
        Overrides:
        getTags in class java.beans.PropertyEditorSupport
        Returns:
        The valid string values for this property.
      • getJavaInitializationString

        public java.lang.String getJavaInitializationString()
        Returns a string for the property value.
        Specified by:
        getJavaInitializationString in interface java.beans.PropertyEditor
        Overrides:
        getJavaInitializationString in class java.beans.PropertyEditorSupport
        Returns:
        A string for the property value.