Package ucar.nc2.ui.geoloc
Class ProjectionManager
- java.lang.Object
-
- ucar.nc2.ui.geoloc.ProjectionManager
-
public class ProjectionManager extends Object
Manages a modal dialogue box that allows the user to define projections using subclasses of ucar.unidata.gis.ProjectionImpl.1) It uses bean introspection on ProjectionImpl subclasses to dynamically configure edit fields for the projection's parameters. The subclass should define getXXX() and setXXX() methods for each parameter. 2) A user-defined list of ProjectionImpl is maintained through a PersistentStore object. 3) when the user selects a projection, a NewProjectionEvent is sent to any listeners 4) currently the list of possible projection classes is maintained as a hard-wired list of class names. This should be rethunk.
-
-
Constructor Summary
Constructors Constructor Description ProjectionManager(Frame owner, PreferencesExt store)
default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(PropertyChangeListener l)
void
removePropertyChangeListener(PropertyChangeListener l)
void
setVisible()
void
storePersistentData()
-
-
-
Constructor Detail
-
ProjectionManager
public ProjectionManager(Frame owner, PreferencesExt store)
default constructor
-
-
Method Detail
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
-
setVisible
public void setVisible()
-
storePersistentData
public void storePersistentData()
-
-