javax.swing.plaf.basic
Class BasicScrollBarUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.ScrollBarUI
              |
              +--javax.swing.plaf.basic.BasicScrollBarUI
All Implemented Interfaces:
LayoutManager, SwingConstants
Direct Known Subclasses:
MetalScrollBarUI
public class BasicScrollBarUI
extends ScrollBarUI
implements LayoutManager, SwingConstants

Implementation of ScrollBarUI for the Basic Look and Feel

 

Nested Class Summary

protected  class BasicScrollBarUI.ArrowButtonListener
    Listener for cursor keys.
protected  class BasicScrollBarUI.ModelListener
    A listener to listen for model changes.
 class BasicScrollBarUI.PropertyChangeHandler
    
protected  class BasicScrollBarUI.ScrollListener
    Listener for scrolling events initiated in the ScrollPane.
protected  class BasicScrollBarUI.TrackListener
    Track mouse drags.
 

 

Field Summary

protected  BasicScrollBarUI.ArrowButtonListener buttonListener
    
protected  JButton decrButton
    
protected static int DECREASE_HIGHLIGHT
    
protected  JButton incrButton
    
protected static int INCREASE_HIGHLIGHT
    
protected  boolean isDragging
    
protected  Dimension maximumThumbSize
    
protected  Dimension minimumThumbSize
    
protected  BasicScrollBarUI.ModelListener modelListener
    
protected static int NO_HIGHLIGHT
    
protected  PropertyChangeListener propertyChangeListener
    
protected  JScrollBar scrollbar
    
protected  BasicScrollBarUI.ScrollListener scrollListener
    
protected  Timer scrollTimer
    
protected  Color thumbColor
    
protected  Color thumbDarkShadowColor
    
protected  Color thumbHighlightColor
    
protected  Color thumbLightShadowColor
    
protected  Rectangle thumbRect
    
protected  Color trackColor
    
protected  int trackHighlight
    
protected  Color trackHighlightColor
    
protected  BasicScrollBarUI.TrackListener trackListener
    
protected  Rectangle trackRect
    
 
Fields inherited from interface javax.swing.