Class DoubleEditor

  • All Implemented Interfaces:
    BindablePropertyEditor, java.beans.PropertyEditor

    public class DoubleEditor
    extends AbstractNumberEditor
    This is the component used in the property editor table to edit Double and double properties. It handles null values gracefully as empty string.
    • Constructor Detail

      • DoubleEditor

        public DoubleEditor()
    • Method Detail

      • extractSubtype

        protected java.lang.Object extractSubtype​(java.lang.Number number)
        Description copied from class: AbstractNumberEditor
        Return the right kind of number here.
        Specified by:
        extractSubtype in class AbstractNumberEditor
        Parameters:
        number - Will never be null.
        Returns:
        The correct kind of number, for example, a Double