de.lessvoid.nifty.controls
Enum ScrollPanel.AutoScroll
java.lang.Object
java.lang.Enum<ScrollPanel.AutoScroll>
de.lessvoid.nifty.controls.ScrollPanel.AutoScroll
- All Implemented Interfaces:
- Serializable, Comparable<ScrollPanel.AutoScroll>
- Enclosing interface:
- ScrollPanel
public static enum ScrollPanel.AutoScroll
- extends Enum<ScrollPanel.AutoScroll>
Autoscrollmode
- Author:
- void
TOP
public static final ScrollPanel.AutoScroll TOP
BOTTOM
public static final ScrollPanel.AutoScroll BOTTOM
LEFT
public static final ScrollPanel.AutoScroll LEFT
RIGHT
public static final ScrollPanel.AutoScroll RIGHT
TOP_LEFT
public static final ScrollPanel.AutoScroll TOP_LEFT
TOP_RIGHT
public static final ScrollPanel.AutoScroll TOP_RIGHT
BOTTOM_LEFT
public static final ScrollPanel.AutoScroll BOTTOM_LEFT
BOTTOM_RIGHT
public static final ScrollPanel.AutoScroll BOTTOM_RIGHT
OFF
public static final ScrollPanel.AutoScroll OFF
values
public static ScrollPanel.AutoScroll[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ScrollPanel.AutoScroll c : ScrollPanel.AutoScroll.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ScrollPanel.AutoScroll valueOf(String name)
- 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 name
NullPointerException
- if the argument is null
getParam
public String getParam()
parse
public static ScrollPanel.AutoScroll parse(String param)
Copyright © 2011. All Rights Reserved.