annotate app/src/main/java/org/tn5250j/TN5250jConstants.java @ 483:84bab82d1f58

extract certificate from jks keystore
author Carl Byington <carl@five-ten-sg.com>
date Mon, 01 Jun 2020 15:47:47 -0700
parents 8fa8e73e2f5c
children 2eb4fa13b9ef
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 /*
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 * @(#)TN5250jConstants.java
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 * Copyright: Copyright (c) 2001
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 *
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 * the Free Software Foundation; either version 2, or (at your option)
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 * any later version.
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 *
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful,
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13 * GNU General Public License for more details.
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 *
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16 * along with this software; see the file COPYING. If not, write to
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
18 * Boston, MA 02111-1307 USA
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
19 *
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
20 */
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
21
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
22 package org.tn5250j;
107
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
23 import java.util.HashMap;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
24
108
ae3092cd9cbf use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 107
diff changeset
25 public class TN5250jConstants {
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
26
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
27 // Version information
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
28 public static final String tn5250jRelease = "0";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
29 public static final String tn5250jVersion = ".7";
445
8fa8e73e2f5c update to tn5250j version 0.7.7, svn r1270
Carl Byington <carl@five-ten-sg.com>
parents: 438
diff changeset
30 public static final String tn5250jSubVer = ".7";
107
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
31
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
32 public static final String VERSION_INFO = tn5250jRelease + tn5250jVersion + tn5250jSubVer;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
33
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
34 // STATE
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
35 static final int STATE_DISCONNECTED = 0;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
36 static final int STATE_CONNECTED = 1;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
37 static final int STATE_REMOVE = 2;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
38
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
39 // SESSION Level key value pairs
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
40 public static final String SESSION_HOST = "SESSION_HOST";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
41 public static final String SESSION_HOST_PORT = "SESSION_HOST_PORT";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
42 public static final String SESSION_CONFIG_RESOURCE = "SESSION_CONFIG_RESOURCE";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
43 public static final String SESSION_TYPE = "SESSION_HOST_TYPE";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
44 public static final String SESSION_TN_ENHANCED = "SESSION_TN_ENHANCED";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
45 public static final String SESSION_SCREEN_SIZE = "SESSION_SCREEN_SIZE";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
46 public static final String SESSION_CODE_PAGE = "SESSION_CODE_PAGE";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
47 public static final String SESSION_PROXY_HOST = "SESSION_PROXY_HOST";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
48 public static final String SESSION_PROXY_PORT = "SESSION_PROXY_PORT";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
49 public static final String SESSION_USE_GUI = "SESSION_USE_GUI";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
50 public static final String SESSION_DEVICE_NAME = "SESSION_DEVICE_NAME";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
51 public static final String SESSION_NAMES_REFS = "SESSION_NAMES_REFS";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
52 public static final String SESSION_LOCALE = "SESSION_LOCALE";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
53 public static final String SESSION_CONFIG_FILE = "SESSION_CONFIG_FILE";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
54 public static final String SESSION_TERM_NAME_SYSTEM = "SESSION_TERM_NAME_SYSTEM";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
55 public static final String SESSION_TERM_NAME = "SESSION_TERM_NAME";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
56 public static final String SESSION_IS_APPLET = "SESSION_IS_APPLET";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
57 public static final String SESSION_HEART_BEAT = "SESSION_KEEP_ALIVE_ENABLED";
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
58
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
59 // public static final String GUI_MDI_TYPE = "GUI_MDI_TYPE";
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
60 public static final String GUI_FRAME_WIDTH = "GUI_FRAME_WIDTH";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
61 public static final String GUI_FRAME_HEIGHT = "GUI_FRAME_HEIGHT";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
62 public static final String GUI_NO_TAB = "GUI_NO_TAB";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
63 public static final String NO_CHECK_RUNNING = "NO_CHECK_RUNNING";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
64 public static final String START_MONITOR_THREAD = "START_MONITOR_THREAD";
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
65
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
66 // public static final String SSL_TYPE = "TN5250J_SSL_TYPE";
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
67 public static final String SSL_TYPE = "-sslType";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
68 public static final String SSL_TYPE_NONE = "NONE";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
69 public static final String SSL_TYPE_SSLv2 = "SSLv2";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
70 public static final String SSL_TYPE_SSLv3 = "SSLv3";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
71 public static final String SSL_TYPE_TLS = "TLS";
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
72
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
73 public static final String[] SSL_TYPES = {SSL_TYPE_NONE,
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
74 SSL_TYPE_SSLv2,
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
75 SSL_TYPE_SSLv3,
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
76 SSL_TYPE_TLS
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
77 };
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
78
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
79 // Session JUMP Directions
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
80 static final int JUMP_PREVIOUS = 0;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
81 static final int JUMP_NEXT = 1;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
82
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
83 // // OS_OHIO_SESSION_TYPE type of sessions
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
84 // public static final String OS_OHIO_SESSION_TYPE_5250_STR = "2";
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
85
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
86 // SCREEN_SIZE Size of screen string
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
87 public static final String SCREEN_SIZE_24X80_STR = "0";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
88 public static final String SCREEN_SIZE_27X132_STR = "1";
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
89
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
90 // SCREEN_SIZE Size of screen int
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
91 public static final int SCREEN_SIZE_24X80 = 0;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
92 public static final int SCREEN_SIZE_27X132 = 1;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
93
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
94 public static final int NUM_PARMS = 20;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
95
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
96 // mnemonic value constants
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
97 public static final int BACK_SPACE = 1001;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
98 public static final int BACK_TAB = 1002;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
99 public static final int UP = 1003;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
100 public static final int DOWN = 1004;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
101 public static final int LEFT = 1005;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
102 public static final int RIGHT = 1006;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
103 public static final int DELETE = 1007;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
104 public static final int TAB = 1008;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
105 public static final int EOF = 1009;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
106 public static final int ERASE_EOF = 1010;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
107 public static final int ERASE_FIELD = 1011;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
108 public static final int INSERT = 1012;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
109 public static final int HOME = 1013;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
110 public static final int KEYPAD_0 = 1014;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
111 public static final int KEYPAD_1 = 1015;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
112 public static final int KEYPAD_2 = 1016;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
113 public static final int KEYPAD_3 = 1017;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
114 public static final int KEYPAD_4 = 1018;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
115 public static final int KEYPAD_5 = 1019;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
116 public static final int KEYPAD_6 = 1020;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
117 public static final int KEYPAD_7 = 1021;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
118 public static final int KEYPAD_8 = 1022;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
119 public static final int KEYPAD_9 = 1023;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
120 public static final int KEYPAD_PERIOD = 1024;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
121 public static final int KEYPAD_COMMA = 1025;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
122 public static final int KEYPAD_MINUS = 1026;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
123 public static final int FIELD_EXIT = 1027;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
124 public static final int FIELD_PLUS = 1028;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
125 public static final int FIELD_MINUS = 1029;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
126 public static final int BOF = 1030;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
127 public static final int SYSREQ = 1031;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
128 public static final int RESET = 1032;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
129 public static final int NEXTWORD = 1033;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
130 public static final int PREVWORD = 1034;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
131 public static final int COPY = 1035;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
132 public static final int PASTE = 1036;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
133 public static final int ATTN = 1037;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
134 public static final int MARK_UP = 1038;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
135 public static final int MARK_DOWN = 1039;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
136 public static final int MARK_LEFT = 1040;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
137 public static final int MARK_RIGHT = 1041;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
138 public static final int DUP_FIELD = 1042;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
139 public static final int NEW_LINE = 1043;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
140 public static final int JUMP_NEXT_SESS = 5000;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
141 public static final int JUMP_PREV_SESS = 5001;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
142 public static final int OPEN_NEW = 5002;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
143 public static final int TOGGLE_CONNECTION = 5003;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
144 public static final int HOTSPOTS = 5004;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
145 public static final int GUI = 5005;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
146 public static final int DSP_MSGS = 5006;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
147 public static final int DSP_ATTRIBUTES = 5007;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
148 public static final int PRINT_SCREEN = 5008;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
149 public static final int CURSOR = 5009;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
150 public static final int DEBUG = 5010;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
151 public static final int CLOSE = 5011;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
152 public static final int TRANSFER = 5012;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
153 public static final int E_MAIL = 5013;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
154 public static final int RUN_SCRIPT = 5014;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
155 public static final int SPOOL_FILE = 5015;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
156 public static final int QUICK_MAIL = 5016;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
157 public static final int OPEN_SAME = 5017;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
158 public static final int FAST_CURSOR_DOWN = 5018;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
159 public static final int FAST_CURSOR_UP = 5019;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
160 public static final int FAST_CURSOR_RIGHT = 5020;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
161 public static final int FAST_CURSOR_LEFT = 5021;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
162
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
163 // PF Keys
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
164 public static final int PF1 = 0x31;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
165 public static final int PF2 = 0x32;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
166 public static final int PF3 = 0x33;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
167 public static final int PF4 = 0x34;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
168 public static final int PF5 = 0x35;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
169 public static final int PF6 = 0x36;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
170 public static final int PF7 = 0x37;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
171 public static final int PF8 = 0x38;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
172 public static final int PF9 = 0x39;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
173 public static final int PF10 = 0x3A;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
174 public static final int PF11 = 0x3B;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
175 public static final int PF12 = 0x3C;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
176 public static final int PF13 = 0xB1;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
177 public static final int PF14 = 0xB2;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
178 public static final int PF15 = 0xB3;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
179 public static final int PF16 = 0xB4;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
180 public static final int PF17 = 0xB5;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
181 public static final int PF18 = 0xB6;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
182 public static final int PF19 = 0xB7;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
183 public static final int PF20 = 0xB8;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
184 public static final int PF21 = 0xB9;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
185 public static final int PF22 = 0xBA;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
186 public static final int PF23 = 0xBB;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
187 public static final int PF24 = 0xBC;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
188
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
189 public static final HashMap<String, Integer> mnemonicMap = new HashMap<String, Integer>();
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
190 static {
107
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
191 mnemonicMap.put("[backspace]", 1001);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
192 mnemonicMap.put("[backtab]", 1002);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
193 mnemonicMap.put("[up]", 1003);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
194 mnemonicMap.put("[down]", 1004);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
195 mnemonicMap.put("[left]", 1005);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
196 mnemonicMap.put("[right]", 1006);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
197 mnemonicMap.put("[delete]", 1007);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
198 mnemonicMap.put("[tab]", 1008);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
199 mnemonicMap.put("[eof]", 1009);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
200 mnemonicMap.put("[eraseeof]", 1010);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
201 mnemonicMap.put("[erasefld]", 1011);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
202 mnemonicMap.put("[insert]", 1012);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
203 mnemonicMap.put("[home]", 1013);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
204 mnemonicMap.put("[keypad0]", 1014);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
205 mnemonicMap.put("[keypad1]", 1015);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
206 mnemonicMap.put("[keypad2]", 1016);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
207 mnemonicMap.put("[keypad3]", 1017);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
208 mnemonicMap.put("[keypad4]", 1018);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
209 mnemonicMap.put("[keypad5]", 1019);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
210 mnemonicMap.put("[keypad6]", 1020);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
211 mnemonicMap.put("[keypad7]", 1021);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
212 mnemonicMap.put("[keypad8]", 1022);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
213 mnemonicMap.put("[keypad9]", 1023);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
214 mnemonicMap.put("[keypad.]", 1024);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
215 mnemonicMap.put("[keypad,]", 1025);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
216 mnemonicMap.put("[keypad-]", 1026);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
217 mnemonicMap.put("[fldext]", 1027);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
218 mnemonicMap.put("[field+]", 1028);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
219 mnemonicMap.put("[field-]", 1029);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
220 mnemonicMap.put("[bof]", 1030);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
221 mnemonicMap.put("[enter]", 0xF1);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
222 mnemonicMap.put("[pf1]", 0x31);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
223 mnemonicMap.put("[pf2]", 0x32);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
224 mnemonicMap.put("[pf3]", 0x33);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
225 mnemonicMap.put("[pf4]", 0x34);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
226 mnemonicMap.put("[pf5]", 0x35);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
227 mnemonicMap.put("[pf6]", 0x36);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
228 mnemonicMap.put("[pf7]", 0x37);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
229 mnemonicMap.put("[pf8]", 0x38);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
230 mnemonicMap.put("[pf9]", 0x39);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
231 mnemonicMap.put("[pf10]", 0x3A);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
232 mnemonicMap.put("[pf11]", 0x3B);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
233 mnemonicMap.put("[pf12]", 0x3C);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
234 mnemonicMap.put("[pf13]", 0xB1);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
235 mnemonicMap.put("[pf14]", 0xB2);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
236 mnemonicMap.put("[pf15]", 0xB3);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
237 mnemonicMap.put("[pf16]", 0xB4);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
238 mnemonicMap.put("[pf17]", 0xB5);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
239 mnemonicMap.put("[pf18]", 0xB6);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
240 mnemonicMap.put("[pf19]", 0xB7);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
241 mnemonicMap.put("[pf20]", 0xB8);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
242 mnemonicMap.put("[pf21]", 0xB9);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
243 mnemonicMap.put("[pf22]", 0xBA);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
244 mnemonicMap.put("[pf23]", 0xBB);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
245 mnemonicMap.put("[pf24]", 0xBC);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
246 mnemonicMap.put("[clear]", 0xBD);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
247 mnemonicMap.put("[help]", 0xF3);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
248 mnemonicMap.put("[pgup]", 0xF4);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
249 mnemonicMap.put("[pgdown]", 0xF5);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
250 mnemonicMap.put("[rollleft]", 0xD9);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
251 mnemonicMap.put("[rollright]", 0xDA);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
252 mnemonicMap.put("[hostprint]", 0xF6);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
253 mnemonicMap.put("[pa1]", 0x6C);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
254 mnemonicMap.put("[pa2]", 0x6E);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
255 mnemonicMap.put("[pa3]", 0x6B);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
256 mnemonicMap.put("[sysreq]", 1031);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
257 mnemonicMap.put("[reset]", 1032);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
258 mnemonicMap.put("[nextword]", 1033);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
259 mnemonicMap.put("[prevword]", 1034);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
260 mnemonicMap.put("[copy]", 1035);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
261 mnemonicMap.put("[paste]", 1036);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
262 mnemonicMap.put("[attn]", 1037);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
263 mnemonicMap.put("[markup]", 1038);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
264 mnemonicMap.put("[markdown]", 1039);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
265 mnemonicMap.put("[markleft]", 1040);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
266 mnemonicMap.put("[markright]", 1041);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
267 mnemonicMap.put("[dupfield]", 1042);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
268 mnemonicMap.put("[newline]", 1043);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
269 mnemonicMap.put("[jumpnext]", 5000);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
270 mnemonicMap.put("[jumpprev]", 5001);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
271 mnemonicMap.put("[opennew]", 5002);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
272 mnemonicMap.put("[togcon]", 5003);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
273 mnemonicMap.put("[hotspots]", 5004);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
274 mnemonicMap.put("[gui]", 5005);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
275 mnemonicMap.put("[dspmsgs]", 5006);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
276 mnemonicMap.put("[dspattr]", 5007);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
277 mnemonicMap.put("[print]", 5008);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
278 mnemonicMap.put("[cursor]", 5009);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
279 mnemonicMap.put("[debug]", 5010);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
280 mnemonicMap.put("[close]", 5011);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
281 mnemonicMap.put("[transfer]", 5012);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
282 mnemonicMap.put("[e-mail]", 5013);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
283 mnemonicMap.put("[runscript]", 5014);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
284 mnemonicMap.put("[spoolfile]", 5015);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
285 mnemonicMap.put("[quick-mail]", 5016);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
286 mnemonicMap.put("[open-same]", 5017);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
287 mnemonicMap.put("[fastcursordown]", 5018);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
288 mnemonicMap.put("[fastcursorup]", 5019);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
289 mnemonicMap.put("[fastcursorright]", 5020);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
290 mnemonicMap.put("[fastcursorleft]", 5021);
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
291 };
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
292
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
293 public static final String MNEMONIC_CLEAR = "[clear]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
294 public static final String MNEMONIC_ENTER = "[enter]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
295 public static final String MNEMONIC_HELP = "[help]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
296 public static final String MNEMONIC_PAGE_DOWN = "[pgdown]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
297 public static final String MNEMONIC_PAGE_UP = "[pgup]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
298 public static final String MNEMONIC_PRINT = "[hostprint]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
299 public static final String MNEMONIC_PF1 = "[pf1]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
300 public static final String MNEMONIC_PF2 = "[pf2]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
301 public static final String MNEMONIC_PF3 = "[pf3]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
302 public static final String MNEMONIC_PF4 = "[pf4]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
303 public static final String MNEMONIC_PF5 = "[pf5]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
304 public static final String MNEMONIC_PF6 = "[pf6]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
305 public static final String MNEMONIC_PF7 = "[pf7]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
306 public static final String MNEMONIC_PF8 = "[pf8]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
307 public static final String MNEMONIC_PF9 = "[pf9]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
308 public static final String MNEMONIC_PF10 = "[pf10]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
309 public static final String MNEMONIC_PF11 = "[pf11]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
310 public static final String MNEMONIC_PF12 = "[pf12]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
311 public static final String MNEMONIC_PF13 = "[pf13]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
312 public static final String MNEMONIC_PF14 = "[pf14]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
313 public static final String MNEMONIC_PF15 = "[pf15]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
314 public static final String MNEMONIC_PF16 = "[pf16]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
315 public static final String MNEMONIC_PF17 = "[pf17]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
316 public static final String MNEMONIC_PF18 = "[pf18]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
317 public static final String MNEMONIC_PF19 = "[pf19]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
318 public static final String MNEMONIC_PF20 = "[pf20]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
319 public static final String MNEMONIC_PF21 = "[pf21]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
320 public static final String MNEMONIC_PF22 = "[pf22]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
321 public static final String MNEMONIC_PF23 = "[pf23]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
322 public static final String MNEMONIC_PF24 = "[pf24]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
323 public static final String MNEMONIC_BACK_SPACE = "[backspace]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
324 public static final String MNEMONIC_BACK_TAB = "[backtab]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
325 public static final String MNEMONIC_UP = "[up]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
326 public static final String MNEMONIC_DOWN = "[down]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
327 public static final String MNEMONIC_LEFT = "[left]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
328 public static final String MNEMONIC_RIGHT = "[right]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
329 public static final String MNEMONIC_DELETE = "[delete]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
330 public static final String MNEMONIC_TAB = "[tab]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
331 public static final String MNEMONIC_END_OF_FIELD = "[eof]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
332 public static final String MNEMONIC_ERASE_EOF = "[eraseeof]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
333 public static final String MNEMONIC_ERASE_FIELD = "[erasefld]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
334 public static final String MNEMONIC_INSERT = "[insert]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
335 public static final String MNEMONIC_HOME = "[home]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
336 public static final String MNEMONIC_KEYPAD0 = "[keypad0]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
337 public static final String MNEMONIC_KEYPAD1 = "[keypad1]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
338 public static final String MNEMONIC_KEYPAD2 = "[keypad2]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
339 public static final String MNEMONIC_KEYPAD3 = "[keypad3]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
340 public static final String MNEMONIC_KEYPAD4 = "[keypad4]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
341 public static final String MNEMONIC_KEYPAD5 = "[keypad5]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
342 public static final String MNEMONIC_KEYPAD6 = "[keypad6]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
343 public static final String MNEMONIC_KEYPAD7 = "[keypad7]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
344 public static final String MNEMONIC_KEYPAD8 = "[keypad8]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
345 public static final String MNEMONIC_KEYPAD9 = "[keypad9]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
346 public static final String MNEMONIC_KEYPAD_PERIOD = "[keypad.]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
347 public static final String MNEMONIC_KEYPAD_COMMA = "[keypad,]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
348 public static final String MNEMONIC_KEYPAD_MINUS = "[keypad-]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
349 public static final String MNEMONIC_FIELD_EXIT = "[fldext]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
350 public static final String MNEMONIC_FIELD_PLUS = "[field+]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
351 public static final String MNEMONIC_FIELD_MINUS = "[field-]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
352 public static final String MNEMONIC_BEGIN_OF_FIELD = "[bof]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
353 public static final String MNEMONIC_PA1 = "[pa1]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
354 public static final String MNEMONIC_PA2 = "[pa2]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
355 public static final String MNEMONIC_PA3 = "[pa3]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
356 public static final String MNEMONIC_SYSREQ = "[sysreq]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
357 public static final String MNEMONIC_RESET = "[reset]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
358 public static final String MNEMONIC_NEXTWORD = "[nextword]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
359 public static final String MNEMONIC_PREVWORD = "[prevword]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
360 public static final String MNEMONIC_ATTN = "[attn]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
361 public static final String MNEMONIC_MARK_LEFT = "[markleft]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
362 public static final String MNEMONIC_MARK_RIGHT = "[markright]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
363 public static final String MNEMONIC_MARK_UP = "[markup]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
364 public static final String MNEMONIC_MARK_DOWN = "[markdown]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
365 public static final String MNEMONIC_DUP_FIELD = "[dupfield]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
366 public static final String MNEMONIC_NEW_LINE = "[newline]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
367 public static final String MNEMONIC_JUMP_NEXT = "[jumpnext]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
368 public static final String MNEMONIC_JUMP_PREV = "[jumpprev]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
369 public static final String MNEMONIC_OPEN_NEW = "[opennew]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
370 public static final String MNEMONIC_TOGGLE_CONNECTION = "[togcon]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
371 public static final String MNEMONIC_HOTSPOTS = "[hotspots]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
372 public static final String MNEMONIC_GUI = "[gui]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
373 public static final String MNEMONIC_DISP_MESSAGES = "[dspmsgs]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
374 public static final String MNEMONIC_DISP_ATTRIBUTES = "[dspattr]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
375 public static final String MNEMONIC_PRINT_SCREEN = "[print]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
376 public static final String MNEMONIC_CURSOR = "[cursor]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
377 public static final String MNEMONIC_DEBUG = "[debug]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
378 public static final String MNEMONIC_CLOSE = "[close]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
379 public static final String MNEMONIC_E_MAIL = "[e-mail]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
380 public static final String MNEMONIC_COPY = "[copy]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
381 public static final String MNEMONIC_PASTE = "[paste]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
382 public static final String MNEMONIC_FILE_TRANSFER = "[transfer]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
383 public static final String MNEMONIC_RUN_SCRIPT = "[runscript]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
384 public static final String MNEMONIC_SPOOL_FILE = "[spoolfile]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
385 public static final String MNEMONIC_QUICK_MAIL = "[quick-mail]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
386 public static final String MNEMONIC_OPEN_SAME = "[open-same]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
387 public static final String MNEMONIC_FAST_CURSOR_DOWN = "[fastcursordown]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
388 public static final String MNEMONIC_FAST_CURSOR_UP = "[fastcursorup]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
389 public static final String MNEMONIC_FAST_CURSOR_RIGHT = "[fastcursorright]";
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
390 public static final String MNEMONIC_FAST_CURSOR_LEFT = "[fastcursorleft]";
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
391
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
392 // AID-Generating Keys
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
393 public static final int AID_CLEAR = 0xBD;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
394 public static final int AID_ENTER = 0xF1;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
395 public static final int AID_HELP = 0xF3;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
396 public static final int AID_ROLL_UP = 0xF4;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
397 public static final int AID_ROLL_DOWN = 0xF5;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
398 public static final int AID_ROLL_LEFT = 0xD9;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
399 public static final int AID_ROLL_RIGHT = 0xDA;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
400 public static final int AID_PRINT = 0xF6;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
401 public static final int AID_PF1 = 0x31;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
402 public static final int AID_PF2 = 0x32;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
403 public static final int AID_PF3 = 0x33;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
404 public static final int AID_PF4 = 0x34;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
405 public static final int AID_PF5 = 0x35;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
406 public static final int AID_PF6 = 0x36;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
407 public static final int AID_PF7 = 0x37;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
408 public static final int AID_PF8 = 0x38;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
409 public static final int AID_PF9 = 0x39;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
410 public static final int AID_PF10 = 0x3A;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
411 public static final int AID_PF11 = 0x3B;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
412 public static final int AID_PF12 = 0x3C;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
413 public static final int AID_PF13 = 0xB1;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
414 public static final int AID_PF14 = 0xB2;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
415 public static final int AID_PF15 = 0xB3;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
416 public static final int AID_PF16 = 0xB4;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
417 public static final int AID_PF17 = 0xB5;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
418 public static final int AID_PF18 = 0xB6;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
419 public static final int AID_PF19 = 0xB7;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
420 public static final int AID_PF20 = 0xB8;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
421 public static final int AID_PF21 = 0xB9;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
422 public static final int AID_PF22 = 0xBA;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
423 public static final int AID_PF23 = 0xBB;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
424 public static final int AID_PF24 = 0xBC;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
425
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
426 // negative response categories
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
427 public static final int NR_REQUEST_REJECT = 0x08;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
428 public static final int NR_REQUEST_ERROR = 0x10;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
429 public static final int NR_STATE_ERROR = 0x20;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
430 public static final int NR_USAGE_ERROR = 0x40;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
431 public static final int NR_PATH_ERROR = 0x80;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
432
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
433 // commands
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
434 public static final byte CMD_WRITE_TO_DISPLAY = 0x11; // 17
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
435 public static final byte CMD_CLEAR_UNIT = 0x40; // 64
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
436 public static final byte CMD_CLEAR_UNIT_ALTERNATE = 0x20; // 32
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
437 public static final byte CMD_CLEAR_FORMAT_TABLE = 0x50; // 80
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
438 public static final byte CMD_READ_INPUT_FIELDS = 0x42; // 66
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
439 public static final byte CMD_READ_MDT_FIELDS = 0x52; // 82
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
440 public static final byte CMD_READ_MDT_IMMEDIATE_ALT = (byte)0x83; // 131
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
441 // public static final byte CMD_READ_MDT_FIELDS_ALT = (byte)0x82; // 130
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
442 // public static final byte CMD_READ_IMMEDIATE = 0x72; // 114
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
443 public static final byte CMD_READ_SCREEN_IMMEDIATE = 0x62; // 98
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
444 public static final byte CMD_WRITE_STRUCTURED_FIELD = (byte)243; // (byte)0xF3 -13
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
445 public static final byte CMD_SAVE_SCREEN = 0x02; // 02
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
446 public static final byte CMD_RESTORE_SCREEN = 0x12; // 18
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
447 public static final byte CMD_WRITE_ERROR_CODE = 0x21; // 33
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
448 public static final byte CMD_WRITE_ERROR_CODE_TO_WINDOW = 0x22; // 34
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
449 public static final byte CMD_ROLL = 0x23; // 35
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
450 public static final byte CMD_READ_SCREEN_TO_PRINT = (byte)0x66; // 102
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
451
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
452 // PLANES
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
453 public static final int PLANE_TEXT = 1;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
454 public static final int PLANE_COLOR = 2;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
455 public static final int PLANE_FIELD = 3;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
456 public static final int PLANE_EXTENDED = 4;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
457 public static final int PLANE_EXTENDED_GRAPHIC = 5;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
458 public static final int PLANE_EXTENDED_FIELD = 6;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
459 public static final int PLANE_ATTR = 7;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
460 public static final int PLANE_IS_ATTR_PLACE = 8;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
461
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
462 // COLOR_BG
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
463 public static final char COLOR_BG_BLACK = 0;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
464 public static final char COLOR_BG_BLUE = 1;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
465 public static final char COLOR_BG_GREEN = 2;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
466 public static final char COLOR_BG_CYAN = 3;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
467 public static final char COLOR_BG_RED = 4;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
468 public static final char COLOR_BG_MAGENTA = 5;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
469 public static final char COLOR_BG_YELLOW = 6;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
470 public static final char COLOR_BG_WHITE = 7;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
471
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
472 // COLOR_FG
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
473 public static final char COLOR_FG_BLACK = 0;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
474 public static final char COLOR_FG_BLUE = 1;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
475 public static final char COLOR_FG_GREEN = 2;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
476 public static final char COLOR_FG_CYAN = 3;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
477 public static final char COLOR_FG_RED = 4;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
478 public static final char COLOR_FG_MAGENTA = 5;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
479 public static final char COLOR_FG_YELLOW = 6;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
480 public static final char COLOR_FG_WHITE = 7;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
481 public static final char COLOR_FG_GRAY = 8;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
482 public static final char COLOR_FG_LIGHT_BLUE = 9;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
483 public static final char COLOR_FG_LIGHT_GREEN = 0xA;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
484 public static final char COLOR_FG_LIGHT_CYAN = 0xB;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
485 public static final char COLOR_FG_LIGHT_RED = 0xC;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
486 public static final char COLOR_FG_LIGHT_MAGENTA = 0xD;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
487 public static final char COLOR_FG_BROWN = 0xE;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
488 public static final char COLOR_FG_WHITE_HIGH = 0xF;
107
afe6962769b9 use hash map rather than linear search thru arrays
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
489
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
490 public static final int EXTENDED_5250_REVERSE = 0x10;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
491 public static final int EXTENDED_5250_UNDERLINE = 0x08;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
492 public static final int EXTENDED_5250_BLINK = 0x04;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
493 public static final int EXTENDED_5250_COL_SEP = 0x02;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
494 public static final int EXTENDED_5250_NON_DSP = 0x01;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
495
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
496 public static final char ATTR_32 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
497 (COLOR_FG_GREEN & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
498 public static final char ATTR_33 = (COLOR_BG_GREEN << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
499 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
500 public static final char ATTR_34 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
501 (COLOR_FG_WHITE & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
502 public static final char ATTR_35 = (COLOR_BG_WHITE << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
503 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
504 public static final char ATTR_36 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
505 (COLOR_FG_GREEN & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
506 public static final char ATTR_37 = (COLOR_BG_GREEN << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
507 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
508 public static final char ATTR_38 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
509 (COLOR_FG_WHITE & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
510 public static final char ATTR_40 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
511 (COLOR_FG_RED & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
512 public static final char ATTR_41 = (COLOR_BG_RED << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
513 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
514 public static final char ATTR_42 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
515 (COLOR_FG_RED & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
516 public static final char ATTR_43 = (COLOR_BG_RED << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
517 (COLOR_FG_BLACK & 0xff);
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
518
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
519 public static final char ATTR_44 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
520 (COLOR_FG_RED & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
521 public static final char ATTR_45 = (COLOR_BG_RED << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
522 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
523 public static final char ATTR_46 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
524 (COLOR_FG_RED & 0xff);
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
525
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
526 public static final char ATTR_48 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
527 (COLOR_FG_CYAN & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
528 public static final char ATTR_49 = (COLOR_BG_CYAN << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
529 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
530 public static final char ATTR_50 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
531 (COLOR_FG_YELLOW & 0xff);
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
532
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
533 public static final char ATTR_51 = (COLOR_BG_YELLOW << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
534 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
535 public static final char ATTR_52 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
536 (COLOR_FG_CYAN & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
537 public static final char ATTR_53 = (COLOR_BG_CYAN << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
538 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
539 public static final char ATTR_54 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
540 (COLOR_FG_YELLOW & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
541 public static final char ATTR_56 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
542 (COLOR_FG_MAGENTA & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
543 public static final char ATTR_57 = (COLOR_BG_MAGENTA << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
544 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
545 public static final char ATTR_58 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
546 (COLOR_FG_BLUE & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
547 public static final char ATTR_59 = (COLOR_BG_BLUE << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
548 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
549 public static final char ATTR_60 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
550 (COLOR_FG_MAGENTA & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
551 public static final char ATTR_61 = (COLOR_BG_MAGENTA << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
552 (COLOR_FG_BLACK & 0xff);
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
553 public static final char ATTR_62 = (COLOR_BG_BLACK << 8 & 0xff00) |
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
554 (COLOR_FG_BLUE & 0xff);
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
555
112
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
556 public static final int NO_GUI = 0;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
557 public static final int UPPER_LEFT = 1;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
558 public static final int UPPER = 2;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
559 public static final int UPPER_RIGHT = 3;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
560 public static final int GUI_LEFT = 4;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
561 public static final int GUI_RIGHT = 5;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
562 public static final int LOWER_LEFT = 6;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
563 public static final int BOTTOM = 7;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
564 public static final int LOWER_RIGHT = 8;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
565 public static final int FIELD_LEFT = 9;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
566 public static final int FIELD_RIGHT = 10;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
567 public static final int FIELD_MIDDLE = 11;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
568 public static final int FIELD_ONE = 12;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
569 public static final int BUTTON_LEFT = 13;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
570 public static final int BUTTON_RIGHT = 14;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
571 public static final int BUTTON_MIDDLE = 15;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
572 public static final int BUTTON_ONE = 16;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
573 public static final int BUTTON_LEFT_UP = 17;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
574 public static final int BUTTON_RIGHT_UP = 18;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
575 public static final int BUTTON_MIDDLE_UP = 19;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
576 public static final int BUTTON_ONE_UP = 20;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
577 public static final int BUTTON_LEFT_DN = 21;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
578 public static final int BUTTON_RIGHT_DN = 22;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
579 public static final int BUTTON_MIDDLE_DN = 23;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
580 public static final int BUTTON_ONE_DN = 24;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
581 public static final int BUTTON_LEFT_EB = 25;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
582 public static final int BUTTON_RIGHT_EB = 26;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
583 public static final int BUTTON_MIDDLE_EB = 27;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
584 public static final int BUTTON_SB_UP = 28;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
585 public static final int BUTTON_SB_DN = 29;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
586 public static final int BUTTON_SB_GUIDE = 30;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
587 public static final int BUTTON_SB_THUMB = 31;
77ac18bc1b2f cleanup java formatting
Carl Byington <carl@five-ten-sg.com>
parents: 108
diff changeset
588 public static final int BUTTON_LAST = 31;
3
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
589
e8d2a24e85c6 adding tn5250 files
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
590 }