Enum Constant and Description |
---|
AUTO
Horizontal and/or vertical scrollbars are displayed only if necessary.
|
CLIP_H
Clip horizontally but extend the canvas's clip region vertically if necessary.
|
CLIP_V
Clip vertically but extend the canvas's clip region horizontally if necessary.
|
HIDDEN
Content that extends beyond the widget's width or height is clipped (hidden).
|
SCROLL
Horizontal and vertical scrollbars are always drawn inside the widget.
|
VISIBLE
Content that extends beyond the widget's width or height is displayed.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static Overflow |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Overflow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Overflow VISIBLE
public static final Overflow HIDDEN
public static final Overflow AUTO
public static final Overflow SCROLL
public static final Overflow CLIP_H
public static final Overflow CLIP_V
public static Overflow[] values()
for (Overflow c : Overflow.values()) System.out.println(c);
public static Overflow 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