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 InsetsUsed by derived classes when they do a GuiUtils.doLayoutprotected intThe spacing used in the grid layoutprotected LatLonWidgetInput for lat/lon center pointprotected JSlider_more_protected GuiUtils.CardLayoutPanel_more_protected static final String_more_protected static final String_more_protected static final Stringareaprotected static final Stringearth 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 JComponentaddPropComp(String propId, JComponent comp) _more_voidapplyToDataSelection(DataSelection dataSelection) _more_protected void_more_protected void_more_protected void_more_protected JComponent_more_protected voidelementMagSliderChanged(boolean autoSetSize) _more_voidenablePanel(JPanel panel, boolean enable) _more_voidenablePanelAll(boolean enable) _more_protected voidflipLocationPanel(int locPanel) _more__more__more_int_more_protected intGet the value of the element magnification slider._more_boolean_more_boolean_more_double_more_intgetLine()_more_protected intGet the value of the line magnification slider.double_more_int_more_int_more_getPlace()_more_protected StringgetUrl()_more_protected voidlineMagSliderChanged(boolean autoSetSize) Handle the line mag slider changed eventprotected ListreadTextLines(String url) _more_voidsetBaseNumElements(int eles) _more_voidsetBaseNumLines(int lines) _more_voidsetDataChoice(DataChoice choice) _more_voidsetElement(int val) _more_voidsetElementMagSlider(int value) _more_voidsetIsFromRegionUpdate(boolean isRegion) _more_voidsetIsLineEle(boolean val) _more_voidsetLatitude(double val) _more_voidsetLine(int val) _more_protected void_more_voidsetLineMagSlider(int value) _more_voidsetLongitude(double val) _more_voidsetNumEles(int val) _more_voidsetNumLines(int val) _more_void_more_voidsetToFullResolution(Boolean update) Set to full resolutionprotected StringtranslatePlace(String thisPlace) _more_void_more_voidthis updates the previewSelection selected region, only the image size changes being counted in this update apivoidthis 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:
doMakeContentsin 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:
applyToDataSelectionin 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_
-