org.springframework.richclient.form.binding.swing.text
Class TimeFormatter

Show UML class diagram
java.lang.Object
  extended by javax.swing.JFormattedTextField.AbstractFormatter
      extended by javax.swing.text.DefaultFormatter
          extended by org.springframework.richclient.form.binding.swing.text.TimeFormatter
All Implemented Interfaces:
Serializable, Cloneable

public class TimeFormatter
extends DefaultFormatter

See Also:
Serialized Form

Field Summary
static char SEPARATOR
           
static String SEPARATOR_STRING
           
 
Constructor Summary
TimeFormatter()
           
 
Method Summary
 Object stringToValue(String string)
           
 String valueToString(Object value)
           
 
Methods inherited from class javax.swing.text.DefaultFormatter
clone, getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, install, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass
 
Methods inherited from class javax.swing.JFormattedTextField.AbstractFormatter
getActions, getFormattedTextField, invalidEdit, setEditValid, uninstall
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEPARATOR

public static final char SEPARATOR
See Also:
Constant Field Values

SEPARATOR_STRING

public static final String SEPARATOR_STRING
See Also:
Constant Field Values
Constructor Detail

TimeFormatter

public TimeFormatter()
Method Detail

stringToValue

public Object stringToValue(String string)
                     throws ParseException
Overrides:
stringToValue in class DefaultFormatter
Throws:
ParseException

valueToString

public String valueToString(Object value)
                     throws ParseException
Overrides:
valueToString in class DefaultFormatter
Throws:
ParseException


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.