com.nqadmin.swingSet.formatting
Class SSNumericFormatterFactory

java.lang.Object
  extended by javax.swing.JFormattedTextField.AbstractFormatterFactory
      extended by javax.swing.text.DefaultFormatterFactory
          extended by com.nqadmin.swingSet.formatting.SSNumericFormatterFactory
All Implemented Interfaces:
java.io.Serializable

public class SSNumericFormatterFactory
extends javax.swing.text.DefaultFormatterFactory
implements java.io.Serializable

Author:
dags
See Also:
Serialized Form

Constructor Summary
SSNumericFormatterFactory()
          Creates a default SSNumericFormatterFactory
SSNumericFormatterFactory(int precision, int decimals)
          Creates an object of SSFormatterFactory with the specified precision & decimals
 
Method Summary
 
Methods inherited from class javax.swing.text.DefaultFormatterFactory
getDefaultFormatter, getDisplayFormatter, getEditFormatter, getFormatter, getNullFormatter, setDefaultFormatter, setDisplayFormatter, setEditFormatter, setNullFormatter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSNumericFormatterFactory

public SSNumericFormatterFactory()
Creates a default SSNumericFormatterFactory


SSNumericFormatterFactory

public SSNumericFormatterFactory(int precision,
                                 int decimals)
Creates an object of SSFormatterFactory with the specified precision & decimals

Parameters:
precision - - number of digits needed for integer part of the number
decimals - - number of digits needed for fraction part of the number