Package Spectrogram

Class ColourRangeSliderUI


public class ColourRangeSliderUI extends PamRangeSliderUI
This UI is designed to allow a user slide to thumbs defining the max and min amplitude for a colour scale.

For anyone in the US please forgive the correct spelling of colour.

Author:
Jamie Macaulay
  • Constructor Details

  • Method Details

    • setColourMap

      public void setColourMap(ColourArray.ColourArrayType colourMap)
      Set the colour array type for the colour slider.
      Parameters:
      colourMap -
    • setColourMap

      public void setColourMap(ColourArray colourMap)
      Set the colour array for the slider. Use this for non standard colourmaps. e.g. if a standard colour map is reveresed.
      Parameters:
      colourMap -
    • paintTrack

      public void paintTrack(Graphics g)
      Paints the track.
      Overrides:
      paintTrack in class PamRangeSliderUI