001: /*
002: * Initial Comment Fold
003: * Created on 15 September 2004, 10:48
004: */
005:
006: package code_folds.JavaFoldsTest;
007:
008: // import section fold
009: import javax.swing.JApplet;
010: import javax.swing.JButton;
011:
012: /**
013: * Outer Class Javadoc Fold
014: * Demonstration of Code Folding functionality file.
015: * @author Martin Roskanin
016: */
017: public class testJavaFolds {
018:
019: /** One Line Field Javadoc Fold*/
020: JButton button;
021:
022: /**
023: * Multi-line Field Favadoc Fold
024: */
025: JApplet applet;
026:
027: /** One-line Constructor Javadoc Fold */
028: public testJavaFolds() {
029: } //One-line Constructor Fold
030:
031: /**
032: * Multi-line Constructor Javadoc Fold
033: */
034: public testJavaFolds(String s) { //Multi-line Constructor Fold
035: button = new JButton();
036: applet = new JApplet();
037: }
038:
039: /** One-line Method Javadoc Fold */
040: public void methodOne() {
041: } // One-line Method Fold
042:
043: /**
044: * Multi-line Method Javadoc Fold
045: */
046: public void methodTwo() { // Multi-line Method Fold
047: System.out.println(""); //NOI18N
048: }
049:
050: public void firstMethod() {
051: }
052:
053: public void secondMethod() {
054: }
055:
056: public void thirdMethod() {
057: }
058:
059: /** One-line InnerClass Javadoc Fold */
060: public static class InnerClassOne {
061: }
062:
063: /**
064: * Multi-line InnerClass Javadoc Fold
065: */
066: public static class InnerClassTwo { //Multi-line InnerClass Fold
067: }
068:
069: public static class InnerClassThree {
070: /** One Line InnerClass Field Javadoc Fold*/
071: JButton button;
072:
073: /**
074: * Multi-line InnerClass Field Favadoc Fold
075: */
076: JApplet applet;
077:
078: /** One-line InnerClass Constructor Javadoc Fold */
079: public InnerClassThree() {
080: } //One-line InnerClass Constructor Fold
081:
082: /**
083: * Multi-line InnerClass Constructor Javadoc Fold
084: */
085: public InnerClassThree(String s) { //Multi-line InnerClass Constructor Fold
086: button = new JButton();
087: applet = new JApplet();
088: }
089:
090: /** One-line InnerClass Method Javadoc Fold */
091: public void methodOne() {
092: } // One-line InnerClass Method Fold
093:
094: /**
095: * Multi-line InnerClass Method Javadoc Fold
096: */
097: public void methodTwo() { // Multi-line InnerClass Method Fold
098: System.out.println(""); //NOI18N
099: }
100:
101: public void firstMethod() {
102: }
103:
104: public void secondMethod() {
105: }
106:
107: public void thirdMethod() {
108: }
109: }
110:
111: public static class InnerClassFour {
112: public InnerClassFour() {
113: }
114:
115: /** One-line InnerClassInInnerClass Javadoc Fold */
116: public static class InnerClassInInnerClassOne {
117: } //One-line InnerClassInInnerClass Fold
118:
119: /**
120: * Multi-line InnerClassInInnerClass Javadoc Fold
121: *
122: */
123: public static class InnerClassInInnerClassTwo { //Multi-line InnerClassInInnerClass Fold
124: /** One Line InnerClassInInnerClass Field Javadoc Fold*/
125: JButton button;
126:
127: /**
128: * Multi-line InnerClassInInnerClass Field Favadoc Fold
129: */
130: JApplet applet;
131:
132: /** One-line InnerClassInInnerClass Constructor Javadoc Fold */
133: public InnerClassInInnerClassTwo() {
134: } //One-line InnerClassInInnerClassTwo Constructor Fold
135:
136: /**
137: * Multi-line InnerClassInInnerClassTwo Constructor Javadoc Fold
138: */
139: public InnerClassInInnerClassTwo(String s) { //Multi-line InnerClassInInnerClass Constructor Fold
140: button = new JButton();
141: applet = new JApplet();
142: }
143:
144: /** One-line InnerClassInInnerClass Method Javadoc Fold */
145: public void methodOne() {
146: } // One-line InnerClassInInnerClass Method Fold
147:
148: /**
149: * Multi-line InnerClassInInnerClass Method Javadoc Fold
150: */
151: public void methodTwo() { // Multi-line InnerClassInInnerClass Method Fold
152: System.out.println(""); //NOI18N
153: }
154:
155: public void firstMethod() {
156: }
157:
158: public void secondMethod() {
159: }
160:
161: public void thirdMethod() {
162: }
163:
164: }
165:
166: }
167:
168: }
|