public final class PlasticScrollBarUI extends MetalScrollBarUI
ScrollBarUI.
Can add a pseudo 3D effect and honors the Plastic Option
ScrollBar.maxBumpsWidth to limit the with of the scroll bar bumps.BasicScrollBarUI.ArrowButtonListener, BasicScrollBarUI.ModelListener, BasicScrollBarUI.PropertyChangeHandler, BasicScrollBarUI.ScrollListener, BasicScrollBarUI.TrackListener| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_BUMPS_WIDTH_KEY |
decreaseButton, FREE_STANDING_PROP, increaseButton, isFreeStanding, scrollBarWidthbuttonListener, decrButton, DECREASE_HIGHLIGHT, decrGap, incrButton, INCREASE_HIGHLIGHT, incrGap, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollListener, scrollTimer, thumbDarkShadowColor, thumbLightShadowColor, thumbRect, trackColor, trackHighlight, trackHighlightColor, trackListener, trackRectBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST| Constructor and Description |
|---|
PlasticScrollBarUI() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureScrollBarColors() |
protected JButton |
createDecreaseButton(int orientation) |
protected JButton |
createIncreaseButton(int orientation) |
static ComponentUI |
createUI(JComponent b) |
protected void |
installDefaults() |
protected void |
paintThumb(Graphics g,
JComponent c,
Rectangle thumbBounds) |
protected void |
paintTrack(Graphics g,
JComponent c,
Rectangle trackBounds) |
createPropertyChangeListener, getMinimumThumbSize, getPreferredSize, installListeners, setThumbBoundsaddLayoutComponent, createArrowButtonListener, createModelListener, createScrollListener, createTrackListener, getMaximumSize, getMaximumThumbSize, getSupportsAbsolutePositioning, getThumbBounds, getTrackBounds, installComponents, installKeyboardActions, installUI, isThumbRollover, layoutContainer, layoutHScrollbar, layoutVScrollbar, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, updatepublic static final String MAX_BUMPS_WIDTH_KEY
public static ComponentUI createUI(JComponent b)
protected void installDefaults()
installDefaults in class MetalScrollBarUIprotected JButton createDecreaseButton(int orientation)
createDecreaseButton in class MetalScrollBarUIprotected JButton createIncreaseButton(int orientation)
createIncreaseButton in class MetalScrollBarUIprotected void configureScrollBarColors()
configureScrollBarColors in class MetalScrollBarUIprotected void paintTrack(Graphics g, JComponent c, Rectangle trackBounds)
paintTrack in class MetalScrollBarUIprotected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
paintThumb in class MetalScrollBarUICopyright © 2001-2014 JGoodies Software GmbH. All Rights Reserved.