/[classpath]/classpath/javax/swing/text/DefaultFormatter.java
ViewVC logotype

Diff of /classpath/javax/swing/text/DefaultFormatter.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3.2.1 by gnu_andrew, Tue Aug 2 20:12:38 2005 UTC revision 1.3.2.2 by gnu_andrew, Tue Sep 20 18:46:35 2005 UTC
# Line 57  import javax.swing.JFormattedTextField; Line 57  import javax.swing.JFormattedTextField;
57   *     *  
58   * @author Roman Kennke (roman@kennke.org)   * @author Roman Kennke (roman@kennke.org)
59   */   */
60  public class DefaultFormatter  public class DefaultFormatter extends JFormattedTextField.AbstractFormatter
   extends JFormattedTextField.AbstractFormatter  
61    implements Cloneable, Serializable    implements Cloneable, Serializable
62  {  {
63    
# Line 156  public class DefaultFormatter Line 155  public class DefaultFormatter
155       * Checks if the value in the input field is valid. If the       * Checks if the value in the input field is valid. If the
156       * property allowsInvalid is set to <code>false</code>, then       * property allowsInvalid is set to <code>false</code>, then
157       * the string in the input field is not allowed to be entered.       * the string in the input field is not allowed to be entered.
      *  
      * @param doc the document of the input field  
      * @param value the current (old) value of the input field  
158       */       */
159      private void checkValidInput()      private void checkValidInput()
160      {      {
# Line 186  public class DefaultFormatter Line 182  public class DefaultFormatter
182      }      }
183    }    }
184    
185    /** The serialVersoinUID. */    /** The serialization UID (compatible with JDK1.5). */
186    private static final long serialVersionUID = -7369196326612908900L;    private static final long serialVersionUID = -355018354457785329L;
187    
188    /**    /**
189     * Indicates if the value should be committed after every     * Indicates if the value should be committed after every

Legend:
Removed from v.1.3.2.1  
changed lines
  Added in v.1.3.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26