Package Spectrogram
Class ColourRangeSliderUI
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
-
Nested Class Summary
Nested classes/interfaces inherited from class PamView.sliders.PamRangeSliderUI
PamRangeSliderUI.ChangeHandler, PamRangeSliderUI.RangeTrackListener
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicSliderUI
BasicSliderUI.ActionScroller, BasicSliderUI.ComponentHandler, BasicSliderUI.FocusHandler, BasicSliderUI.PropertyChangeHandler, BasicSliderUI.ScrollListener, BasicSliderUI.TrackListener
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicSliderUI
MAX_SCROLL, MIN_SCROLL, NEGATIVE_SCROLL, POSITIVE_SCROLL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Paints the track.void
setColourMap
(ColourArray colourMap) Set the colour array for the slider.void
setColourMap
(ColourArray.ColourArrayType colourMap) Set the colour array type for the colour slider.Methods inherited from class PamView.sliders.PamRangeSliderUI
getRangeSliderColour, getUpperThumbFill, getUpperThumbOutline, getUpperThumbRect, installUI, isUpperDragging, isUpperThumbSelected, paint, paintThumb, scrollByBlock, scrollByUnit, setRangeSliderColour, setTrackDragging, setUpperDragging, setUpperThumbFill, setUpperThumbOutline, setUpperThumbRect, setUpperThumbSelected
Methods inherited from class PamView.sliders.PamSliderUI
paintThumb, setThumbSizes
Methods inherited from class javax.swing.plaf.basic.BasicSliderUI
createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumHorizontalSize, getMinimumSize, getMinimumVerticalSize, getPreferredHorizontalSize, getPreferredSize, getPreferredVerticalSize, paintFocus, paintLabels, paintTicks, setThumbLocation, uninstallUI, valueForXPosition, valueForYPosition
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
ColourRangeSliderUI
-
-
Method Details
-
setColourMap
Set the colour array type for the colour slider.- Parameters:
colourMap
-
-
setColourMap
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
Paints the track.- Overrides:
paintTrack
in classPamRangeSliderUI
-