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.RangeTrackListenerNested 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
changeListener, componentListener, contentRect, focusInsets, focusListener, focusRect, insetCache, labelRect, leftToRightCache, MAX_SCROLL, MIN_SCROLL, NEGATIVE_SCROLL, POSITIVE_SCROLL, propertyChangeListener, scrollListener, scrollTimer, slider, thumbRect, tickRect, trackBuffer, trackListener, trackRect - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidPaints the track.voidsetColourMap(ColourArray colourMap) Set the colour array for the slider.voidsetColourMap(ColourArray.ColourArrayType colourMap) Set the colour array type for the colour slider.Methods inherited from class PamView.sliders.PamRangeSliderUI
calculateThumbLocation, calculateThumbSize, createChangeListener, createTrackListener, getRangeSliderColour, getUpperThumbFill, getUpperThumbOutline, getUpperThumbRect, installUI, isUpperDragging, isUpperThumbSelected, paint, paintThumb, scrollByBlock, scrollByUnit, setRangeSliderColour, setTrackDragging, setUpperDragging, setUpperThumbFill, setUpperThumbOutline, setUpperThumbRect, setUpperThumbSelectedMethods inherited from class PamView.sliders.PamSliderUI
getThumbSize, paintThumb, setThumbSizesMethods inherited from class javax.swing.plaf.basic.BasicSliderUI
calculateContentRect, calculateFocusRect, calculateGeometry, calculateLabelRect, calculateTickRect, calculateTrackBuffer, calculateTrackRect, createComponentListener, createFocusListener, createPropertyChangeListener, createScrollListener, createUI, drawInverted, getBaseline, getBaselineResizeBehavior, getFocusColor, getHeightOfHighValueLabel, getHeightOfLowValueLabel, getHeightOfTallestLabel, getHighestValue, getHighestValueLabel, getHighlightColor, getLowestValue, getLowestValueLabel, getMaximumSize, getMinimumHorizontalSize, getMinimumSize, getMinimumVerticalSize, getPreferredHorizontalSize, getPreferredSize, getPreferredVerticalSize, getShadowColor, getTickLength, getWidthOfHighValueLabel, getWidthOfLowValueLabel, getWidthOfWidestLabel, installDefaults, installKeyboardActions, installListeners, isDragging, labelsHaveSameBaselines, paintFocus, paintHorizontalLabel, paintLabels, paintMajorTickForHorizSlider, paintMajorTickForVertSlider, paintMinorTickForHorizSlider, paintMinorTickForVertSlider, paintTicks, paintVerticalLabel, recalculateIfInsetsChanged, recalculateIfOrientationChanged, scrollDueToClickInTrack, setThumbLocation, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, valueForXPosition, valueForYPosition, xPositionForValue, yPositionForValue, yPositionForValueMethods 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:
 paintTrackin classPamRangeSliderUI
 
 -