enum TaskBarStyle extends java.lang.Enum<TaskBarStyle>
Enum Constant and Description |
---|
FIXED
The task bar is fixed to its attached zone which can be the bottom side or the right side
of the browser.
|
FLOAT
The task bar is floating and slides up if the mouse pointer is over its attached zone and
slides down if the mouse pointer leaves the attached zone.
|
Modifier and Type | Method and Description |
---|---|
static TaskBarStyle |
parse(java.lang.String value,
TaskBarStyle defaultStyle)
Tries to find the task bar style for the given string if there is a style name that equals
to this string ignoring the lower and upper cases, otherwise returns the default style.
|
static TaskBarStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskBarStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskBarStyle FIXED
public static final TaskBarStyle FLOAT
public static TaskBarStyle[] values()
for (TaskBarStyle c : TaskBarStyle.values()) System.out.println(c);
public static TaskBarStyle 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 static TaskBarStyle parse(java.lang.String value, TaskBarStyle defaultStyle)
value
- The given style namedefaultStyle
- The default style