com.jgoodies.looks.plastic
Class PlasticScrollBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollBarUI
javax.swing.plaf.basic.BasicScrollBarUI
javax.swing.plaf.metal.MetalScrollBarUI
com.jgoodies.looks.plastic.PlasticScrollBarUI
- All Implemented Interfaces:
- LayoutManager, SwingConstants
- public final class PlasticScrollBarUI
- extends MetalScrollBarUI
The JGoodies Plastic L&F implementation of ScrollBarUI
.
Can add a pseudo 3D effect and honors the Plastic Option
ScrollBar.maxBumpsWidth to limit the with of the scroll bar bumps.
- Version:
- $Revision: 1.2 $
- Author:
- Karsten Lentzsch
Fields inherited from class javax.swing.plaf.basic.BasicScrollBarUI |
buttonListener, decrButton, DECREASE_HIGHLIGHT, incrButton, INCREASE_HIGHLIGHT, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollListener, scrollTimer, thumbDarkShadowColor, thumbLightShadowColor, thumbRect, trackColor, trackHighlight, trackHighlightColor, trackListener, trackRect |
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI |
addLayoutComponent, createArrowButtonListener, createModelListener, createScrollListener, createTrackListener, getMaximumSize, getMaximumThumbSize, getMinimumSize, getThumbBounds, getTrackBounds, installComponents, installKeyboardActions, installUI, layoutContainer, layoutHScrollbar, layoutVScrollbar, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_BUMPS_WIDTH_KEY
public static final String MAX_BUMPS_WIDTH_KEY
- See Also:
- Constant Field Values
PlasticScrollBarUI
public PlasticScrollBarUI()
createUI
public static ComponentUI createUI(JComponent b)
installDefaults
protected void installDefaults()
createDecreaseButton
protected JButton createDecreaseButton(int orientation)
createIncreaseButton
protected JButton createIncreaseButton(int orientation)
configureScrollBarColors
protected void configureScrollBarColors()
paintTrack
protected void paintTrack(Graphics g,
JComponent c,
Rectangle trackBounds)
paintThumb
protected void paintThumb(Graphics g,
JComponent c,
Rectangle thumbBounds)
Copyright © 2001-2005 JGoodies Karsten Lentzsch. All Rights Reserved.