org.shetline.gui.laf.zinc
Class ZincScrollBarUI
java.lang.Object
  
javax.swing.plaf.ComponentUI
      
javax.swing.plaf.ScrollBarUI
          
javax.swing.plaf.basic.BasicScrollBarUI
              
javax.swing.plaf.metal.MetalScrollBarUI
                  
org.shetline.gui.laf.zinc.ZincScrollBarUI
- All Implemented Interfaces: 
 - LayoutManager, SwingConstants
 
public class ZincScrollBarUI
- extends MetalScrollBarUI
 
 
 
 
 
| 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 | 
 
 
| 
Method Summary | 
protected  JButton | 
createDecreaseButton(int orientation)
 
            | 
protected  JButton | 
createIncreaseButton(int orientation)
 
            | 
static ComponentUI | 
createUI(JComponent comp)
 
            | 
 void | 
installDefaults()
 
            | 
protected  void | 
paintGradient(Graphics g,
              int x,
              int y,
              int w,
              int h,
              boolean horizontal)
 
            | 
protected  void | 
paintThumb(Graphics g,
           JComponent c,
           Rectangle thumbBounds)
 
            | 
protected  void | 
paintThumbGradient(Graphics g,
                   int x,
                   int y,
                   int w,
                   int h,
                   boolean horizontal)
 
            | 
protected  void | 
paintTrack(Graphics g,
           JComponent c,
           Rectangle trackBounds)
 
            | 
 
 
| 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, uninstallListeners, uninstallUI | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ARROW_COLOR
public static final Color ARROW_COLOR
GRADIENT_START
public static final Color GRADIENT_START
GRADIENT_END
public static final Color GRADIENT_END
THUMB_GRADIENT_START
public static final Color THUMB_GRADIENT_START
THUMB_GRADIENT_END
public static final Color THUMB_GRADIENT_END
RIDGE_HIGHLIGHT
public static final Color RIDGE_HIGHLIGHT
RIDGE_SHADOW
public static final Color RIDGE_SHADOW
RIDGE_COUNT
public static final int RIDGE_COUNT
- See Also:
 - Constant Field Values
 
RIDGE_GAP
public static final int RIDGE_GAP
- See Also:
 - Constant Field Values
 
RIDGE_WIDTH
public static final int RIDGE_WIDTH
- See Also:
 - Constant Field Values
 
arrowColor
protected Color arrowColor
arrowDisabledColor
protected Color arrowDisabledColor
borderColor
protected Color borderColor
borderColorDisabled
protected Color borderColorDisabled
gradientEnd
protected Color gradientEnd
gradientMid
protected Color gradientMid
gradientStart
protected Color gradientStart
ridgeCount
protected int ridgeCount
ridgeGap
protected int ridgeGap
ridgeHighlight
protected Color ridgeHighlight
ridgeShadow
protected Color ridgeShadow
ridgeWidth
protected int ridgeWidth
thumbGradientEnd
protected Color thumbGradientEnd
thumbGradientStart
protected Color thumbGradientStart
width
protected int width
ZincScrollBarUI
public ZincScrollBarUI()
createUI
public static ComponentUI createUI(JComponent comp)
 
installDefaults
public void installDefaults()
- Overrides:
 installDefaults in class MetalScrollBarUI
 
 
createDecreaseButton
protected JButton createDecreaseButton(int orientation)
- Overrides:
 createDecreaseButton in class MetalScrollBarUI
 
 
createIncreaseButton
protected JButton createIncreaseButton(int orientation)
- Overrides:
 createIncreaseButton in class MetalScrollBarUI
 
 
paintTrack
protected void paintTrack(Graphics g,
                          JComponent c,
                          Rectangle trackBounds)
- Overrides:
 paintTrack in class MetalScrollBarUI
 
 
paintGradient
protected void paintGradient(Graphics g,
                             int x,
                             int y,
                             int w,
                             int h,
                             boolean horizontal)
 
paintThumb
protected void paintThumb(Graphics g,
                          JComponent c,
                          Rectangle thumbBounds)
- Overrides:
 paintThumb in class MetalScrollBarUI
 
 
paintThumbGradient
protected void paintThumbGradient(Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h,
                                  boolean horizontal)