Package adams.gui.core
Enum OneTouchPanel.Location
- java.lang.Object
-
- java.lang.Enum<OneTouchPanel.Location>
-
- adams.gui.core.OneTouchPanel.Location
-
- All Implemented Interfaces:
Serializable
,Comparable<OneTouchPanel.Location>
- Enclosing class:
- OneTouchPanel
public static enum OneTouchPanel.Location extends Enum<OneTouchPanel.Location>
The location for the buttons when content is hidden.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OneTouchPanel.Location
valueOf(String name)
Returns the enum constant of this type with the specified name.static OneTouchPanel.Location[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP
public static final OneTouchPanel.Location TOP
-
BOTTOM
public static final OneTouchPanel.Location BOTTOM
-
LEFT
public static final OneTouchPanel.Location LEFT
-
RIGHT
public static final OneTouchPanel.Location RIGHT
-
-
Method Detail
-
values
public static OneTouchPanel.Location[] 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 (OneTouchPanel.Location c : OneTouchPanel.Location.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OneTouchPanel.Location 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 nameNullPointerException
- if the argument is null
-
-