Class SkinScrollBarUI

  • All Implemented Interfaces:
    java.awt.LayoutManager, javax.swing.SwingConstants

    public final class SkinScrollBarUI
    extends XTraScrollBarUI
    Version:
    $Revision: 1.2 $, $Date: 2003/12/06 21:53:26 $
    Author:
    $Author: l2fprod $
    • 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, decrGap, incrButton, INCREASE_HIGHLIGHT, incrGap, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollBarWidth, 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

      Constructors 
      Constructor Description
      SkinScrollBarUI()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javax.swing.JButton createDecreaseButton​(int orientation)
      Description of the Method
      protected javax.swing.JButton createIncreaseButton​(int orientation)
      Description of the Method
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent x)
      Description of the Method
      protected java.awt.Dimension getMinimumThumbSize()
      Gets the MinimumThumbSize attribute of the SkinScrollBarUI object
      java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)
      Gets the PreferredSize attribute of the SkinScrollBarUI object
      protected void paintThumb​(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle thumbBounds)
      Description of the Method
      protected void paintTrack​(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle trackBounds)
      Description of the Method
      • Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI

        addLayoutComponent, configureScrollBarColors, createArrowButtonListener, createModelListener, createPropertyChangeListener, createScrollListener, getMaximumSize, getMaximumThumbSize, getSupportsAbsolutePositioning, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isThumbRollover, layoutContainer, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, 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

      • SkinScrollBarUI

        public SkinScrollBarUI()
    • Method Detail

      • getPreferredSize

        public java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)
        Gets the PreferredSize attribute of the SkinScrollBarUI object
        Overrides:
        getPreferredSize in class javax.swing.plaf.basic.BasicScrollBarUI
        Parameters:
        c - Description of Parameter
        Returns:
        The PreferredSize value
      • getMinimumThumbSize

        protected java.awt.Dimension getMinimumThumbSize()
        Gets the MinimumThumbSize attribute of the SkinScrollBarUI object
        Overrides:
        getMinimumThumbSize in class javax.swing.plaf.basic.BasicScrollBarUI
        Returns:
        The MinimumThumbSize value
      • createDecreaseButton

        protected javax.swing.JButton createDecreaseButton​(int orientation)
        Description of the Method
        Overrides:
        createDecreaseButton in class javax.swing.plaf.basic.BasicScrollBarUI
        Parameters:
        orientation - Description of Parameter
        Returns:
        Description of the Returned Value
      • createIncreaseButton

        protected javax.swing.JButton createIncreaseButton​(int orientation)
        Description of the Method
        Overrides:
        createIncreaseButton in class javax.swing.plaf.basic.BasicScrollBarUI
        Parameters:
        orientation - Description of Parameter
        Returns:
        Description of the Returned Value
      • paintTrack

        protected void paintTrack​(java.awt.Graphics g,
                                  javax.swing.JComponent c,
                                  java.awt.Rectangle trackBounds)
        Description of the Method
        Overrides:
        paintTrack in class javax.swing.plaf.basic.BasicScrollBarUI
        Parameters:
        g - Description of Parameter
        c - Description of Parameter
        trackBounds - Description of Parameter
      • paintThumb

        protected void paintThumb​(java.awt.Graphics g,
                                  javax.swing.JComponent c,
                                  java.awt.Rectangle thumbBounds)
        Description of the Method
        Overrides:
        paintThumb in class javax.swing.plaf.basic.BasicScrollBarUI
        Parameters:
        g - Description of Parameter
        c - Description of Parameter
        thumbBounds - Description of Parameter
      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent x)
        Description of the Method
        Parameters:
        x - Description of Parameter
        Returns:
        Description of the Returned Value