public enum TextFieldType extends java.lang.Enum<TextFieldType> implements StyleDefinition
Enum Constant and Description |
---|
REGULAR
REGULAR indicates a regular Button.
|
ROUND_RECT
ROUND_RECT indicates a TextField with more rounded (higher radius) borders than a regular
Button.
|
SEARCH
SEARCH indicates a SearchField with a magnifying glass and more rounded corners.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStyleName()
Constructs a String as name for the StyleClass.
|
static TextFieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextFieldType REGULAR
public static final TextFieldType SEARCH
public static final TextFieldType ROUND_RECT
public static TextFieldType[] values()
for (TextFieldType c : TextFieldType.values()) System.out.println(c);
public static TextFieldType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getStyleName()
getStyleName
in interface StyleDefinition
Copyright © 2013. All Rights Reserved.