edu.wisc.ssec.mcidasv.data
Class GeoPreviewSelection

java.lang.Object
  extended by ucar.unidata.data.DataSelectionComponent
      extended by edu.wisc.ssec.mcidasv.data.GeoPreviewSelection

public class GeoPreviewSelection
extends DataSelectionComponent


Field Summary
private  LineDrawing box
           
(package private)  DataChoice dataChoice
           
(package private)  DisplayMaster dspMaster
           
private  int elementMag
           
(package private)  FlatField image
           
(package private)  boolean isLL
           
private  GeoLatLonSelection laloSel
           
private  int lineMag
           
private static org.slf4j.Logger logger
           
(package private)  MapProjectionDisplayJ3D mapProjDsp
           
(package private)  MapViewManager mvm
           
private  GeoSubsetRubberBandBox rbb
           
(package private)  MapProjection sampleProjection
           
(package private)  IdvObjectStore store
           
(package private)  double[] x_coords
           
(package private)  double[] y_coords
           
 
Fields inherited from class ucar.unidata.data.DataSelectionComponent
dataSelection
 
Constructor Summary
GeoPreviewSelection(DataSourceImpl dataSource, DataChoice dataChoice, FlatField image, GeoLatLonSelection laLoSel, MapProjection sample, int lMag, int eMag, boolean showPreview)
           
 
Method Summary
private  void addRBB()
           
 void applyToDataSelection(DataSelection dataSelection)
           
protected  JComponent doMakeContents()
           
 void drawBox()
           
private  void eraseBox()
           
private  void forceCoords()
           
 DataChoice getDataChoice()
           
 MapProjection getDataProjection()
           
 boolean getShowInControlProperties()
           
 void initBox()
           
private  void makeBox()
           
private  boolean rBBPresent()
           
private  void removeRBB()
           
 void setDataChoice(DataChoice choice)
           
 
Methods inherited from class ucar.unidata.data.DataSelectionComponent
getContents, getContents, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final org.slf4j.Logger logger

dataChoice

DataChoice dataChoice

image

FlatField image

isLL

boolean isLL

sampleProjection

MapProjection sampleProjection

x_coords

double[] x_coords

y_coords

double[] y_coords

mapProjDsp

MapProjectionDisplayJ3D mapProjDsp

dspMaster

DisplayMaster dspMaster

mvm

MapViewManager mvm

store

IdvObjectStore store

rbb

private final GeoSubsetRubberBandBox rbb

lineMag

private int lineMag

elementMag

private int elementMag

laloSel

private GeoLatLonSelection laloSel

box

private LineDrawing box
Constructor Detail

GeoPreviewSelection

public GeoPreviewSelection(DataSourceImpl dataSource,
                           DataChoice dataChoice,
                           FlatField image,
                           GeoLatLonSelection laLoSel,
                           MapProjection sample,
                           int lMag,
                           int eMag,
                           boolean showPreview)
                    throws VisADException,
                           RemoteException
Throws:
VisADException
RemoteException
Method Detail

getDataProjection

public MapProjection getDataProjection()

initBox

public void initBox()

doMakeContents

protected JComponent doMakeContents()
Specified by:
doMakeContents in class DataSelectionComponent

setDataChoice

public void setDataChoice(DataChoice choice)

getDataChoice

public DataChoice getDataChoice()

forceCoords

private void forceCoords()

applyToDataSelection

public void applyToDataSelection(DataSelection dataSelection)
Specified by:
applyToDataSelection in class DataSelectionComponent

getShowInControlProperties

public boolean getShowInControlProperties()
Overrides:
getShowInControlProperties in class DataSelectionComponent

drawBox

public void drawBox()

makeBox

private void makeBox()

eraseBox

private void eraseBox()

rBBPresent

private boolean rBBPresent()

removeRBB

private void removeRBB()

addRBB

private void addRBB()