public class BaseScrollBarUI extends BasicScrollBarUI
| Modifier and Type | Class and Description |
|---|---|
protected class |
BaseScrollBarUI.MyTrackListener |
BasicScrollBarUI.ArrowButtonListener, BasicScrollBarUI.ModelListener, BasicScrollBarUI.PropertyChangeHandler, BasicScrollBarUI.ScrollListener, BasicScrollBarUI.TrackListener| Modifier and Type | Field and Description |
|---|---|
protected int |
decrGap |
protected int |
incrGap |
protected boolean |
isRollover |
protected int |
scrollBarWidth |
buttonListener, decrButton, DECREASE_HIGHLIGHT, incrButton, INCREASE_HIGHLIGHT, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, 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 |
|---|
BaseScrollBarUI() |
| Modifier and Type | Method and Description |
|---|---|
protected JButton |
createDecreaseButton(int orientation) |
protected JButton |
createIncreaseButton(int orientation) |
BasicScrollBarUI.TrackListener |
createTrackListener() |
static ComponentUI |
createUI(JComponent c) |
protected Dimension |
getMinimumThumbSize() |
Dimension |
getPreferredSize(JComponent c) |
protected Color[] |
getThumbColors() |
protected void |
installDefaults() |
protected void |
layoutHScrollbar(JScrollBar sb) |
protected void |
layoutVScrollbar(JScrollBar sb) |
protected void |
paintThumb(Graphics g,
JComponent c,
Rectangle thumbBounds) |
protected void |
paintTrack(Graphics g,
JComponent c,
Rectangle trackBounds) |
addLayoutComponent, configureScrollBarColors, createArrowButtonListener, createModelListener, createPropertyChangeListener, createScrollListener, getMaximumSize, getMaximumThumbSize, getSupportsAbsolutePositioning, getThumbBounds, getTrackBounds, installComponents, installKeyboardActions, installListeners, installUI, isThumbRollover, layoutContainer, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbBounds, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, updateprotected int scrollBarWidth
protected int incrGap
protected int decrGap
protected boolean isRollover
public static ComponentUI createUI(JComponent c)
protected void installDefaults()
installDefaults in class BasicScrollBarUIprotected JButton createDecreaseButton(int orientation)
createDecreaseButton in class BasicScrollBarUIprotected JButton createIncreaseButton(int orientation)
createIncreaseButton in class BasicScrollBarUIpublic BasicScrollBarUI.TrackListener createTrackListener()
createTrackListener in class BasicScrollBarUIpublic Dimension getPreferredSize(JComponent c)
getPreferredSize in class BasicScrollBarUIprotected Dimension getMinimumThumbSize()
getMinimumThumbSize in class BasicScrollBarUIprotected void paintTrack(Graphics g, JComponent c, Rectangle trackBounds)
paintTrack in class BasicScrollBarUIprotected Color[] getThumbColors()
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
paintThumb in class BasicScrollBarUIprotected void layoutVScrollbar(JScrollBar sb)
layoutVScrollbar in class BasicScrollBarUIprotected void layoutHScrollbar(JScrollBar sb)
layoutHScrollbar in class BasicScrollBarUICopyright © 2014. All Rights Reserved.