com.jgoodies.looks.plastic

Class PlasticScrollBarUI

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.4 $

Author: Karsten Lentzsch

Field Summary
static StringMAX_BUMPS_WIDTH_KEY
Method Summary
protected voidconfigureScrollBarColors()
protected JButtoncreateDecreaseButton(int orientation)
protected JButtoncreateIncreaseButton(int orientation)
static ComponentUIcreateUI(JComponent b)
protected voidinstallDefaults()
protected voidpaintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
protected voidpaintTrack(Graphics g, JComponent c, Rectangle trackBounds)

Field Detail

MAX_BUMPS_WIDTH_KEY

public static final String MAX_BUMPS_WIDTH_KEY

Method Detail

configureScrollBarColors

protected void configureScrollBarColors()

createDecreaseButton

protected JButton createDecreaseButton(int orientation)

createIncreaseButton

protected JButton createIncreaseButton(int orientation)

createUI

public static ComponentUI createUI(JComponent b)

installDefaults

protected void installDefaults()

paintThumb

protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)

paintTrack

protected void paintTrack(Graphics g, JComponent c, Rectangle trackBounds)
Copyright © 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.