Class ShortEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor

    public class ShortEditor
    extends NumberEditor
    A PropertyEditor which converts a String into a Short and vice versa.
    Author:
    Apache MINA Project
    • Constructor Summary

      Constructors 
      Constructor Description
      ShortEditor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object defaultValue()  
      protected java.lang.Object toValue​(java.lang.String text, int radix)  
      • Methods inherited from class java.beans.PropertyEditorSupport

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

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

      • ShortEditor

        public ShortEditor()
    • Method Detail

      • toValue

        protected java.lang.Object toValue​(java.lang.String text,
                                           int radix)
        Overrides:
        toValue in class NumberEditor
      • defaultValue

        protected java.lang.Object defaultValue()
        Overrides:
        defaultValue in class NumberEditor
        Returns:
        The default value