com.alee.laf.text
Class WebTextFieldStyle

java.lang.Object
  extended by com.alee.laf.text.WebTextFieldStyle

public final class WebTextFieldStyle
extends java.lang.Object

WebTextField style class.

Author:
Mikle Garin

Field Summary
static int componentSpacing
          Field content spacing.
static boolean drawBackground
          Whether should draw background or not.
static boolean drawBorder
          Whether should draw border or not.
static boolean drawFocus
          Whether should draw focus or not.
static boolean drawShade
          Whether should draw shade or not.
static java.awt.Insets fieldMargin
          Inner field margin.
static boolean hideInputPromptOnFocus
          Whether should hide input prompt when field is focused or not.
static java.lang.String inputPrompt
          Input prompt text.
static java.awt.Font inputPromptFont
          Input prompt text font.
static java.awt.Color inputPromptForeground
          Input prompt text foreground.
static int inputPromptPosition
          Input prompt text position.
static java.awt.Insets margin
          Field margin.
static Painter painter
          Text field painter.
static int round
          Field corners rounding.
static int shadeWidth
          Field shade width.
static boolean webColored
          Whether should draw web-styled background or not.
 
Constructor Summary
WebTextFieldStyle()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

drawBorder

public static boolean drawBorder
Whether should draw border or not.


drawFocus

public static boolean drawFocus
Whether should draw focus or not.


round

public static int round
Field corners rounding.


drawShade

public static boolean drawShade
Whether should draw shade or not.


shadeWidth

public static int shadeWidth
Field shade width.


drawBackground

public static boolean drawBackground
Whether should draw background or not.


webColored

public static boolean webColored
Whether should draw web-styled background or not.


painter

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


componentSpacing

public static int componentSpacing
Field content spacing.


margin

public static java.awt.Insets margin
Field margin.


fieldMargin

public static java.awt.Insets fieldMargin
Inner field margin.


inputPrompt

public static java.lang.String inputPrompt
Input prompt text. Set to null to disable input prompt.


inputPromptFont

public static java.awt.Font inputPromptFont
Input prompt text font. Set to null to use the same font field uses.


inputPromptForeground

public static java.awt.Color inputPromptForeground
Input prompt text foreground. Set to null to use the same foreground field uses.


inputPromptPosition

public static int inputPromptPosition
Input prompt text position.


hideInputPromptOnFocus

public static boolean hideInputPromptOnFocus
Whether should hide input prompt when field is focused or not.

Constructor Detail

WebTextFieldStyle

public WebTextFieldStyle()