Package ucar.unidata.data.imagery
Class AddeImageAdvancedPanel
java.lang.Object
ucar.unidata.data.DataSelectionComponent
ucar.unidata.data.imagery.AddeImageAdvancedPanel
Created with IntelliJ IDEA.
User: opendap
Date: 5/28/13
Time: 10:36 PM
To change this template use File | Settings | File Templates.
-
Field Summary
FieldsModifier and TypeFieldDescription_more_protected boolean
_more_protected JSlider
_more_protected Insets
Used by derived classes when they do a GuiUtils.doLayoutprotected int
The spacing used in the grid layoutprotected LatLonWidget
Input for lat/lon center pointprotected JSlider
_more_protected GuiUtils.CardLayoutPanel
_more_protected static final String
_more_protected static final String
_more_protected static final String
areaprotected static final String
earth coordinatesFields inherited from class ucar.unidata.data.DataSelectionComponent
dataSelection
-
Constructor Summary
ConstructorsConstructorDescriptionAddeImageAdvancedPanel
(AddeImageDataSource dataSource, DataChoice dc, String source, AREAnav baseAnav, AddeImageDescriptor descriptor, MapProjection sample, AddeImagePreviewPanel region) Construct a AddeImageAdvancedPanel -
Method Summary
Modifier and TypeMethodDescriptionprotected JComponent
addPropComp
(String propId, JComponent comp) _more_void
applyToDataSelection
(DataSelection dataSelection) _more_protected void
_more_protected void
_more_protected void
_more_protected JComponent
_more_protected void
elementMagSliderChanged
(boolean autoSetSize) _more_void
enablePanel
(JPanel panel, boolean enable) _more_void
enablePanelAll
(boolean enable) _more_protected void
flipLocationPanel
(int locPanel) _more__more__more_int
_more_protected int
Get the value of the element magnification slider._more_boolean
_more_boolean
_more_double
_more_int
getLine()
_more_protected int
Get the value of the line magnification slider.double
_more_int
_more_int
_more_getPlace()
_more_protected String
getUrl()
_more_protected void
lineMagSliderChanged
(boolean autoSetSize) Handle the line mag slider changed eventprotected List
readTextLines
(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
_more_void
setLineMagSlider
(int value) _more_void
setLongitude
(double val) _more_void
setNumEles
(int val) _more_void
setNumLines
(int val) _more_void
_more_void
setToFullResolution
(Boolean update) Set to full resolutionprotected String
translatePlace
(String thisPlace) _more_void
_more_void
this updates the previewSelection selected region, only the image size changes being counted in this update apivoid
this updates the previewSelection selected region, only lat/lon or line/ele location changes and the place change being counted in this update apiMethods inherited from class ucar.unidata.data.DataSelectionComponent
getContents, getContents, getName, getShowInControlProperties
-
Field Details
-
advance
_more_ -
GRID_SPACING
protected int GRID_SPACINGThe spacing used in the grid layout -
GRID_INSETS
Used by derived classes when they do a GuiUtils.doLayout -
lineMagSlider
_more_ -
elementMagSlider
_more_ -
TYPE_LATLON
earth coordinates- See Also:
-
TYPE_AREA
area- See Also:
-
latLonWidget
Input for lat/lon center point -
locationPanel
_more_ -
amUpdating
protected boolean amUpdating_more_ -
PLACE_CENTER
_more_- See Also:
-
PLACE_ULEFT
_more_- See Also:
-
-
Constructor Details
-
Method Details
-
setBaseNumLines
public void setBaseNumLines(int lines) _more_- Parameters:
lines
- _more_
-
setBaseNumElements
public void setBaseNumElements(int eles) _more_- Parameters:
eles
- _more_
-
getIsFromRegionUpdate
public boolean getIsFromRegionUpdate()_more_- Returns:
- _more_
-
setIsFromRegionUpdate
public void setIsFromRegionUpdate(boolean isRegion) _more_- Parameters:
isRegion
- _more_
-
updatePlace
public 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 -
updateImageWidthSize
public void updateImageWidthSize()this updates the previewSelection selected region, only the image size changes being counted in this update api -
updateImageHeightSize
public void updateImageHeightSize()_more_ -
enablePanel
_more_- Parameters:
panel
- _more_enable
- _more_
-
enablePanelAll
public void enablePanelAll(boolean enable) _more_- Parameters:
enable
- _more_
-
getUrl
_more_- Returns:
- _more_
-
readTextLines
_more_- Parameters:
url
- _more_- Returns:
- _more_
-
addPropComp
_more_- Parameters:
propId
- _more_comp
- _more_- Returns:
- _more_
-
elementMagSliderChanged
protected void elementMagSliderChanged(boolean autoSetSize) _more_- Parameters:
autoSetSize
- _more_
-
lineMagSliderChanged
protected void lineMagSliderChanged(boolean autoSetSize) Handle the line mag slider changed event- Parameters:
autoSetSize
- the event
-
setElementMagSlider
public void setElementMagSlider(int value) _more_- Parameters:
value
- _more_
-
setLineMagSlider
public void setLineMagSlider(int value) _more_- Parameters:
value
- _more_
-
getLineMagValue
protected int getLineMagValue()Get the value of the line magnification slider.- Returns:
- The magnification value for the line
-
getElementMagValue
protected int getElementMagValue()Get the value of the element magnification slider.- Returns:
- The magnification value for the element
-
getFileName
_more_- Returns:
- _more_
-
doMakeContents
_more_- Specified by:
doMakeContents
in classDataSelectionComponent
- Returns:
- _more_
-
flipLocationPanel
protected void flipLocationPanel(int locPanel) _more_- Parameters:
locPanel
- _more_
-
setIsLineEle
public void setIsLineEle(boolean val) _more_- Parameters:
val
- _more_
-
getIsProgressiveResolution
public boolean getIsProgressiveResolution()_more_- Returns:
- _more_
-
getLatitude
public double getLatitude()_more_- Returns:
- _more_
-
setLatitude
public void setLatitude(double val) _more_- Parameters:
val
- _more_
-
getLongitude
public double getLongitude()_more_- Returns:
- _more_
-
setLongitude
public void setLongitude(double val) _more_- Parameters:
val
- _more_
-
convertToLineEle
protected void convertToLineEle()_more_ -
convertToLatLon
protected void convertToLatLon()_more_ -
getCoordinateType
_more_- Returns:
- _more_
-
getNumLines
public int getNumLines()_more_- Returns:
- _more_
-
setNumLines
public void setNumLines(int val) _more_- Parameters:
val
- _more_
-
getNumEles
public int getNumEles()_more_- Returns:
- _more_
-
setNumEles
public void setNumEles(int val) _more_- Parameters:
val
- _more_
-
setLineElement
protected void setLineElement()_more_ -
setLine
public void setLine(int val) _more_- Parameters:
val
- _more_
-
setElement
public void setElement(int val) _more_- Parameters:
val
- _more_
-
applyToDataSelection
_more_- Specified by:
applyToDataSelection
in classDataSelectionComponent
- Parameters:
dataSelection
- _more_
-
setDataChoice
_more_- Parameters:
choice
- _more_
-
getDataChoice
_more_- Returns:
- _more_
-
getPlace
_more_- Returns:
- _more_
-
translatePlace
_more_- Parameters:
thisPlace
- _more_- Returns:
- _more_
-
getElement
public int getElement()_more_- Returns:
- _more_
-
getLine
public int getLine()_more_- Returns:
- _more_
-
setToFullResolution
Set to full resolution- Parameters:
update
- _more_
-
setPlace
_more_- Parameters:
str
- _more_
-
convertToLinEle
protected void convertToLinEle()_more_
-