com.rapidminer.gui.look.ui
Class ScrollBarUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ScrollBarUI
          extended by javax.swing.plaf.basic.BasicScrollBarUI
              extended by com.rapidminer.gui.look.ui.ScrollBarUI
All Implemented Interfaces:
java.awt.LayoutManager, javax.swing.SwingConstants

public class ScrollBarUI
extends javax.swing.plaf.basic.BasicScrollBarUI

The UI for scroll bars.

Author:
Ingo Mierswa

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 javax.swing.plaf.basic.BasicScrollBarUI
buttonListener, decrButton, DECREASE_HIGHLIGHT, incrButton, INCREASE_HIGHLIGHT, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollListener, scrollTimer, thumbColor, thumbDarkShadowColor, thumbHighlightColor, 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
ScrollBarUI()
           
 
Method Summary
protected  void configureScrollBarColors()
           
protected  javax.swing.JButton createDecreaseButton(int orientation)
           
protected  javax.swing.JButton createIncreaseButton(int orientation)
           
protected  java.awt.event.MouseListener createThumbPressedListener()
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
           
 java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
           
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
           
protected  void installDefaults()
           
protected  void installListeners()
           
protected  void paintIncreaseHighlight(java.awt.Graphics g)
           
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()
           
 void uninstallUI(javax.swing.JComponent c)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI
addLayoutComponent, createArrowButtonListener, createModelListener, createPropertyChangeListener, createScrollListener, createTrackListener, getMaximumSize, getMaximumThumbSize, getMinimumThumbSize, getSupportsAbsolutePositioning, getThumbBounds, getTrackBounds, installComponents, installKeyboardActions, installUI, isThumbRollover, layoutContainer, layoutHScrollbar, layoutVScrollbar, minimumLayoutSize, paint, paintDecreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbBounds, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScrollBarUI

public ScrollBarUI()
Method Detail

createUI

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

installDefaults

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

uninstallUI

public void uninstallUI(javax.swing.JComponent c)
Overrides:
uninstallUI in class javax.swing.plaf.basic.BasicScrollBarUI

createThumbPressedListener

protected java.awt.event.MouseListener createThumbPressedListener()

installListeners

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

uninstallListeners

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

getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
Overrides:
getPreferredSize in class javax.swing.plaf.basic.BasicScrollBarUI

getMinimumSize

public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
Overrides:
getMinimumSize in class javax.swing.plaf.ComponentUI

configureScrollBarColors

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

paintTrack

protected void paintTrack(java.awt.Graphics g,
                          javax.swing.JComponent c,
                          java.awt.Rectangle trackBounds)
Overrides:
paintTrack in class javax.swing.plaf.basic.BasicScrollBarUI

createDecreaseButton

protected javax.swing.JButton createDecreaseButton(int orientation)
Overrides:
createDecreaseButton in class javax.swing.plaf.basic.BasicScrollBarUI

createIncreaseButton

protected javax.swing.JButton createIncreaseButton(int orientation)
Overrides:
createIncreaseButton in class javax.swing.plaf.basic.BasicScrollBarUI

paintIncreaseHighlight

protected void paintIncreaseHighlight(java.awt.Graphics g)
Overrides:
paintIncreaseHighlight in class javax.swing.plaf.basic.BasicScrollBarUI

paintThumb

protected void paintThumb(java.awt.Graphics g,
                          javax.swing.JComponent c,
                          java.awt.Rectangle thumbBounds)
Overrides:
paintThumb in class javax.swing.plaf.basic.BasicScrollBarUI


Copyright © 2001-2009 by Rapid-I