Class AddeImageAdvancedPanel

java.lang.Object
ucar.unidata.data.DataSelectionComponent
ucar.unidata.data.imagery.AddeImageAdvancedPanel

public class AddeImageAdvancedPanel extends DataSelectionComponent
Created with IntelliJ IDEA. User: opendap Date: 5/28/13 Time: 10:36 PM To change this template use File | Settings | File Templates.
  • Field Details

    • advance

      public JPanel advance
      _more_
    • GRID_SPACING

      protected int GRID_SPACING
      The spacing used in the grid layout
    • GRID_INSETS

      protected Insets GRID_INSETS
      Used by derived classes when they do a GuiUtils.doLayout
    • lineMagSlider

      protected JSlider lineMagSlider
      _more_
    • elementMagSlider

      protected JSlider elementMagSlider
      _more_
    • TYPE_LATLON

      protected static final String TYPE_LATLON
      earth coordinates
      See Also:
    • TYPE_AREA

      protected static final String TYPE_AREA
      area
      See Also:
    • latLonWidget

      protected LatLonWidget latLonWidget
      Input for lat/lon center point
    • locationPanel

      protected GuiUtils.CardLayoutPanel locationPanel
      _more_
    • amUpdating

      protected boolean amUpdating
      _more_
    • PLACE_CENTER

      protected static final String PLACE_CENTER
      _more_
      See Also:
    • PLACE_ULEFT

      protected static final String 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

      public void enablePanel(JPanel panel, boolean enable)
      _more_
      Parameters:
      panel - _more_
      enable - _more_
    • enablePanelAll

      public void enablePanelAll(boolean enable)
      _more_
      Parameters:
      enable - _more_
    • getUrl

      protected String getUrl()
      _more_
      Returns:
      _more_
    • readTextLines

      protected List readTextLines(String url)
      _more_
      Parameters:
      url - _more_
      Returns:
      _more_
    • addPropComp

      protected JComponent addPropComp(String propId, JComponent comp)
      _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

      public String getFileName()
      _more_
      Returns:
      _more_
    • doMakeContents

      protected JComponent doMakeContents()
      _more_
      Specified by:
      doMakeContents in class DataSelectionComponent
      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

      public String 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

      public void applyToDataSelection(DataSelection dataSelection)
      _more_
      Specified by:
      applyToDataSelection in class DataSelectionComponent
      Parameters:
      dataSelection - _more_
    • setDataChoice

      public void setDataChoice(DataChoice choice)
      _more_
      Parameters:
      choice - _more_
    • getDataChoice

      public DataChoice getDataChoice()
      _more_
      Returns:
      _more_
    • getPlace

      public String getPlace()
      _more_
      Returns:
      _more_
    • translatePlace

      protected String translatePlace(String thisPlace)
      _more_
      Parameters:
      thisPlace - _more_
      Returns:
      _more_
    • getElement

      public int getElement()
      _more_
      Returns:
      _more_
    • getLine

      public int getLine()
      _more_
      Returns:
      _more_
    • setToFullResolution

      public void setToFullResolution(Boolean update)
      Set to full resolution
      Parameters:
      update - _more_
    • setPlace

      public void setPlace(String str)
      _more_
      Parameters:
      str - _more_
    • convertToLinEle

      protected void convertToLinEle()
      _more_