Package adams.gui.goe

Class StringEditor

    • Field Detail

      • m_Current

        protected String m_Current
        the current value.
    • Constructor Detail

      • StringEditor

        public StringEditor()
        Initializes the editor.
    • Method Detail

      • setValue

        public void setValue​(Object value)
        Set (or change) the object that is to be edited. Primitive types such as "int" must be wrapped as the corresponding object type such as "java.lang.String".
        Specified by:
        setValue in interface PropertyEditor
        Overrides:
        setValue in class AbstractPropertyEditorSupport
        Parameters:
        value - The new target object to be edited. Note that this object should not be modified by the PropertyEditor, rather the PropertyEditor should create a new object to hold any modified value.
      • getValue

        public Object getValue()
        Gets the property value.
        Specified by:
        getValue in interface PropertyEditor
        Overrides:
        getValue in class PropertyEditorSupport
        Returns:
        The value of the property. Primitive types such as "int" will be wrapped as the corresponding object type such as "java.lang.String".