Enum Overflow
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<Overflow>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionHorizontal and/or vertical scrollbars are displayed only if necessary.Clip horizontally but extend the canvas's clip region vertically if necessary.Clip vertically but extend the canvas's clip region horizontally if necessary.Content that extends beyond the widget's width or height is clipped (hidden).Horizontal and vertical scrollbars are always drawn inside the widget.Content that extends beyond the widget's width or height is displayed. -
Method Summary
-
Enum Constant Details
-
VISIBLE
Content that extends beyond the widget's width or height is displayed. Note: To have the content be sized only by the drawn size of the content set the overflow to be Canvas.VISIBLE and specify a small size, allowing the size to expand to the size required by the content. Leaving the width / height for the widget undefined will use the default value of 100, and setting the size to zero may cause the widget not to draw.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "visible". -
HIDDEN
Content that extends beyond the widget's width or height is clipped (hidden).If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "hidden". -
AUTO
Horizontal and/or vertical scrollbars are displayed only if necessary. Content that extends beyond the remaining visible area is clipped.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "auto". -
SCROLL
Horizontal and vertical scrollbars are always drawn inside the widget. Content that extends beyond the remaining visible area is clipped, and can be accessed via scrolling.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "scroll". -
CLIP_H
Clip horizontally but extend the canvas's clip region vertically if necessary.
Note: only supported for specific widget subclasses.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "clip-h". -
CLIP_V
Clip vertically but extend the canvas's clip region horizontally if necessary.
Note: only supported for specific widget subclasses.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "clip-v".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
getValue
-