Package jexer
Enum TApplication.BackendType
- java.lang.Object
-
- java.lang.Enum<TApplication.BackendType>
-
- jexer.TApplication.BackendType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TApplication.BackendType>
- Enclosing class:
- TApplication
public static enum TApplication.BackendType extends java.lang.Enum<TApplication.BackendType>
Two backend types are available.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TApplication.BackendType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TApplication.BackendType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SWING
public static final TApplication.BackendType SWING
A Swing JFrame.
-
ECMA48
public static final TApplication.BackendType ECMA48
An ECMA48 / ANSI X3.64 / XTERM style terminal.
-
XTERM
public static final TApplication.BackendType XTERM
Synonym for ECMA48.
-
-
Method Detail
-
values
public static TApplication.BackendType[] 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 (TApplication.BackendType c : TApplication.BackendType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TApplication.BackendType 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
-
-