public class TLcdMetalRangeSliderUI extends TLcdBasicRangeSliderUI
TLcdBasicRangeSliderUI.ChangeHandler, TLcdBasicRangeSliderUI.ComponentHandler, TLcdBasicRangeSliderUI.DefaultMouseMotionListener, TLcdBasicRangeSliderUI.PropertyChangeHandler
Modifier and Type | Field and Description |
---|---|
protected int |
TICK_BUFFER |
fBottomSliderIcon, fChange, fComponent, fContentRect, fDarkShadowColor, fDragMax, fDragMin, fDragRange, fFocus, fFocusColor, fFocusInsets, fFocusRect, fHighlightColor, fInsetCache, fLabelRect, fLeftSliderIcon, fMaxThumb, fMinThumb, fMotion, fMouse, fMoveCursor, fProperty, fRangeRect, fRightSliderIcon, fShadowColor, fSlider, fSliderRect, fTickLength, fTickRect, fTopSliderIcon, fTrackBuffer, fTrackRect, leftSpace, RANGE_LEFT, RANGE_MAX_DOWN, RANGE_MAX_DOWN_ADJUST_MIN, RANGE_MAX_UP, RANGE_MAX_UP_ADJUST_MIN, RANGE_MIN_DOWN, RANGE_MIN_DOWN_ADJUST_MAX, RANGE_MIN_UP, RANGE_MIN_UP_ADJUST_MAX, RANGE_RIGHT, rightSpace, TRACK_TICK_SPACING
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent c) |
int |
getTickLength() |
void |
installUI(JComponent c) |
void |
paintFocus(Graphics g) |
protected void |
paintMajorTickForHorizSlider(Graphics g,
Rectangle tickBounds,
int x) |
protected void |
paintMajorTickForVertSlider(Graphics g,
Rectangle tickBounds,
int y) |
protected void |
paintMinorTickForHorizSlider(Graphics g,
Rectangle tickBounds,
int x) |
protected void |
paintMinorTickForVertSlider(Graphics g,
Rectangle tickBounds,
int y) |
protected void |
paintRange(Graphics g) |
protected void |
paintTrack(Graphics g) |
calculateContentRect, calculateFocusRect, calculateGeometry, calculateLabelRect, calculateRangeRect, calculateSliderRect, calculateThumbLocation, calculateThumbSize, calculateTickRect, calculateTrackBuffer, calculateTrackRect, getFocusColor, getHeightOfTallestLabel, getHighestValueLabel, getHighlightColor, getMinimumSize, getPreferredSize, getShadowColor, getThumbSize, getWidthOfHighValueLabel, getWidthOfWidestLabel, installDefaults, installKeyboardActions, installListeners, paint, paintHorizontalLabel, paintLabels, paintThumbs, paintTicks, paintVerticalLabel, recalculateIfInsetsChanged, uninstallKeyboardActions, uninstallListeners, uninstallUI, xPositionForValue, yPositionForValue
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, update
protected final int TICK_BUFFER
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class TLcdBasicRangeSliderUI
public void paintFocus(Graphics g)
paintFocus
in class TLcdBasicRangeSliderUI
protected void paintTrack(Graphics g)
paintTrack
in class TLcdBasicRangeSliderUI
protected void paintRange(Graphics g)
paintRange
in class TLcdBasicRangeSliderUI
protected void paintMinorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
paintMinorTickForHorizSlider
in class TLcdBasicRangeSliderUI
protected void paintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
paintMajorTickForHorizSlider
in class TLcdBasicRangeSliderUI
protected void paintMinorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
paintMinorTickForVertSlider
in class TLcdBasicRangeSliderUI
protected void paintMajorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
paintMajorTickForVertSlider
in class TLcdBasicRangeSliderUI
public int getTickLength()
getTickLength
in class TLcdBasicRangeSliderUI