jdk/src/java.desktop/share/classes/javax/swing/JFormattedTextField.java
changeset 32865 f9cb6e427f9e
parent 28989 27fc7c9b745b
child 33253 78e735319356
equal deleted inserted replaced
32864:2a338536e642 32865:f9cb6e427f9e
   858      * <code>AbstractFormatter</code>s when the
   858      * <code>AbstractFormatter</code>s when the
   859      * <code>JFormattedTextField</code> has focus vs when it
   859      * <code>JFormattedTextField</code> has focus vs when it
   860      * doesn't have focus.
   860      * doesn't have focus.
   861      * @since 1.4
   861      * @since 1.4
   862      */
   862      */
   863     public static abstract class AbstractFormatterFactory {
   863     public abstract static class AbstractFormatterFactory {
   864         /**
   864         /**
   865          * Returns an <code>AbstractFormatter</code> that can handle formatting
   865          * Returns an <code>AbstractFormatter</code> that can handle formatting
   866          * of the passed in <code>JFormattedTextField</code>.
   866          * of the passed in <code>JFormattedTextField</code>.
   867          *
   867          *
   868          * @param tf JFormattedTextField requesting AbstractFormatter
   868          * @param tf JFormattedTextField requesting AbstractFormatter
   901      * Subclasses that allow the <code>JFormattedTextField</code> to be in
   901      * Subclasses that allow the <code>JFormattedTextField</code> to be in
   902      * a temporarily invalid state should invoke <code>setEditValid</code>
   902      * a temporarily invalid state should invoke <code>setEditValid</code>
   903      * at the appropriate times.
   903      * at the appropriate times.
   904      * @since 1.4
   904      * @since 1.4
   905      */
   905      */
   906     public static abstract class AbstractFormatter implements Serializable {
   906     public abstract static class AbstractFormatter implements Serializable {
   907         private JFormattedTextField ftf;
   907         private JFormattedTextField ftf;
   908 
   908 
   909         /**
   909         /**
   910          * Installs the <code>AbstractFormatter</code> onto a particular
   910          * Installs the <code>AbstractFormatter</code> onto a particular
   911          * <code>JFormattedTextField</code>.
   911          * <code>JFormattedTextField</code>.