|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Overflow>
com.smartgwt.client.types.Overflow
public enum Overflow
Enum Constant Summary | |
---|---|
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. 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. |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static final 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 namepublic java.lang.String getValue()
getValue
in interface ValueEnum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |