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.6 $
Author:
Karsten Lentzsch

Field Summary

static String
MAX_BUMPS_WIDTH_KEY

Method Summary

protected void
configureScrollBarColors()
protected JButton
createDecreaseButton(int orientation)
protected JButton
createIncreaseButton(int orientation)
static ComponentUI
createUI(JComponent b)
protected void
installDefaults()
protected void
paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
protected void
paintTrack(Graphics g, JComponent c, Rectangle trackBounds)

Field Details

MAX_BUMPS_WIDTH_KEY

public static final String MAX_BUMPS_WIDTH_KEY

Method Details

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-2008 JGoodies Karsten Lentzsch. All Rights Reserved.