Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.javatools.ui.plaf.theme
Class ThemedPlasticScrollBarUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ScrollBarUI
          extended by javax.swing.plaf.basic.BasicScrollBarUI
              extended by javax.swing.plaf.metal.MetalScrollBarUI
                  extended by com.jgoodies.looks.plastic.PlasticScrollBarUI
                      extended by oracle.javatools.ui.plaf.theme.ThemedPlasticScrollBarUI
All Implemented Interfaces:
java.awt.LayoutManager, javax.swing.SwingConstants

public final class ThemedPlasticScrollBarUI
extends com.jgoodies.looks.plastic.PlasticScrollBarUI

PlasticScrollBarUI implementation that uses the Themes API to paint.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicScrollBarUI
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
 
Field Summary
 
Fields inherited from class com.jgoodies.looks.plastic.PlasticScrollBarUI
MAX_BUMPS_WIDTH_KEY
 
Fields inherited from class javax.swing.plaf.metal.MetalScrollBarUI
decreaseButton, FREE_STANDING_PROP, increaseButton, isFreeStanding, scrollBarWidth
 
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
 
Constructor Summary
ThemedPlasticScrollBarUI()
           
 
Method Summary
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 installListeners()
           
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)
           
protected  void uninstallListeners()
           
 
Methods inherited from class com.jgoodies.looks.plastic.PlasticScrollBarUI
configureScrollBarColors, installDefaults
 
Methods inherited from class javax.swing.plaf.metal.MetalScrollBarUI
createPropertyChangeListener, getMinimumThumbSize, getPreferredSize, setThumbBounds
 
Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI
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, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemedPlasticScrollBarUI

public ThemedPlasticScrollBarUI()
Method Detail

createIncreaseButton

protected javax.swing.JButton createIncreaseButton(int orientation)
Overrides:
createIncreaseButton in class com.jgoodies.looks.plastic.PlasticScrollBarUI

createDecreaseButton

protected javax.swing.JButton createDecreaseButton(int orientation)
Overrides:
createDecreaseButton in class com.jgoodies.looks.plastic.PlasticScrollBarUI

paintTrack

protected void paintTrack(java.awt.Graphics g,
                          javax.swing.JComponent c,
                          java.awt.Rectangle trackBounds)
Overrides:
paintTrack in class com.jgoodies.looks.plastic.PlasticScrollBarUI

paintThumb

protected void paintThumb(java.awt.Graphics g,
                          javax.swing.JComponent c,
                          java.awt.Rectangle thumbBounds)
Overrides:
paintThumb in class com.jgoodies.looks.plastic.PlasticScrollBarUI

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)

installListeners

protected void installListeners()
Overrides:
installListeners in class javax.swing.plaf.metal.MetalScrollBarUI

uninstallListeners

protected void uninstallListeners()
Overrides:
uninstallListeners in class javax.swing.plaf.basic.BasicScrollBarUI

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.