Source Code Cross Referenced for Itcl.java in  » Scripting » jacl » itcl » lang » 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 » Scripting » jacl » itcl.lang 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * ------------------------------------------------------------------------
03:         *      PACKAGE:  [incr Tcl]
04:         *  DESCRIPTION:  Object-Oriented Extensions to Tcl
05:         *
06:         *  [incr Tcl] provides object-oriented extensions to Tcl, much as
07:         *  C++ provides object-oriented extensions to C.  It provides a means
08:         *  of encapsulating related procedures together with their shared data
09:         *  in a local namespace that is hidden from the outside world.  It
10:         *  promotes code re-use through inheritance.  More than anything else,
11:         *  it encourages better organization of Tcl applications through the
12:         *  object-oriented paradigm, leading to code that is easier to
13:         *  understand and maintain.
14:         *  
15:         * ========================================================================
16:         *  AUTHOR:  Michael J. McLennan
17:         *           Bell Labs Innovations for Lucent Technologies
18:         *           mmclennan@lucent.com
19:         *           http://www.tcltk.com/itcl
20:         *
21:         *     RCS:  $Id: Itcl.java,v 1.1 2005/09/11 20:56:57 mdejong Exp $
22:         * ========================================================================
23:         *           Copyright (c) 1993-1998  Lucent Technologies, Inc.
24:         * ------------------------------------------------------------------------
25:         * See the file "license.itcl" for information on usage and redistribution
26:         * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
27:         */
28:
29:        package itcl.lang;
30:
31:        import tcl.lang.*;
32:
33:        import java.util.Stack;
34:
35:        class Itcl {
36:
37:            // Constants: ITCL_MAJOR_VERSION -> Itcl.MAJOR_VERSION
38:
39:            static int MAJOR_VERSION = 3;
40:            static int MINOR_VERSION = 3;
41:            static int RELEASE_LEVEL = 2;
42:            static int RELEASE_SERIAL = 0;
43:
44:            static String VERSION = "3.3";
45:            static String PATCH_LEVEL = "3.3.0";
46:
47:            // Protection levels:
48:            //
49:            // PUBLIC    - accessible from any namespace
50:            // PROTECTED - accessible from namespace that imports in "protected" mode 
51:            // PRIVATE   - accessible only within the namespace that contains it
52:            //
53:
54:            final static int PUBLIC = 1;
55:            final static int PROTECTED = 2;
56:            final static int PRIVATE = 3;
57:            final static int DEFAULT_PROTECT = 4;
58:
59:        } // end class Itcl
60:
61:        class Itcl_Stack {
62:            Stack s = null;
63:        }
64:
65:        //  Generic linked list.
66:
67:        class Itcl_ListElem {
68:            Itcl_List owner; // list containing this element
69:            Object value; // value associated with this element
70:            Itcl_ListElem prev; // previous element in linked list
71:            Itcl_ListElem next; // next element in linked list
72:        }
73:
74:        class Itcl_List {
75:            int validate; // validation stamp
76:            int num; // number of elements
77:            Itcl_ListElem head; // previous element in linked list
78:            Itcl_ListElem tail; // next element in linked list
79:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.