Package jexer
Enum TPanel.Direction
- java.lang.Object
-
- java.lang.Enum<TPanel.Direction>
-
- jexer.TPanel.Direction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TPanel.Direction>
- Enclosing class:
- TPanel
public static enum TPanel.Direction extends java.lang.Enum<TPanel.Direction>
Available locations to draw the title, if the title is specified.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOMCentered on the bottom.BOTTOM_LEFTBottom-left.BOTTOM_RIGHTBottom-right.TOPCentered on the top.TOP_LEFTTop-left.TOP_RIGHTTop-right.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TPanel.DirectionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TPanel.Direction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP_LEFT
public static final TPanel.Direction TOP_LEFT
Top-left.
-
TOP
public static final TPanel.Direction TOP
Centered on the top.
-
TOP_RIGHT
public static final TPanel.Direction TOP_RIGHT
Top-right.
-
BOTTOM_LEFT
public static final TPanel.Direction BOTTOM_LEFT
Bottom-left.
-
BOTTOM
public static final TPanel.Direction BOTTOM
Centered on the bottom.
-
BOTTOM_RIGHT
public static final TPanel.Direction BOTTOM_RIGHT
Bottom-right.
-
-
Method Detail
-
values
public static TPanel.Direction[] 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 (TPanel.Direction c : TPanel.Direction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TPanel.Direction valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-