Source code: com/gui/JspmEvtConstants.java
1 /*-----------------------------------------------------------------------------------------------------*/
2 /* */
3 /* Copyright (C) */
4 /* */
5 /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU */
6 /* General Public License as published by the Free Software Foundation; either version 2 of the */
7 /* License, or (at your option) any later version. */
8 /* */
9 /* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; */
10 /* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR */
11 /* PURPOSE. See the GNU General Public License for more details. */
12 /* */
13 /* You should have received a copy of the GNU General Public License along with this program; if */
14 /* not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA */
15 /* 02111-1307 USA */
16 /* */
17 /*-----------------------------------------------------------------------------------------------------*/
18 /* */
19 /* Author: Steve Randall (strand012001@yahoo.com) */
20 /* Version: 0.0.1 */
21 /* Date: 11/09/2001 */
22 /* */
23 /*-----------------------------------------------------------------------------------------------------*/
24
25 package com.gui;
26
27 /*
28 * Java classes
29 */
30 import java.awt.*;
31 import java.util.*;
32
33 /**
34 * This class implemenets the constants used throughout Jspm
35 *
36 * @author Steve Randall (strand012001@yahoo.com)
37 * @version 0.0.1
38 * @date 11/09/2001
39 */
40 public class JspmEvtConstants
41 {
42 /*
43 * Version
44 */
45 public static final String VERSION = "v0.0.1";
46
47 /*
48 * The directory containing the help files
49 */
50 public static final String HELP_DIR = JspmConstants.JSPM_HOME+"/evt/help";
51
52 /*
53 * Event management constants
54 */
55 public static final int JSPMEVT_TRAP = 1;
56 public static final int JSPMEVT_WTOC = 2;
57 public static final int JSPMEVT_POLL = 3;
58
59 /*
60 * Color tables
61 */
62 public static final Color[] color = {
63 Color.white, Color.black, Color.red, Color.green, Color.blue, Color.yellow, Color.orange,
64 Color.gray, Color.lightGray, Color.darkGray, Color.cyan, Color.pink,
65 Color.magenta
66 };
67
68 /*
69 * Action constants
70 */
71 public final static int ACT_NONE = 0;
72 public final static int ACT_HILITE = 1;
73 public final static int ACT_DELHILITE = 2;
74 public final static int ACT_SENDKEEP = 3;
75 public final static int ACT_DELKEEP = 4;
76 public final static int ACT_FORWARD = 5;
77 public final static int ACT_COMMAND = 6;
78 public final static int ACT_ACK = 7;
79 public final static int ACT_DISCARD = 8;
80 public final static int ACT_FORMAT = 9;
81 public final static int ACT_EXTERNAL = 10;
82
83 /*
84 * Attrribute constants
85 */
86 public final static int ATTR_NONE = 0;
87 public final static int ATTR_INVERSE = 1;
88 public final static int ATTR_BLINK = 2;
89 }
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112