Package ucar.nc2.ui.simplegeom
Class SimpleGeomController
- java.lang.Object
-
- ucar.nc2.ui.simplegeom.SimpleGeomController
-
public class SimpleGeomController extends Object
The controller manages the interactions between SimpleGeom and renderers.
-
-
Field Summary
Fields Modifier and Type Field Description GridRendererrenderGrid
-
Constructor Summary
Constructors Constructor Description SimpleGeomController(SimpleGeomUI ui, ucar.util.prefs.PreferencesExt store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()ColorScalegetColorScale()intgetCurrentEnsembleIndex()intgetCurrentLevelIndex()intgetCurrentRunTimeIndex()intgetCurrentTimeIndex()voidsetColorScale(ColorScale cs)voidsetDataMinMaxType(ColorScale.MinMaxType type)voidsetGridDataset(ucar.nc2.dt.GridDataset gridDataset)voidsetProjection(ucar.unidata.geoloc.ProjectionImpl p)voidstorePersistentData()
-
-
-
Field Detail
-
renderGrid
public GridRenderer renderGrid
-
-
Constructor Detail
-
SimpleGeomController
public SimpleGeomController(SimpleGeomUI ui, ucar.util.prefs.PreferencesExt store)
-
-
Method Detail
-
setGridDataset
public void setGridDataset(ucar.nc2.dt.GridDataset gridDataset)
-
clear
public void clear()
-
getCurrentLevelIndex
public int getCurrentLevelIndex()
-
getCurrentTimeIndex
public int getCurrentTimeIndex()
-
getCurrentEnsembleIndex
public int getCurrentEnsembleIndex()
-
getCurrentRunTimeIndex
public int getCurrentRunTimeIndex()
-
getColorScale
public ColorScale getColorScale()
-
setColorScale
public void setColorScale(ColorScale cs)
-
setProjection
public void setProjection(ucar.unidata.geoloc.ProjectionImpl p)
-
setDataMinMaxType
public void setDataMinMaxType(ColorScale.MinMaxType type)
-
storePersistentData
public void storePersistentData()
-
-