Sky View Café - Java

org.shetline.gui.laf.zinc
Class ZincScrollBarUI

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 org.shetline.gui.laf.zinc.ZincScrollBarUI
All Implemented Interfaces:
LayoutManager, SwingConstants

public class ZincScrollBarUI
extends MetalScrollBarUI


Nested Class Summary
 class ZincScrollBarUI.ZincScrollButton
           
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicScrollBarUI
BasicScrollBarUI.ArrowButtonListener, BasicScrollBarUI.ModelListener, BasicScrollBarUI.PropertyChangeHandler, BasicScrollBarUI.ScrollListener, BasicScrollBarUI.TrackListener
 
Field Summary
static Color ARROW_COLOR
           
protected  Color arrowColor
           
protected  Color arrowDisabledColor
           
protected  Color borderColor
           
protected  Color borderColorDisabled
           
static Color GRADIENT_END
           
static Color GRADIENT_START
           
protected  Color gradientEnd
           
protected  Color gradientMid
           
protected  Color gradientStart
           
static int RIDGE_COUNT
           
static int RIDGE_GAP
           
static Color RIDGE_HIGHLIGHT
           
static Color RIDGE_SHADOW
           
static int RIDGE_WIDTH
           
protected  int ridgeCount
           
protected  int ridgeGap
           
protected  Color ridgeHighlight
           
protected  Color ridgeShadow
           
protected  int ridgeWidth
           
static Color THUMB_GRADIENT_END
           
static Color THUMB_GRADIENT_START
           
protected  Color thumbGradientEnd
           
protected  Color thumbGradientStart
           
protected  int width
           
 
Fields inherited from class javax.swing.plaf.metal.MetalScrollBarUI
bumps, 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
ZincScrollBarUI()
           
 
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.metal.MetalScrollBarUI
configureScrollBarColors, createPropertyChangeListener, getMinimumThumbSize, getPreferredSize, installListeners, 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, 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
 

Field Detail

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
Constructor Detail

ZincScrollBarUI

public ZincScrollBarUI()
Method Detail

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)

Sky View Café - Java