com.alee.laf.button
Class WebButtonStyle

java.lang.Object
  extended by com.alee.laf.button.WebButtonStyle

public final class WebButtonStyle
extends java.lang.Object

WebButton style class.

Author:
Mikle Garin

Field Summary
static boolean animate
          Whether should animate button transitions.
static java.awt.Color bottomBgColor
          Bottom background color.
static java.awt.Color bottomSelectedBgColor
          Bottom selected background color.
static boolean drawFocus
          Whether should draw button focus or not.
static boolean drawShade
          Whether should draw shade or not.
static int iconLeftRightSpacing
          Left and right icon button content spacing.
static int iconRound
          Icon button corners rounding.
static java.awt.Color innerShadeColor
          Inner shade color.
static int innerShadeWidth
          Inner shade width.
static int leftRightSpacing
          Left and right button content spacing.
static java.awt.Insets margin
          Button margin.
static boolean moveIconOnPress
          Whether should move button icon a bit when button is pressed or not.
static Painter painter
          Button painter.
static boolean rolloverDarkBorderOnly
          Whether should draw dark border on rollover only or not.
static boolean rolloverDecoratedOnly
          Whether should draw button decoration on rollover only or not.
static boolean rolloverShadeOnly
          Whether should draw shade on rollover only or not.
static boolean rolloverShine
          Whether should draw rollover shine or not.
static int round
          Button corners rounding.
static java.awt.Color selectedForeground
          Selected button foreground.
static java.awt.Color shadeColor
          Shade color.
static boolean shadeToggleIcon
          Whether should make unselected toggle button icon semi-transparent or not.
static float shadeToggleIconTransparency
          Unselected toggle button icon transparency.
static int shadeWidth
          Button shade width.
static java.awt.Color shineColor
          Rollover shine color.
static boolean showDisabledShade
          Whether should draw shade when button is disabled or not.
static java.awt.Color topBgColor
          Top background color.
static java.awt.Color topSelectedBgColor
          Top selected background color.
static boolean undecorated
          Whether should undecorate button or not.
 
Constructor Summary
WebButtonStyle()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topBgColor

public static java.awt.Color topBgColor
Top background color.


bottomBgColor

public static java.awt.Color bottomBgColor
Bottom background color.


topSelectedBgColor

public static java.awt.Color topSelectedBgColor
Top selected background color.


bottomSelectedBgColor

public static java.awt.Color bottomSelectedBgColor
Bottom selected background color.


selectedForeground

public static java.awt.Color selectedForeground
Selected button foreground.


rolloverShine

public static boolean rolloverShine
Whether should draw rollover shine or not.


shineColor

public static java.awt.Color shineColor
Rollover shine color.


rolloverDarkBorderOnly

public static boolean rolloverDarkBorderOnly
Whether should draw dark border on rollover only or not.


drawShade

public static boolean drawShade
Whether should draw shade or not.


rolloverShadeOnly

public static boolean rolloverShadeOnly
Whether should draw shade on rollover only or not.


showDisabledShade

public static boolean showDisabledShade
Whether should draw shade when button is disabled or not.


round

public static int round
Button corners rounding.


iconRound

public static int iconRound
Icon button corners rounding.


shadeWidth

public static int shadeWidth
Button shade width.


margin

public static java.awt.Insets margin
Button margin.


shadeColor

public static java.awt.Color shadeColor
Shade color.


innerShadeWidth

public static int innerShadeWidth
Inner shade width.


innerShadeColor

public static java.awt.Color innerShadeColor
Inner shade color.


leftRightSpacing

public static int leftRightSpacing
Left and right button content spacing.


iconLeftRightSpacing

public static int iconLeftRightSpacing
Left and right icon button content spacing.


shadeToggleIcon

public static boolean shadeToggleIcon
Whether should make unselected toggle button icon semi-transparent or not.


shadeToggleIconTransparency

public static float shadeToggleIconTransparency
Unselected toggle button icon transparency.


drawFocus

public static boolean drawFocus
Whether should draw button focus or not.


rolloverDecoratedOnly

public static boolean rolloverDecoratedOnly
Whether should draw button decoration on rollover only or not.


animate

public static boolean animate
Whether should animate button transitions.


undecorated

public static boolean undecorated
Whether should undecorate button or not.


painter

public static Painter painter
Button painter. If set it will override WebLaF styling.


moveIconOnPress

public static boolean moveIconOnPress
Whether should move button icon a bit when button is pressed or not.

Constructor Detail

WebButtonStyle

public WebButtonStyle()