nl.coderight.jazz.form.field.scrollable
Enum ScrollableField.ScrollBarPolicy
java.lang.Object
java.lang.Enum<ScrollableField.ScrollBarPolicy>
nl.coderight.jazz.form.field.scrollable.ScrollableField.ScrollBarPolicy
- All Implemented Interfaces:
- Serializable, Comparable<ScrollableField.ScrollBarPolicy>
- Enclosing class:
- ScrollableField<V>
public static enum ScrollableField.ScrollBarPolicy
- extends Enum<ScrollableField.ScrollBarPolicy>
Enumeration of possible scroll bar policies.
HORIZONTAL_SCROLLBAR_ALWAYS
public static final ScrollableField.ScrollBarPolicy HORIZONTAL_SCROLLBAR_ALWAYS
HORIZONTAL_SCROLLBAR_AS_NEEDED
public static final ScrollableField.ScrollBarPolicy HORIZONTAL_SCROLLBAR_AS_NEEDED
HORIZONTAL_SCROLLBAR_NEVER
public static final ScrollableField.ScrollBarPolicy HORIZONTAL_SCROLLBAR_NEVER
VERTICAL_SCROLLBAR_ALWAYS
public static final ScrollableField.ScrollBarPolicy VERTICAL_SCROLLBAR_ALWAYS
VERTICAL_SCROLLBAR_AS_NEEDED
public static final ScrollableField.ScrollBarPolicy VERTICAL_SCROLLBAR_AS_NEEDED
VERTICAL_SCROLLBAR_NEVER
public static final ScrollableField.ScrollBarPolicy VERTICAL_SCROLLBAR_NEVER
values
public static ScrollableField.ScrollBarPolicy[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ScrollableField.ScrollBarPolicy c : ScrollableField.ScrollBarPolicy.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ScrollableField.ScrollBarPolicy valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getScrollBarPolicy
public int getScrollBarPolicy()
Copyright 2010 CodeRight, All rights reserved.