org.tbee.swing
Class JFormattedTextFieldUtils.SimpleGregorianCalendarFormatter

java.lang.Object
  extended by javax.swing.JFormattedTextField.AbstractFormatter
      extended by org.tbee.swing.JFormattedTextFieldUtils.SimpleGregorianCalendarFormatter
All Implemented Interfaces:
Serializable
Enclosing class:
JFormattedTextFieldUtils

public static class JFormattedTextFieldUtils.SimpleGregorianCalendarFormatter
extends JFormattedTextField.AbstractFormatter

the formatter for simple GregorianCalendars

See Also:
Serialized Form

Constructor Summary
JFormattedTextFieldUtils.SimpleGregorianCalendarFormatter()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFormattedTextFieldUtils.SimpleGregorianCalendarFormatter

public JFormattedTextFieldUtils.SimpleGregorianCalendarFormatter()
Method Detail

stringToValue

public Object stringToValue(String text)
                     throws ParseException
Specified by:
stringToValue in class JFormattedTextField.AbstractFormatter
Throws:
ParseException

valueToString

public String valueToString(Object value)
                     throws ParseException
Specified by:
valueToString in class JFormattedTextField.AbstractFormatter
Throws:
ParseException


Copyright © 2011 KnowledgePlaza. All Rights Reserved.