public final class PlasticScrollBarUI
extends javax.swing.plaf.metal.MetalScrollBarUI
ScrollBarUI
.
Can add a pseudo 3D effect and honors the Plastic Option
ScrollBar.maxBumpsWidth to limit the with of the scroll bar bumps.javax.swing.plaf.basic.BasicScrollBarUI.ArrowButtonListener, javax.swing.plaf.basic.BasicScrollBarUI.ModelListener, javax.swing.plaf.basic.BasicScrollBarUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicScrollBarUI.ScrollListener, javax.swing.plaf.basic.BasicScrollBarUI.TrackListener
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
MAX_BUMPS_WIDTH_KEY |
buttonListener, 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, trackRect
Constructor | Description |
---|---|
PlasticScrollBarUI() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
configureScrollBarColors() |
|
protected javax.swing.JButton |
createDecreaseButton(int orientation) |
|
protected javax.swing.JButton |
createIncreaseButton(int orientation) |
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b) |
|
protected void |
installDefaults() |
|
protected void |
paintThumb(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle thumbBounds) |
|
protected void |
paintTrack(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle trackBounds) |
addLayoutComponent, 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, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, update
public static final java.lang.String MAX_BUMPS_WIDTH_KEY
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
protected void installDefaults()
installDefaults
in class javax.swing.plaf.metal.MetalScrollBarUI
protected javax.swing.JButton createDecreaseButton(int orientation)
createDecreaseButton
in class javax.swing.plaf.metal.MetalScrollBarUI
protected javax.swing.JButton createIncreaseButton(int orientation)
createIncreaseButton
in class javax.swing.plaf.metal.MetalScrollBarUI
protected void configureScrollBarColors()
configureScrollBarColors
in class javax.swing.plaf.metal.MetalScrollBarUI
protected void paintTrack(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle trackBounds)
paintTrack
in class javax.swing.plaf.metal.MetalScrollBarUI
protected void paintThumb(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle thumbBounds)
paintThumb
in class javax.swing.plaf.metal.MetalScrollBarUI
Copyright © 2001-2009 JGoodies Karsten Lentzsch. All Rights Reserved.