Class DateFormatter
- java.lang.Object
-
- javax.swing.JFormattedTextField.AbstractFormatter
-
- org.iqtig.pseudonymisierung.gui.components.DateFormatter
-
- All Implemented Interfaces:
Serializable
public class DateFormatter extends JFormattedTextField.AbstractFormatter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DateFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
stringToValue(String text)
String
valueToString(Object value)
-
Methods inherited from class javax.swing.JFormattedTextField.AbstractFormatter
clone, getActions, getDocumentFilter, getFormattedTextField, getNavigationFilter, install, invalidEdit, setEditValid, uninstall
-
-
-
-
Method Detail
-
stringToValue
public Object stringToValue(String text) throws ParseException
- Specified by:
stringToValue
in classJFormattedTextField.AbstractFormatter
- Throws:
ParseException
-
valueToString
public String valueToString(Object value) throws ParseException
- Specified by:
valueToString
in classJFormattedTextField.AbstractFormatter
- Throws:
ParseException
-
-