Package hec.map

Class ElevationGlyphOptionJDlg

All Implemented Interfaces:
ComponentListener, ImageObserver, MenuContainer, Serializable, EventListener, Observer, Accessible, RootPaneContainer, WindowConstants, Modifiable

public class ElevationGlyphOptionJDlg extends RmaJDialog implements ImageObserver, Observer
See Also:
  • Field Details

  • Constructor Details

    • ElevationGlyphOptionJDlg

      public ElevationGlyphOptionJDlg(Frame parent, boolean modal)
      Create a new ElevationGlyphOptionJDlg object
      Parameters:
      parent - Description
      modal - Description
    • ElevationGlyphOptionJDlg

      public ElevationGlyphOptionJDlg(Frame parent, boolean modal, MapPanel panel, ElevationGlyph glyph, ElevationGlyphDataRecord datarec, JLayerSelection jls)
      Create a new ElevationGlyphOptionJDlg object
      Parameters:
      parent - Description
      modal - Description
      panel - Description
      glyph - Description
      datarec - Description
      jls - Description
  • Method Details

    • addListeners

      protected void addListeners()
      Adds a feature to the Listeners attribute of the ElevationGlyphOptionJDlg object
    • setMapPanel

      public void setMapPanel(MapPanel mapPanel)
      Sets the MapPanel attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      mapPanel - The new MapPanel value
    • setMapGlyph

      public void setMapGlyph(ElevationGlyph mapGlyph)
      Sets the MapGlyph attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      mapGlyph - The new MapGlyph value
    • setGlyphDataRecord

      public void setGlyphDataRecord(ElevationGlyphDataRecord rec)
      Sets the GlyphDataRecord attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      rec - The new GlyphDataRecord value
    • setAdvancedButtonVisible

      public void setAdvancedButtonVisible(boolean b)
      Sets the AdvancedButtonVisible attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      b - The new AdvancedButtonVisible value
    • paint

      public void paint(Graphics g)
      Method Description
      Overrides:
      paint in class Window
      Parameters:
      g - Description
    • imageUpdate

      public boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height)
      Method Description
      Specified by:
      imageUpdate in interface ImageObserver
      Overrides:
      imageUpdate in class Component
      Parameters:
      img - Description
      infoflags - Description
      x - Description
      y - Description
      width - Description
      height - Description
      Returns:
      Description
    • update

      public void update(Observable o, Object arg)
      Method Description
      Specified by:
      update in interface Observer
      Parameters:
      o - Description
      arg - Description
    • getColorIcon

      protected ImageIcon getColorIcon(Color c)
      Gets the ColorIcon attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      c - Descriptioncol
      Returns:
      The ColorIcon value
    • setScaleToClip

      protected void setScaleToClip(boolean scaleToClip)
    • setMaxClipping

      protected void setMaxClipping(Clipping clip)
      Sets the MaxClipping attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      clip - The new MaxClipping value
    • setTicInterval

      protected void setTicInterval(double interval)
      Sets the Tic Interval
      Parameters:
      interval - The new Tic Interval value
    • setMinClipping

      protected void setMinClipping(Clipping clip)
      Sets the MinClipping attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      clip - The new MinClipping value
    • setColorContour

      protected void setColorContour(ColorContour cc)
      Sets the ColorContour attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      cc - The new ColorContour value
    • setDrawEdges

      protected void setDrawEdges(boolean tf)
      Sets the DrawEdges attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      tf - The new DrawEdges value
    • isInAdvancedMode

      public boolean isInAdvancedMode()
      Gets the InAdvancedMode attribute of the ElevationGlyphOptionJDlg object
      Returns:
      The InAdvancedMode value
    • setInAdvancedMode

      public void setInAdvancedMode(boolean advanced)
      Sets the InAdvancedMode attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      advanced - The new InAdvancedMode value
    • setAutoContour

      protected void setAutoContour(boolean tf)
      Sets the AutoContour attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      tf - The new AutoContour value
    • setAspect

      protected void setAspect(boolean enabled, double val)
      Sets the Aspect attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      enabled - The new Aspect value
      val - The new Aspect value
    • setBrightness

      protected void setBrightness(double val)
      Sets the Brightness attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      val - The new Brightness value
    • setAlpha

      protected void setAlpha(float val)
      Sets the Alpha attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      val - The new Alpha value
    • setTransparency

      protected void setTransparency(float val)
      Sets the Transparency attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      val - The new Transparency value
    • setSaturation

      protected void setSaturation(double val)
      Sets the Saturation attribute of the ElevationGlyphOptionJDlg object
      Parameters:
      val - The new Saturation value
    • setVisible

      public void setVisible(boolean b)
      Sets the Visible attribute of the ElevationGlyphOptionJDlg object
      Overrides:
      setVisible in class RmaJDialog
      Parameters:
      b - The new Visible value
    • jButtonApply_actionPerformed

      protected void jButtonApply_actionPerformed(ActionEvent event)
      Method Description
      Parameters:
      event - Description
    • setSliderClippingScale

      public void setSliderClippingScale(double scale)
    • validateText

      protected double validateText(JTextField jTextField, double min, double max)
      Method Description
      Parameters:
      jTextField - Description
      min - Description
      max - Description
      Returns:
      Description
    • setModified

      public void setModified(boolean modified)
      Specified by:
      setModified in interface Modifiable
      Overrides:
      setModified in class RmaJDialog