com.alee.laf.scroll
Class WebScrollBarStyle

java.lang.Object
  extended by com.alee.laf.scroll.WebScrollBarStyle

public final class WebScrollBarStyle
extends java.lang.Object

WebScrollBar style class.

Author:
Mikle Garin

Field Summary
static java.awt.Dimension buttonsSize
          Scroll bar arrow buttons preferred size.
static java.awt.Insets margin
          Scroll bar margin.
static int minThumbHeight
          Minimum vertical scroll bar thumb height.
static int minThumbWidth
          Minimum horizontal scroll bar thumb width.
static boolean paintButtons
          Whether scroll bar arrow buttons should be displayed or not.
static boolean paintTrack
          Whether scroll bar track should be displayed or not.
static int scrollBarWidth
          Default width of scroll bar.
static java.awt.Color thumbBackgroundColor
          Scroll bar thumb background color.
static java.awt.Color thumbBorderColor
          Scroll bar thumb border color.
static java.awt.Color thumbDisabledBackgroundColor
          Scroll bar thumb disabled background color.
static java.awt.Color thumbDisabledBorderColor
          Scroll bar thumb disabled border color.
static java.awt.Insets thumbMargin
          Scroll bar thumb margin.
static java.awt.Color thumbPressedBackgroundColor
          Scroll bar thumb pressed/dragged background color.
static java.awt.Color thumbPressedBorderColor
          Scroll bar thumb pressed/dragged border color.
static java.awt.Color thumbRolloverBackgroundColor
          Scroll bar thumb rollover background color.
static java.awt.Color thumbRolloverBorderColor
          Scroll bar thumb rollover border color.
static int thumbRound
          Scroll bar thumb corners rounding.
static java.awt.Color trackBackgroundColor
          Scroll bar track background color.
static java.awt.Color trackBorderColor
          Scroll bar track border color.
 
Constructor Summary
WebScrollBarStyle()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paintButtons

public static boolean paintButtons
Whether scroll bar arrow buttons should be displayed or not.


paintTrack

public static boolean paintTrack
Whether scroll bar track should be displayed or not.


trackBorderColor

public static java.awt.Color trackBorderColor
Scroll bar track border color.


trackBackgroundColor

public static java.awt.Color trackBackgroundColor
Scroll bar track background color.


thumbBorderColor

public static java.awt.Color thumbBorderColor
Scroll bar thumb border color.


thumbBackgroundColor

public static java.awt.Color thumbBackgroundColor
Scroll bar thumb background color.


thumbDisabledBorderColor

public static java.awt.Color thumbDisabledBorderColor
Scroll bar thumb disabled border color.


thumbDisabledBackgroundColor

public static java.awt.Color thumbDisabledBackgroundColor
Scroll bar thumb disabled background color.


thumbRolloverBorderColor

public static java.awt.Color thumbRolloverBorderColor
Scroll bar thumb rollover border color.


thumbRolloverBackgroundColor

public static java.awt.Color thumbRolloverBackgroundColor
Scroll bar thumb rollover background color.


thumbPressedBorderColor

public static java.awt.Color thumbPressedBorderColor
Scroll bar thumb pressed/dragged border color.


thumbPressedBackgroundColor

public static java.awt.Color thumbPressedBackgroundColor
Scroll bar thumb pressed/dragged background color.


thumbRound

public static int thumbRound
Scroll bar thumb corners rounding.


margin

public static java.awt.Insets margin
Scroll bar margin.


scrollBarWidth

public static int scrollBarWidth
Default width of scroll bar.


thumbMargin

public static java.awt.Insets thumbMargin
Scroll bar thumb margin.


buttonsSize

public static java.awt.Dimension buttonsSize
Scroll bar arrow buttons preferred size. Only odd values are recommended for default button representation. For custom implementations you may specify anything you like.


minThumbWidth

public static int minThumbWidth
Minimum horizontal scroll bar thumb width.


minThumbHeight

public static int minThumbHeight
Minimum vertical scroll bar thumb height.

Constructor Detail

WebScrollBarStyle

public WebScrollBarStyle()