com.explodingpixels.macwidgets.plaf
public class HudSliderUI extends BasicSliderUI
BasicSliderUI.ActionScroller, BasicSliderUI.ChangeHandler, BasicSliderUI.ComponentHandler, BasicSliderUI.FocusHandler, BasicSliderUI.PropertyChangeHandler, BasicSliderUI.ScrollListener, BasicSliderUI.TrackListener
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 |
---|
HudSliderUI(JSlider b) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateThumbLocation() |
protected void |
calculateTickRect() |
protected Dimension |
getThumbSize() |
protected int |
getTickLength() |
protected void |
installDefaults(JSlider slider) |
void |
paint(Graphics g,
JComponent c) |
void |
paintFocus(Graphics g) |
protected void |
paintMajorTickForHorizSlider(Graphics g,
Rectangle tickBounds,
int x) |
void |
paintThumb(Graphics graphics) |
void |
paintTrack(Graphics graphics) |
void |
setThumbLocation(int x,
int y) |
calculateContentRect, calculateFocusRect, calculateGeometry, calculateLabelRect, calculateThumbSize, calculateTrackBuffer, calculateTrackRect, createChangeListener, createComponentListener, createFocusListener, createPropertyChangeListener, createScrollListener, createTrackListener, createUI, drawInverted, getBaseline, getBaselineResizeBehavior, getFocusColor, getHeightOfHighValueLabel, getHeightOfLowValueLabel, getHeightOfTallestLabel, getHighestValue, getHighestValueLabel, getHighlightColor, getLowestValue, getLowestValueLabel, getMaximumSize, getMinimumHorizontalSize, getMinimumSize, getMinimumVerticalSize, getPreferredHorizontalSize, getPreferredSize, getPreferredVerticalSize, getShadowColor, getWidthOfHighValueLabel, getWidthOfLowValueLabel, getWidthOfWidestLabel, installKeyboardActions, installListeners, installUI, isDragging, labelsHaveSameBaselines, paintHorizontalLabel, paintLabels, paintMajorTickForVertSlider, paintMinorTickForHorizSlider, paintMinorTickForVertSlider, paintTicks, paintVerticalLabel, recalculateIfInsetsChanged, recalculateIfOrientationChanged, scrollByBlock, scrollByUnit, scrollDueToClickInTrack, uninstallKeyboardActions, uninstallListeners, uninstallUI, valueForXPosition, valueForYPosition, xPositionForValue, yPositionForValue, yPositionForValue
contains, getAccessibleChild, getAccessibleChildrenCount, update
public HudSliderUI(JSlider b)
protected void installDefaults(JSlider slider)
installDefaults
in class BasicSliderUI
protected Dimension getThumbSize()
getThumbSize
in class BasicSliderUI
public void paint(Graphics g, JComponent c)
paint
in class BasicSliderUI
public void paintThumb(Graphics graphics)
paintThumb
in class BasicSliderUI
public void paintTrack(Graphics graphics)
paintTrack
in class BasicSliderUI
protected int getTickLength()
getTickLength
in class BasicSliderUI
protected void calculateThumbLocation()
calculateThumbLocation
in class BasicSliderUI
protected void calculateTickRect()
calculateTickRect
in class BasicSliderUI
protected void paintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
paintMajorTickForHorizSlider
in class BasicSliderUI
public void setThumbLocation(int x, int y)
setThumbLocation
in class BasicSliderUI
public void paintFocus(Graphics g)
paintFocus
in class BasicSliderUI