public class BasicRangeSliderUI extends BasicSliderUI
| Modifier and Type | Class and Description |
|---|---|
protected class |
BasicRangeSliderUI.RangeTrackListener |
BasicSliderUI.ActionScroller, BasicSliderUI.ChangeHandler, BasicSliderUI.ComponentHandler, BasicSliderUI.FocusHandler, BasicSliderUI.PropertyChangeHandler, BasicSliderUI.ScrollListener, BasicSliderUI.TrackListener| Modifier and Type | Field and Description |
|---|---|
protected Icon |
_lowerIcon |
protected Icon |
_lowerIconV |
protected Icon |
_middleIcon |
protected Icon |
_middleIconV |
protected Icon |
_upperIcon |
protected Icon |
_upperIconV |
protected static int |
MOUSE_HANDLE_MAX |
protected static int |
MOUSE_HANDLE_MIDDLE |
protected static int |
MOUSE_HANDLE_MIN |
protected static int |
MOUSE_HANDLE_NONE |
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 and Description |
|---|
BasicRangeSliderUI(JSlider slider) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateTrackRect() |
protected BasicSliderUI.TrackListener |
createTrackListener(JSlider slider) |
static ComponentUI |
createUI(JComponent slider) |
protected int |
getMouseHandle(int x,
int y) |
protected void |
installDefaults(JSlider slider) |
void |
paintThumb(Graphics g) |
protected void |
resetAllIcons() |
protected void |
setMouseRollover(int handle) |
void |
uninstallUI(JComponent c) |
calculateContentRect, calculateFocusRect, calculateGeometry, calculateLabelRect, calculateThumbLocation, calculateThumbSize, calculateTickRect, calculateTrackBuffer, createChangeListener, createComponentListener, createFocusListener, createPropertyChangeListener, createScrollListener, drawInverted, getBaseline, getBaselineResizeBehavior, getFocusColor, getHeightOfHighValueLabel, getHeightOfLowValueLabel, getHeightOfTallestLabel, getHighestValue, getHighestValueLabel, getHighlightColor, getLowestValue, getLowestValueLabel, getMaximumSize, getMinimumHorizontalSize, getMinimumSize, getMinimumVerticalSize, getPreferredHorizontalSize, getPreferredSize, getPreferredVerticalSize, getShadowColor, getThumbSize, getTickLength, getWidthOfHighValueLabel, getWidthOfLowValueLabel, getWidthOfWidestLabel, installKeyboardActions, installListeners, installUI, isDragging, labelsHaveSameBaselines, paint, paintFocus, paintHorizontalLabel, paintLabels, paintMajorTickForHorizSlider, paintMajorTickForVertSlider, paintMinorTickForHorizSlider, paintMinorTickForVertSlider, paintTicks, paintTrack, paintVerticalLabel, recalculateIfInsetsChanged, recalculateIfOrientationChanged, scrollByBlock, scrollByUnit, scrollDueToClickInTrack, setThumbLocation, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, valueForXPosition, valueForYPosition, xPositionForValue, yPositionForValue, yPositionForValuecontains, getAccessibleChild, getAccessibleChildrenCount, updateprotected Icon _lowerIcon
protected Icon _upperIcon
protected Icon _middleIcon
protected Icon _lowerIconV
protected Icon _upperIconV
protected Icon _middleIconV
protected static final int MOUSE_HANDLE_NONE
protected static final int MOUSE_HANDLE_MIN
protected static final int MOUSE_HANDLE_MAX
protected static final int MOUSE_HANDLE_MIDDLE
public BasicRangeSliderUI(JSlider slider)
public static ComponentUI createUI(JComponent slider)
protected void installDefaults(JSlider slider)
installDefaults in class BasicSliderUIprotected void resetAllIcons()
public void uninstallUI(JComponent c)
uninstallUI in class BasicSliderUIprotected void calculateTrackRect()
calculateTrackRect in class BasicSliderUIprotected BasicSliderUI.TrackListener createTrackListener(JSlider slider)
createTrackListener in class BasicSliderUIprotected int getMouseHandle(int x,
int y)
public void paintThumb(Graphics g)
paintThumb in class BasicSliderUIprotected void setMouseRollover(int handle)