Package adams.gui.core
Enum ToolBarPanel.ToolBarLocation
- java.lang.Object
-
- java.lang.Enum<ToolBarPanel.ToolBarLocation>
-
- adams.gui.core.ToolBarPanel.ToolBarLocation
-
- All Implemented Interfaces:
Serializable
,Comparable<ToolBarPanel.ToolBarLocation>
- Enclosing class:
- ToolBarPanel
public static enum ToolBarPanel.ToolBarLocation extends Enum<ToolBarPanel.ToolBarLocation>
The location of the toolbar.- 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 ToolBarPanel.ToolBarLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static ToolBarPanel.ToolBarLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIDDEN
public static final ToolBarPanel.ToolBarLocation HIDDEN
hides the toolbar.
-
NORTH
public static final ToolBarPanel.ToolBarLocation NORTH
top.
-
SOUTH
public static final ToolBarPanel.ToolBarLocation SOUTH
bottom.
-
WEST
public static final ToolBarPanel.ToolBarLocation WEST
left.
-
EAST
public static final ToolBarPanel.ToolBarLocation EAST
right.
-
-
Method Detail
-
values
public static ToolBarPanel.ToolBarLocation[] 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 (ToolBarPanel.ToolBarLocation c : ToolBarPanel.ToolBarLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ToolBarPanel.ToolBarLocation 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
-
-