us.zuercher.gpx2map.gui
Class LatitudeCoordinateFormatter

java.lang.Object
  extended by javax.swing.JFormattedTextField.AbstractFormatter
      extended by javax.swing.text.DefaultFormatter
          extended by javax.swing.text.InternationalFormatter
              extended by javax.swing.text.NumberFormatter
                  extended by us.zuercher.gpx2map.gui.LatitudeCoordinateFormatter
All Implemented Interfaces:
Serializable, Cloneable

public class LatitudeCoordinateFormatter
extends NumberFormatter

LatitudeCoordinateFormatter extends NumberFormatter to deal with decimal latitude values. Values are limited to the range [-90, 90] and formatted with 1 to 10 decimal digits.

Author:
Stephan Zuercher
See Also:
Serialized Form

Constructor Summary
LatitudeCoordinateFormatter()
          Constructs a new LatitudeCoordinateFormatter.
 
Method Summary
 
Methods inherited from class javax.swing.text.NumberFormatter
setFormat
 
Methods inherited from class javax.swing.text.InternationalFormatter
clone, getActions, getFields, getFormat, getMaximum, getMinimum, install, setMaximum, setMinimum, stringToValue, valueToString
 
Methods inherited from class javax.swing.text.DefaultFormatter
getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass
 
Methods inherited from class javax.swing.JFormattedTextField.AbstractFormatter
getFormattedTextField, invalidEdit, setEditValid, uninstall
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatitudeCoordinateFormatter

public LatitudeCoordinateFormatter()
Constructs a new LatitudeCoordinateFormatter.