public static enum ScrollablePanel.ScrollableSizeHint extends java.lang.Enum<ScrollablePanel.ScrollableSizeHint>
Modifier and Type | Method and Description |
---|---|
static ScrollablePanel.ScrollableSizeHint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScrollablePanel.ScrollableSizeHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrollablePanel.ScrollableSizeHint NONE
public static final ScrollablePanel.ScrollableSizeHint FIT
public static final ScrollablePanel.ScrollableSizeHint STRETCH
public static ScrollablePanel.ScrollableSizeHint[] values()
for (ScrollablePanel.ScrollableSizeHint c : ScrollablePanel.ScrollableSizeHint.values()) System.out.println(c);
public static ScrollablePanel.ScrollableSizeHint 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 null