de.lessvoid.nifty.controls
Enum ScrollPanel.AutoScroll

java.lang.Object
  extended by java.lang.Enum<ScrollPanel.AutoScroll>
      extended by 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

Enum Constant Summary
BOTTOM
           
BOTTOM_LEFT
           
BOTTOM_RIGHT
           
LEFT
           
OFF
           
RIGHT
           
TOP
           
TOP_LEFT
           
TOP_RIGHT
           
 
Method Summary
 String getParam()
           
static ScrollPanel.AutoScroll parse(String param)
           
static ScrollPanel.AutoScroll valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ScrollPanel.AutoScroll[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.