Class PointFormatter

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class PointFormatter
    extends javax.swing.text.DefaultFormatter
    Author:
    Nako Ruru
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.swing.JFormattedTextField.AbstractFormatter getInstance()  
      static void main​(java.lang.String[] args)  
      java.lang.Object stringToValue​(java.lang.String text)  
      java.lang.String valueToString​(java.lang.Object value)  
      • Methods inherited from class javax.swing.text.DefaultFormatter

        clone, getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, install, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass
      • Methods inherited from class javax.swing.JFormattedTextField.AbstractFormatter

        getActions, getFormattedTextField, invalidEdit, setEditValid, uninstall
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static javax.swing.JFormattedTextField.AbstractFormatter getInstance()
      • stringToValue

        public java.lang.Object stringToValue​(java.lang.String text)
                                       throws java.text.ParseException
        Overrides:
        stringToValue in class javax.swing.text.DefaultFormatter
        Throws:
        java.text.ParseException
      • valueToString

        public java.lang.String valueToString​(java.lang.Object value)
                                       throws java.text.ParseException
        Overrides:
        valueToString in class javax.swing.text.DefaultFormatter
        Throws:
        java.text.ParseException
      • main

        public static void main​(java.lang.String[] args)