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