Ontimize 5.2072EN

com.ontimize.gui.field.spinner
Class CustomNumberEditor.CustomNumberFormatter

java.lang.Object
  extended byjavax.swing.JFormattedTextField.AbstractFormatter
      extended byjavax.swing.text.DefaultFormatter
          extended byjavax.swing.text.InternationalFormatter
              extended byjavax.swing.text.NumberFormatter
                  extended bycom.ontimize.gui.field.spinner.CustomNumberEditor.CustomNumberFormatter
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Enclosing class:
CustomNumberEditor

public static class CustomNumberEditor.CustomNumberFormatter
extends javax.swing.text.NumberFormatter

See Also:
Serialized Form

Constructor Summary
CustomNumberEditor.CustomNumberFormatter()
           
CustomNumberEditor.CustomNumberFormatter(java.text.NumberFormat format)
           
 
Method Summary
 java.lang.Object stringToValue(java.lang.String string)
           
 
Methods inherited from class javax.swing.text.NumberFormatter
setFormat
 
Methods inherited from class javax.swing.text.InternationalFormatter
clone, getActions, getFields, getFormat, getMaximum, getMinimum, install, setMaximum, setMinimum, valueToString
 
Methods inherited from class javax.swing.text.DefaultFormatter
getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass
 
Methods inherited from class javax.swing.JFormattedTextField.AbstractFormatter
getFormattedTextField, invalidEdit, setEditValid, uninstall
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomNumberEditor.CustomNumberFormatter

public CustomNumberEditor.CustomNumberFormatter()

CustomNumberEditor.CustomNumberFormatter

public CustomNumberEditor.CustomNumberFormatter(java.text.NumberFormat format)
Method Detail

stringToValue

public java.lang.Object stringToValue(java.lang.String string)
                               throws java.text.ParseException
Throws:
java.text.ParseException

Ontimize