com.attachmate.cicsbridge
Enum TerminalModelType
java.lang.Object
java.lang.Enum<TerminalModelType>
com.attachmate.cicsbridge.TerminalModelType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TerminalModelType>
public enum TerminalModelType
- extends java.lang.Enum<TerminalModelType>
Specifies the host terminal model type
- Since:
- 1.0
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Model2
public static final TerminalModelType Model2
Model3
public static final TerminalModelType Model3
Model4
public static final TerminalModelType Model4
Model5
public static final TerminalModelType Model5
values
public static TerminalModelType[] 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 (TerminalModelType c : TerminalModelType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TerminalModelType 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 name
java.lang.NullPointerException
- if the argument is null
getMaxColumn
public int getMaxColumn()
getMaxRow
public int getMaxRow()
getID
public int getID()
valueOf
public static TerminalModelType valueOf(int modelType)
valueOf
public static TerminalModelType valueOf(int row,
int col)