JIDE 3.5.15

com.jidesoft.spinner
Class PointFormatter

java.lang.Object
  extended by javax.swing.JFormattedTextField.AbstractFormatter
      extended by javax.swing.text.DefaultFormatter
          extended by com.jidesoft.spinner.PointFormatter
All Implemented Interfaces:
Serializable, Cloneable

public class PointFormatter
extends DefaultFormatter

Author:
Nako Ruru
See Also:
Serialized Form

Method Summary
static JFormattedTextField.AbstractFormatter getInstance()
           
static void main(String[] args)
           
 Object stringToValue(String text)
           
 String valueToString(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 JFormattedTextField.AbstractFormatter getInstance()

stringToValue

public Object stringToValue(String text)
                     throws ParseException
Overrides:
stringToValue in class DefaultFormatter
Throws:
ParseException

valueToString

public String valueToString(Object value)
                     throws ParseException
Overrides:
valueToString in class DefaultFormatter
Throws:
ParseException

main

public static void main(String[] args)

JIDE 3.5.15