equal
deleted
inserted
replaced
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>. |