public class AddeImageAdvancedPanel extends DataSelectionComponent
Modifier and Type | Field and Description |
---|---|
javax.swing.JPanel |
advance
_more_
|
protected boolean |
amUpdating
_more_
|
protected javax.swing.JSlider |
elementMagSlider
_more_
|
protected java.awt.Insets |
GRID_INSETS
Used by derived classes when they do a GuiUtils.doLayout
|
protected int |
GRID_SPACING
The spacing used in the grid layout
|
protected LatLonWidget |
latLonWidget
Input for lat/lon center point
|
protected javax.swing.JSlider |
lineMagSlider
_more_
|
protected GuiUtils.CardLayoutPanel |
locationPanel
_more_
|
protected static java.lang.String |
PLACE_CENTER
_more_
|
protected static java.lang.String |
PLACE_ULEFT
_more_
|
protected static java.lang.String |
TYPE_AREA
area
|
protected static java.lang.String |
TYPE_LATLON
earth coordinates
|
dataSelection
Constructor and Description |
---|
AddeImageAdvancedPanel(AddeImageDataSource dataSource,
DataChoice dc,
java.lang.String source,
edu.wisc.ssec.mcidas.AREAnav baseAnav,
AddeImageDescriptor descriptor,
visad.georef.MapProjection sample,
AddeImagePreviewPanel region)
Construct a AddeImageAdvancedPanel
|
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JComponent |
addPropComp(java.lang.String propId,
javax.swing.JComponent comp)
_more_
|
void |
applyToDataSelection(DataSelection dataSelection)
_more_
|
protected void |
convertToLatLon()
_more_
|
protected void |
convertToLineEle()
_more_
|
protected void |
convertToLinEle()
_more_
|
protected javax.swing.JComponent |
doMakeContents()
_more_
|
protected void |
elementMagSliderChanged(boolean autoSetSize)
_more_
|
void |
enablePanel(javax.swing.JPanel panel,
boolean enable)
_more_
|
void |
enablePanelAll(boolean enable)
_more_
|
protected void |
flipLocationPanel(int locPanel)
_more_
|
java.lang.String |
getCoordinateType()
_more_
|
DataChoice |
getDataChoice()
_more_
|
int |
getElement()
_more_
|
protected int |
getElementMagValue()
Get the value of the element magnification slider.
|
java.lang.String |
getFileName()
_more_
|
boolean |
getIsFromRegionUpdate()
_more_
|
boolean |
getIsProgressiveResolution()
_more_
|
double |
getLatitude()
_more_
|
int |
getLine()
_more_
|
protected int |
getLineMagValue()
Get the value of the line magnification slider.
|
double |
getLongitude()
_more_
|
int |
getNumEles()
_more_
|
int |
getNumLines()
_more_
|
java.lang.String |
getPlace()
_more_
|
protected java.lang.String |
getUrl()
_more_
|
protected void |
lineMagSliderChanged(boolean autoSetSize)
Handle the line mag slider changed event
|
protected java.util.List |
readTextLines(java.lang.String url)
_more_
|
void |
setBaseNumElements(int eles)
_more_
|
void |
setBaseNumLines(int lines)
_more_
|
void |
setDataChoice(DataChoice choice)
_more_
|
void |
setElement(int val)
_more_
|
void |
setElementMagSlider(int value)
_more_
|
void |
setIsFromRegionUpdate(boolean isRegion)
_more_
|
void |
setIsLineEle(boolean val)
_more_
|
void |
setLatitude(double val)
_more_
|
void |
setLine(int val)
_more_
|
protected void |
setLineElement()
_more_
|
void |
setLineMagSlider(int value)
_more_
|
void |
setLongitude(double val)
_more_
|
void |
setNumEles(int val)
_more_
|
void |
setNumLines(int val)
_more_
|
void |
setPlace(java.lang.String str)
_more_
|
void |
setToFullResolution(java.lang.Boolean update)
Set to full resolution
|
protected java.lang.String |
translatePlace(java.lang.String thisPlace)
_more_
|
void |
updateImageHeightSize()
_more_
|
void |
updateImageWidthSize()
this updates the previewSelection selected region, only the image
size changes being counted in this update api
|
void |
updatePlace()
this updates the previewSelection selected region, only lat/lon
or line/ele location changes and the place change being counted in
this update api
|
getContents, getContents, getName, getShowInControlProperties
public javax.swing.JPanel advance
protected int GRID_SPACING
protected java.awt.Insets GRID_INSETS
protected javax.swing.JSlider lineMagSlider
protected javax.swing.JSlider elementMagSlider
protected static final java.lang.String TYPE_LATLON
protected static final java.lang.String TYPE_AREA
protected LatLonWidget latLonWidget
protected GuiUtils.CardLayoutPanel locationPanel
protected boolean amUpdating
protected static final java.lang.String PLACE_CENTER
protected static final java.lang.String PLACE_ULEFT
public AddeImageAdvancedPanel(AddeImageDataSource dataSource, DataChoice dc, java.lang.String source, edu.wisc.ssec.mcidas.AREAnav baseAnav, AddeImageDescriptor descriptor, visad.georef.MapProjection sample, AddeImagePreviewPanel region) throws java.io.IOException, java.text.ParseException, visad.VisADException
dataSource
- _more_dc
- _more_source
- _more_baseAnav
- _more_descriptor
- _more_sample
- _more_region
- _more_java.io.IOException
- _more_java.text.ParseException
- _more_visad.VisADException
- _more_public void setBaseNumLines(int lines)
lines
- _more_public void setBaseNumElements(int eles)
eles
- _more_public boolean getIsFromRegionUpdate()
public void setIsFromRegionUpdate(boolean isRegion)
isRegion
- _more_public void updatePlace()
public void updateImageWidthSize()
public void updateImageHeightSize()
public void enablePanel(javax.swing.JPanel panel, boolean enable)
panel
- _more_enable
- _more_public void enablePanelAll(boolean enable)
enable
- _more_protected java.lang.String getUrl()
protected java.util.List readTextLines(java.lang.String url)
url
- _more_protected javax.swing.JComponent addPropComp(java.lang.String propId, javax.swing.JComponent comp)
propId
- _more_comp
- _more_protected void elementMagSliderChanged(boolean autoSetSize)
autoSetSize
- _more_protected void lineMagSliderChanged(boolean autoSetSize)
autoSetSize
- the eventpublic void setElementMagSlider(int value)
value
- _more_public void setLineMagSlider(int value)
value
- _more_protected int getLineMagValue()
protected int getElementMagValue()
public java.lang.String getFileName()
protected javax.swing.JComponent doMakeContents()
doMakeContents
in class DataSelectionComponent
protected void flipLocationPanel(int locPanel)
locPanel
- _more_public void setIsLineEle(boolean val)
val
- _more_public boolean getIsProgressiveResolution()
public double getLatitude()
public void setLatitude(double val)
val
- _more_public double getLongitude()
public void setLongitude(double val)
val
- _more_protected void convertToLineEle()
protected void convertToLatLon()
public java.lang.String getCoordinateType()
public int getNumLines()
public void setNumLines(int val)
val
- _more_public int getNumEles()
public void setNumEles(int val)
val
- _more_protected void setLineElement()
public void setLine(int val)
val
- _more_public void setElement(int val)
val
- _more_public void applyToDataSelection(DataSelection dataSelection)
applyToDataSelection
in class DataSelectionComponent
dataSelection
- _more_public void setDataChoice(DataChoice choice)
choice
- _more_public DataChoice getDataChoice()
public java.lang.String getPlace()
protected java.lang.String translatePlace(java.lang.String thisPlace)
thisPlace
- _more_public int getElement()
public int getLine()
public void setToFullResolution(java.lang.Boolean update)
update
- _more_public void setPlace(java.lang.String str)
str
- _more_protected void convertToLinEle()