edu.nrao.sss.webapp.faces.converter
Class LatitudeConverter

java.lang.Object
  extended by edu.nrao.sss.webapp.faces.converter.LatitudeConverter
All Implemented Interfaces:
Converter

public class LatitudeConverter
extends Object
implements Converter

This class converts a string into a Latitude and the other way around.


Constructor Summary
LatitudeConverter()
           
 
Method Summary
 Object getAsObject(FacesContext context, UIComponent component, String value)
           
 String getAsString(FacesContext context, UIComponent component, Object value)
           
 CelestialCoordinateSystem getCcs()
           
 CelestialCoordinateSystem getCelestialCoordinateSystem()
           
 void setCcs(ValueChangeEvent e)
           
 void setCelestialCoordinateSystem(CelestialCoordinateSystem ccs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatitudeConverter

public LatitudeConverter()
Method Detail

getAsObject

public Object getAsObject(FacesContext context,
                          UIComponent component,
                          String value)
Specified by:
getAsObject in interface Converter

getCelestialCoordinateSystem

public CelestialCoordinateSystem getCelestialCoordinateSystem()

setCelestialCoordinateSystem

public void setCelestialCoordinateSystem(CelestialCoordinateSystem ccs)

setCcs

public void setCcs(ValueChangeEvent e)

getCcs

public CelestialCoordinateSystem getCcs()

getAsString

public String getAsString(FacesContext context,
                          UIComponent component,
                          Object value)
Specified by:
getAsString in interface Converter


Copyright © 2009. All Rights Reserved.