ikayaki.gui
Class ProjectInformationPanel.MyFormatterFactory
java.lang.Object
javax.swing.JFormattedTextField.AbstractFormatterFactory
ikayaki.gui.ProjectInformationPanel.MyFormatterFactory
- Enclosing class:
- ProjectInformationPanel
private class ProjectInformationPanel.MyFormatterFactory
- extends JFormattedTextField.AbstractFormatterFactory
Custom formatter factory for the JFormattedTextFields in this class.
- Author:
- Esko Luontola
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectInformationPanel.MyFormatterFactory
private ProjectInformationPanel.MyFormatterFactory()
getFormatter
public JFormattedTextField.AbstractFormatter getFormatter(JFormattedTextField tf)
- Returns an
AbstractFormatter
that can handle formatting of the passed in
JFormattedTextField
.
- Specified by:
getFormatter
in class 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