public static class CustomNumberEditor.NumberFormatterFactory extends JFormattedTextField.AbstractFormatterFactory
| Modifier and Type | Field and Description |
|---|---|
protected CustomNumberEditor.CustomNumberFormatter |
formatter |
protected Class |
valueClass |
| Constructor and Description |
|---|
CustomNumberEditor.NumberFormatterFactory() |
| Modifier and Type | Method and Description |
|---|---|
JFormattedTextField.AbstractFormatter |
getFormatter(JFormattedTextField tf) |
void |
setFormat(NumberFormat format) |
void |
setValueClass(Class newValueClass) |
protected CustomNumberEditor.CustomNumberFormatter formatter
protected Class valueClass
public CustomNumberEditor.NumberFormatterFactory()
public JFormattedTextField.AbstractFormatter getFormatter(JFormattedTextField tf)
getFormatter in class JFormattedTextField.AbstractFormatterFactorypublic void setFormat(NumberFormat format)
public void setValueClass(Class newValueClass)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.