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
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "visible".
public static final Overflow HIDDEN
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "hidden".
public static final Overflow AUTO
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "auto".
public static final Overflow SCROLL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "scroll".
public static final Overflow CLIP_H
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "clip-h".
public static final Overflow CLIP_V
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "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