Package org.tn5250j.sessionsettings
Enum ColumnSeparator
- java.lang.Object
-
- java.lang.Enum<ColumnSeparator>
-
- org.tn5250j.sessionsettings.ColumnSeparator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ColumnSeparator>,java.lang.constant.Constable
public enum ColumnSeparator extends java.lang.Enum<ColumnSeparator>
Types of separator line style- Author:
- master_jaf
-
-
Field Summary
Fields Modifier and Type Field Description static ColumnSeparatorDEFAULTdefault Line
-
Method Summary
Modifier and Type Method Description static ColumnSeparatorgetFromName(java.lang.String name)searches the enumeration for the given name, case insensitivestatic ColumnSeparatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ColumnSeparator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Hide
public static final ColumnSeparator Hide
-
Dot
public static final ColumnSeparator Dot
-
Line
public static final ColumnSeparator Line
-
ShortLine
public static final ColumnSeparator ShortLine
-
-
Field Detail
-
DEFAULT
public static ColumnSeparator DEFAULT
default Line
-
-
Method Detail
-
values
public static ColumnSeparator[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColumnSeparator 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
-
getFromName
public static ColumnSeparator getFromName(java.lang.String name)
searches the enumeration for the given name, case insensitive- Parameters:
name- name- Returns:
- the corresponding enum value OR default value, if name not matches
-
-