public static enum TemplateCanvas.ScrollBehavior extends java.lang.Enum<TemplateCanvas.ScrollBehavior>
Enum Constant and Description |
---|
Both |
Horizontal |
None |
Vertical |
Modifier and Type | Method and Description |
---|---|
boolean |
tracksHeight() |
boolean |
tracksWidth() |
static TemplateCanvas.ScrollBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TemplateCanvas.ScrollBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateCanvas.ScrollBehavior None
public static final TemplateCanvas.ScrollBehavior Both
public static final TemplateCanvas.ScrollBehavior Vertical
public static final TemplateCanvas.ScrollBehavior Horizontal
public static TemplateCanvas.ScrollBehavior[] values()
for (TemplateCanvas.ScrollBehavior c : TemplateCanvas.ScrollBehavior.values()) System.out.println(c);
public static TemplateCanvas.ScrollBehavior 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 nullpublic boolean tracksWidth()
public boolean tracksHeight()