mavis.gui
Class ProjectInformationPanel.MyFormatterFactory

java.lang.Object
  extended by javax.swing.JFormattedTextField.AbstractFormatterFactory
      extended by mavis.gui.ProjectInformationPanel.MyFormatterFactory
Enclosing class:
ProjectInformationPanel

private class ProjectInformationPanel.MyFormatterFactory
extends javax.swing.JFormattedTextField.AbstractFormatterFactory

Custom formatter factory for the JFormattedTextFields in this class.


Constructor Summary
private ProjectInformationPanel.MyFormatterFactory()
           
 
Method Summary
 javax.swing.JFormattedTextField.AbstractFormatter getFormatter(javax.swing.JFormattedTextField tf)
          Returns an AbstractFormatter that can handle formatting of the passed in JFormattedTextField.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectInformationPanel.MyFormatterFactory

private ProjectInformationPanel.MyFormatterFactory()
Method Detail

getFormatter

public javax.swing.JFormattedTextField.AbstractFormatter getFormatter(javax.swing.JFormattedTextField tf)
Returns an AbstractFormatter that can handle formatting of the passed in JFormattedTextField.

Specified by:
getFormatter in class javax.swing.JFormattedTextField.AbstractFormatterFactory
Parameters:
tf - JFormattedTextField requesting AbstractFormatter
Returns:
AbstractFormatter to handle formatting duties, a null return value implies the JFormattedTextField should behave like a normal JTextField