org.tbee.swing
Class JFormattedTextFieldUtils.PercentFormatter

java.lang.Object
  extended by javax.swing.JFormattedTextField.AbstractFormatter
      extended by javax.swing.text.DefaultFormatter
          extended by javax.swing.text.InternationalFormatter
              extended by javax.swing.text.NumberFormatter
                  extended by org.tbee.swing.format.DecimalFormatterInternational
                      extended by org.tbee.swing.JFormattedTextFieldUtils.PercentFormatter
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
JFormattedTextFieldUtils

public static class JFormattedTextFieldUtils.PercentFormatter
extends DecimalFormatterInternational

the formatter for simple integers

See Also:
Serialized Form

Constructor Summary
JFormattedTextFieldUtils.PercentFormatter()
           
 
Method Summary
 java.lang.Object stringToValue(java.lang.String text)
           
 
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

JFormattedTextFieldUtils.PercentFormatter

public JFormattedTextFieldUtils.PercentFormatter()
Method Detail

stringToValue

public java.lang.Object stringToValue(java.lang.String text)
                               throws java.text.ParseException
Overrides:
stringToValue in class DecimalFormatterInternational
Throws:
java.text.ParseException


Copyright © 2010 KnowledgePlaza. All Rights Reserved.