public class SkinnableScrollBarUI extends BasicScrollBarUI
ScrollBarUI that supports dynamic skinning.
painting is delegated to a ScrollBarSkin.| Modifier and Type | Class and Description |
|---|---|
protected class |
SkinnableScrollBarUI.CustomArrowButtonListener |
static interface |
SkinnableScrollBarUI.ScrollBarSkinProvider |
BasicScrollBarUI.ArrowButtonListener, BasicScrollBarUI.ModelListener, BasicScrollBarUI.PropertyChangeHandler, BasicScrollBarUI.ScrollListener, BasicScrollBarUI.TrackListenerbuttonListener, decrButton, DECREASE_HIGHLIGHT, decrGap, incrButton, INCREASE_HIGHLIGHT, incrGap, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollBarWidth, scrollListener, scrollTimer, thumbColor, thumbDarkShadowColor, thumbHighlightColor, 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 |
|---|
SkinnableScrollBarUI(SkinnableScrollBarUI.ScrollBarSkinProvider scrollBarSkinProvider)
Creates a
SkinnableScrollBarUI that query the given SkinnableScrollBarUI.ScrollBarSkinProvider in
order to get the ScrollBarSkin during the installation of this UI delegate. |
| Modifier and Type | Method and Description |
|---|---|
protected BasicScrollBarUI.TrackListener |
createTrackListener() |
protected Dimension |
getMinimumThumbSize() |
Dimension |
getPreferredSize(JComponent c) |
protected Rectangle |
getThumbBounds() |
protected Rectangle |
getTrackBounds() |
protected void |
installComponents() |
protected void |
installListeners() |
void |
installUI(JComponent c) |
void |
layoutContainer(Container scrollbarContainer) |
protected void |
paintDecreaseHighlight(Graphics g) |
protected void |
paintIncreaseHighlight(Graphics g) |
protected void |
setThumbBounds(int x,
int y,
int width,
int height) |
addLayoutComponent, configureScrollBarColors, createArrowButtonListener, createDecreaseButton, createIncreaseButton, createModelListener, createPropertyChangeListener, createScrollListener, createUI, getMaximumSize, getMaximumThumbSize, getSupportsAbsolutePositioning, installDefaults, installKeyboardActions, isThumbRollover, layoutHScrollbar, layoutVScrollbar, minimumLayoutSize, paint, paintThumb, paintTrack, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, updatepublic SkinnableScrollBarUI(SkinnableScrollBarUI.ScrollBarSkinProvider scrollBarSkinProvider)
SkinnableScrollBarUI that query the given SkinnableScrollBarUI.ScrollBarSkinProvider in
order to get the ScrollBarSkin during the installation of this UI delegate.scrollBarSkinProvider - the provider of the ScrollBarSkin.public void installUI(JComponent c)
installUI in class BasicScrollBarUIprotected void installComponents()
installComponents in class BasicScrollBarUIprotected void installListeners()
installListeners in class BasicScrollBarUIpublic void layoutContainer(Container scrollbarContainer)
layoutContainer in interface LayoutManagerlayoutContainer in class BasicScrollBarUIprotected Dimension getMinimumThumbSize()
getMinimumThumbSize in class BasicScrollBarUIpublic Dimension getPreferredSize(JComponent c)
getPreferredSize in class BasicScrollBarUIprotected Rectangle getThumbBounds()
getThumbBounds in class BasicScrollBarUIprotected void setThumbBounds(int x,
int y,
int width,
int height)
setThumbBounds in class BasicScrollBarUIprotected Rectangle getTrackBounds()
getTrackBounds in class BasicScrollBarUIprotected void paintIncreaseHighlight(Graphics g)
paintIncreaseHighlight in class BasicScrollBarUIprotected void paintDecreaseHighlight(Graphics g)
paintDecreaseHighlight in class BasicScrollBarUIprotected BasicScrollBarUI.TrackListener createTrackListener()
createTrackListener in class BasicScrollBarUI