Source Code Cross Referenced for Constants.java in  » IDE » J » org » armedbear » j » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE » J » org.armedbear.j 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Constants.java
003:         *
004:         * Copyright (C) 2002-2004 Peter Graves
005:         * $Id: Constants.java,v 1.16 2004/08/08 00:54:04 piso Exp $
006:         *
007:         * This program is free software; you can redistribute it and/or
008:         * modify it under the terms of the GNU General Public License
009:         * as published by the Free Software Foundation; either version 2
010:         * of the License, or (at your option) any later version.
011:         *
012:         * This program is distributed in the hope that it will be useful,
013:         * but WITHOUT ANY WARRANTY; without even the implied warranty of
014:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
015:         * GNU General Public License for more details.
016:         *
017:         * You should have received a copy of the GNU General Public License
018:         * along with this program; if not, write to the Free Software
019:         * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
020:         */
021:
022:        package org.armedbear.j;
023:
024:        import java.awt.event.InputEvent;
025:
026:        public interface Constants {
027:            char EOL = '\n';
028:
029:            int COMMAND_NOTHING = 0;
030:            int COMMAND_KILL = 1;
031:            int COMMAND_PASTE = 2;
032:            int COMMAND_PASTE_COMMENT = 3;
033:            int COMMAND_UP = 4;
034:            int COMMAND_DOWN = 5;
035:            int COMMAND_PAGE_UP = 6;
036:            int COMMAND_PAGE_DOWN = 7;
037:            int COMMAND_LEFT = 8;
038:            int COMMAND_RIGHT = 9;
039:            int COMMAND_HOME = 10;
040:            int COMMAND_HOME_HOME = 11;
041:            int COMMAND_END = 12;
042:            int COMMAND_END_END = 13;
043:            int COMMAND_SELECT_HOME = 14;
044:            int COMMAND_SELECT_HOME_HOME = 15;
045:            int COMMAND_SELECT_END = 16;
046:            int COMMAND_SELECT_END_END = 17;
047:            int COMMAND_UNDO = 18;
048:            int COMMAND_EXPAND = 19;
049:            int COMMAND_HISTORY = 20;
050:            int COMMAND_WINDOW_UP = 21;
051:            int COMMAND_WINDOW_DOWN = 22;
052:
053:            int FILETYPE_UNKNOWN = -1;
054:            int FILETYPE_TEXT = 0;
055:            int FILETYPE_XML = 1;
056:            int FILETYPE_SHELLSCRIPT = 2;
057:            int FILETYPE_PERL = 3;
058:            int FILETYPE_PHP = 4;
059:            int FILETYPE_BINARY = 5;
060:            int FILETYPE_ZIP = 6;
061:            int FILETYPE_GZIP = 7;
062:            int FILETYPE_WORD = 8;
063:            int FILETYPE_JPEG = 9;
064:
065:            int COMPRESSION_NONE = 0;
066:            int COMPRESSION_ZIP = 1;
067:            int COMPRESSION_GZIP = 2;
068:
069:            int LANGUAGE_JAVA = 0;
070:            int LANGUAGE_JAVASCRIPT = 1;
071:            int LANGUAGE_C = 2;
072:            int LANGUAGE_CPP = 3;
073:            int LANGUAGE_OBJC = 4;
074:
075:            int LOAD_COMPLETED = 1;
076:            int LOAD_PENDING = 2;
077:            int LOAD_FAILED = 3;
078:
079:            // LocalTag types.
080:            int TAG_UNKNOWN = 0;
081:            int TAG_INTERFACE = 1;
082:            int TAG_CLASS = 2;
083:            int TAG_METHOD = 3;
084:            int TAG_FIELD = 4;
085:            int TAG_EXTENDS = 5;
086:            int TAG_IMPLEMENTS = 6;
087:            int TAG_EXPLICIT = 7;
088:
089:            int TAG_FUNCTION = TAG_METHOD;
090:
091:            // Additional LocalTag types for Lisp.
092:            int TAG_CONSTANT = 8;
093:            int TAG_CONDITION = 9;
094:            int TAG_DEFUN = 10;
095:            int TAG_GENERIC_FUNCTION = 11;
096:            int TAG_MACRO = 12;
097:            int TAG_PARAMETER = 13;
098:            int TAG_STRUCT = 14;
099:            int TAG_TYPE = 15;
100:            int TAG_VAR = 16;
101:
102:            // Visibility values (stored in LocalTag flags field).
103:            int TAG_PUBLIC = 0x0001;
104:            int TAG_PROTECTED = 0x0002;
105:            int TAG_PRIVATE = 0x0004;
106:
107:            int TAG_VISIBILITY_MASK = 0x0007;
108:
109:            // Version control.
110:            int VC_CVS = 1;
111:            int VC_P4 = 2;
112:
113:            String CHECK_SAVE_PROMPT = "Buffer is modified; save it first?";
114:
115:            // The following values are arbitrary and must not conflict with any
116:            // VK_ values defined by Sun!
117:            int VK_MOUSE_1 = 0xe001;
118:            int VK_DOUBLE_MOUSE_1 = 0xe002;
119:            int VK_MOUSE_2 = 0xe003;
120:            int VK_DOUBLE_MOUSE_2 = 0xe004;
121:            int VK_MOUSE_3 = 0xe005;
122:            int VK_DOUBLE_MOUSE_3 = 0xe006;
123:
124:            // Buffer list bits are in high word.
125:            int SIDEBAR_BUFFER_LIST_CHANGED = 0x0100;
126:            int SIDEBAR_REPAINT_BUFFER_LIST = 0x0200;
127:            int SIDEBAR_SET_BUFFER = 0x0400;
128:            int SIDEBAR_MODIFIED_BUFFER_COUNT = 0x0800;
129:
130:            // Navigation component bits are in low word.
131:            int SIDEBAR_POSITION = 0x0001;
132:
133:            int SIDEBAR_ALL = 0xffff;
134:            int SIDEBAR_BUFFER_LIST_ALL = 0xff00; // High word.
135:            int SIDEBAR_NAVIGATION_COMPONENT_ALL = 0x00ff; // Low word.
136:
137:            // Display update flag bits.
138:            int REFRAME = 0x0001;
139:            int REPAINT = 0x0002; // Full repaint.
140:
141:            // Modes.
142:            int ARCHIVE_MODE = 1;
143:            String ARCHIVE_MODE_NAME = "Archive";
144:            int ASM_MODE = 2;
145:            String ASM_MODE_NAME = "Assembly";
146:            int AUTOCONF_MODE = 3;
147:            String AUTOCONF_MODE_NAME = "Autoconf";
148:            int BEANSHELL_MODE = 4;
149:            String BEANSHELL_MODE_NAME = "BeanShell";
150:            int BINARY_MODE = 5;
151:            String BINARY_MODE_NAME = "Binary";
152:            int CHECKIN_MODE = 6;
153:            String CHECKIN_MODE_NAME = "Checkin";
154:            int COMPILATION_MODE = 7;
155:            String COMPILATION_MODE_NAME = "Compilation";
156:            int CPP_MODE = 8;
157:            String CPP_MODE_NAME = "C++";
158:            int CSS_MODE = 9;
159:            String CSS_MODE_NAME = "CSS";
160:            int C_MODE = 10;
161:            String C_MODE_NAME = "C";
162:            int DIFF_MODE = 11;
163:            String DIFF_MODE_NAME = "Diff";
164:            int DIRECTORY_MODE = 12;
165:            String DIRECTORY_MODE_NAME = "Directory";
166:            int HTML_MODE = 13;
167:            String HTML_MODE_NAME = "HTML";
168:            int IMAGE_MODE = 14;
169:            String IMAGE_MODE_NAME = "Image";
170:            int JAVASCRIPT_MODE = 15;
171:            String JAVASCRIPT_MODE_NAME = "JavaScript";
172:            int JAVA_MODE = 16;
173:            String JAVA_MODE_NAME = "Java";
174:            int JDB_MODE = 17;
175:            String JDB_MODE_NAME = "JDB";
176:            int LISP_MODE = 18;
177:            String LISP_MODE_NAME = "Lisp";
178:            int LISP_SHELL_MODE = 19;
179:            String LISP_SHELL_MODE_NAME = "Lisp Shell";
180:            int LIST_OCCURRENCES_MODE = 20;
181:            String LIST_OCCURRENCES_MODE_NAME = "List Occurrences";
182:            int LIST_REGISTERS_MODE = 21;
183:            String LIST_REGISTERS_MODE_NAME = "List Registers";
184:            int LIST_TAGS_MODE = 22;
185:            String LIST_TAGS_MODE_NAME = "List Tags";
186:            int MAILBOX_MODE = 23;
187:            String MAILBOX_MODE_NAME = "Mailbox";
188:            int MAKEFILE_MODE = 24;
189:            String MAKEFILE_MODE_NAME = "Makefile";
190:            int MAN_MODE = 25;
191:            String MAN_MODE_NAME = "Man";
192:            int MESSAGE_MODE = 26;
193:            String MESSAGE_MODE_NAME = "Message";
194:            int NEWS_GROUPS_MODE = 27;
195:            String NEWS_GROUPS_MODE_NAME = "Groups";
196:            int NEWS_GROUP_SUMMARY_MODE = 28;
197:            String NEWS_GROUP_SUMMARY_MODE_NAME = "Summary";
198:            int OBJC_MODE = 29;
199:            String OBJC_MODE_NAME = "Objective C";
200:            int PERL_MODE = 30;
201:            String PERL_MODE_NAME = "Perl";
202:            int PHP_MODE = 31;
203:            String PHP_MODE_NAME = "PHP";
204:            int PLAIN_TEXT_MODE = 32;
205:            String PLAIN_TEXT_MODE_NAME = "Plain Text";
206:            int PROPERTIES_MODE = 33;
207:            String PROPERTIES_MODE_NAME = "Properties";
208:            int PYTHON_MODE = 34;
209:            String PYTHON_MODE_NAME = "Python";
210:            int RUBY_MODE = 35;
211:            String RUBY_MODE_NAME = "Ruby";
212:            int SCHEME_MODE = 36;
213:            String SCHEME_MODE_NAME = "Scheme";
214:            int SEND_MAIL_MODE = 37;
215:            String SEND_MAIL_MODE_NAME = "Send Mail";
216:            int SHELL_MODE = 38;
217:            String SHELL_MODE_NAME = "Shell";
218:            int SHELL_SCRIPT_MODE = 39;
219:            String SHELL_SCRIPT_MODE_NAME = "Shell-script";
220:            int TCL_MODE = 40;
221:            String TCL_MODE_NAME = "Tcl";
222:            int VERILOG_MODE = 41;
223:            String VERILOG_MODE_NAME = "Verilog";
224:            int VHDL_MODE = 42;
225:            String VHDL_MODE_NAME = "VHDL";
226:            int WEB_MODE = 43;
227:            String WEB_MODE_NAME = "Web";
228:            int WORD_MODE = 44;
229:            String WORD_MODE_NAME = "Word";
230:            int XML_MODE = 45;
231:            String XML_MODE_NAME = "XML";
232:
233:            int SUCCESS = 0;
234:            int ERROR = -1;
235:            int CANCELLED = 1;
236:
237:            int SHIFT_MASK = InputEvent.SHIFT_MASK;
238:            int CTRL_MASK = InputEvent.CTRL_MASK;
239:            int ALT_MASK = InputEvent.ALT_MASK;
240:            int META_MASK = InputEvent.META_MASK;
241:
242:            int RESPONSE_YES = 0;
243:            int RESPONSE_NO = 1;
244:            int RESPONSE_YES_TO_ALL = 2;
245:            int RESPONSE_CANCEL = 4;
246:
247:            // States for Formatter.parseBuffer(). May be stored in the line flags.
248:            int STATE_NEUTRAL = 0;
249:            int STATE_COMMENT = 1;
250:            int STATE_QUOTE = 2;
251:            int STATE_SINGLEQUOTE = 3;
252:            int STATE_IDENTIFIER = 4;
253:            int STATE_TAG = 5;
254:            int STATE_SCRIPT = 6;
255:            int STATE_SCRIPT_TAG = 7;
256:            int STATE_HTML_COMMENT = 8;
257:            int STATE_OPERATOR = 9;
258:            int STATE_BRACE = 10;
259:            int STATE_NUMBER = 11;
260:            int STATE_HEXNUMBER = 12;
261:            int STATE_PREPROCESSOR = 13;
262:            int STATE_DISABLED = 14;
263:            int STATE_FUNCTION = 15;
264:            int STATE_INPUT = 16;
265:            int STATE_OUTPUT = 17;
266:            int STATE_PROMPT = 18;
267:            int STATE_PASSWORD_PROMPT = 19;
268:            int STATE_CDATA = 20;
269:
270:            int STATE_LAST = 20;
271:
272:            String DEFAULT_SHELL_PROMPT_PATTERN = "^[^#$%>\\*]*[#$%>\\*] *|^: *";
273:
274:            String EXPLICIT_FOLD_START = "{{{";
275:            String EXPLICIT_FOLD_END = "}}}";
276:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.