David Thornley 8 лет назад
Родитель
Сommit
32cdb75c82

+ 39
- 0
AccountTest.java Просмотреть файл

@@ -0,0 +1,39 @@
1
+
2
+
3
+import static org.junit.Assert.*;
4
+import org.junit.After;
5
+import org.junit.Before;
6
+import org.junit.Test;
7
+
8
+/**
9
+ * The test class AccountTest.
10
+ *
11
+ * @author  (your name)
12
+ * @version (a version number or a date)
13
+ */
14
+public class AccountTest
15
+{
16
+    Account test = new Account();
17
+    
18
+    @Test
19
+    public void transferTest(){
20
+    //Given:
21
+    test.deposit(1000);
22
+    //Then:
23
+    boolean expected = true;
24
+    boolean actual = test.transfer(test, 999);
25
+    //Assert:
26
+     assertEquals(expected, actual);
27
+    }
28
+    
29
+    @Test
30
+    public void balanceTest(){
31
+     //Given:
32
+     test.deposit(1000);
33
+     //Then:
34
+     int expected = 1000;
35
+     int actual = test.balance();
36
+     //Assert:
37
+     assertEquals(expected, actual);
38
+    }
39
+}

+ 4
- 4
README.md Просмотреть файл

@@ -15,19 +15,19 @@ IF statements. Kind of cool, huh?
15 15
 #### Squares, TriangleOne, & TriangleTwo
16 16
 
17 17
 Dig around and look at how loops are used, even a nested loop or three.
18
-Play around with different parametera to the functions. Run a few.
18
+Play around with different parameters to the functions. Run a few.
19 19
 
20 20
 ### Calendar
21 21
 
22 22
 Look at how the logic allows for various calendar operations. Much of this
23 23
 you can rely on the Java standard library to use, but the ideas here are good to
24
-look at and try to follow. 
24
+look at and try to follow.
25 25
 
26 26
 Run CalendarGraphic, and step through the code used to create the simple window. It uses Java's older AWT library, but does show a little bit of how to display in a window.
27 27
 
28 28
 ### Account
29 29
 
30
-Notice how we create an Account object and subclass it in DepositAccount. 
30
+Notice how we create an Account object and subclass it in DepositAccount.
31 31
 What does the exception do? why does this seem like a good idea?
32 32
 
33 33
 ### TextIO
@@ -37,4 +37,4 @@ IO? Do what you find there.
37 37
 
38 38
 ### Lab Goals
39 39
 
40
-Write tests for many of these classes (leave OUT TextIO). The more you do, the more points you get.
40
+Write tests for many of these classes (leave OUT TextIO). The more you do, the more points you get.

+ 35
- 0
ScrabbleTest.java Просмотреть файл

@@ -0,0 +1,35 @@
1
+
2
+
3
+import static org.junit.Assert.*;
4
+import org.junit.After;
5
+import org.junit.Before;
6
+import org.junit.Test;
7
+
8
+/**
9
+ * The test class ScrabbleTest.
10
+ *
11
+ * @author  (your name)
12
+ * @version (a version number or a date)
13
+ */
14
+public class ScrabbleTest
15
+{
16
+    /**
17
+     * Default constructor for test class ScrabbleTest
18
+     */
19
+    
20
+        Scrabble rabble = new Scrabble();
21
+    @Test
22
+    public void ScoreTest(){
23
+        //given:
24
+        String word = "Zoo";
25
+        
26
+        //then:
27
+        int expected = 12;
28
+        int actual = rabble.score(word);
29
+        
30
+        //assert:
31
+        assertEquals(expected,actual);
32
+    }
33
+}
34
+
35
+

+ 31
- 0
UsesTextIO.java Просмотреть файл

@@ -0,0 +1,31 @@
1
+
2
+/**
3
+ * Write a description of class UsesTextIO here.
4
+ *
5
+ * @author (your name)
6
+ * @version (a version number or a date)
7
+ */
8
+public class UsesTextIO
9
+{
10
+    TextIO text = new TextIO();
11
+    
12
+    /**
13
+     * Constructor for objects of class UsesTextIO
14
+     */
15
+    public UsesTextIO(TextIO t)
16
+    {
17
+        // initialise instance variables
18
+        text = t;
19
+    }
20
+    
21
+    
22
+    
23
+    
24
+    
25
+    public double readDouble(double d){
26
+    return text.readDouble(text.open(("d")));
27
+    }
28
+    
29
+
30
+   
31
+}

+ 234
- 0
doc/DepositAccount.html Просмотреть файл

@@ -0,0 +1,234 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_144) on Tue May 29 20:49:57 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>DepositAccount</title>
8
+<meta name="date" content="2018-05-29">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<script type="text/javascript"><!--
14
+    try {
15
+        if (location.href.indexOf('is-external=true') == -1) {
16
+            parent.document.title="DepositAccount";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
23
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24
+var altColor = "altColor";
25
+var rowColor = "rowColor";
26
+var tableTab = "tableTab";
27
+var activeTableTab = "activeTableTab";
28
+</script>
29
+<noscript>
30
+<div>JavaScript is disabled on your browser.</div>
31
+</noscript>
32
+<!-- ======== START OF CLASS DATA ======== -->
33
+<div class="header">
34
+<h2 title="Class DepositAccount" class="title">Class DepositAccount</h2>
35
+</div>
36
+<div class="contentContainer">
37
+<ul class="inheritance">
38
+<li>java.lang.Object</li>
39
+<li>
40
+<ul class="inheritance">
41
+<li>DepositAccount</li>
42
+</ul>
43
+</li>
44
+</ul>
45
+<div class="description">
46
+<ul class="blockList">
47
+<li class="blockList">
48
+<hr>
49
+<br>
50
+<pre>class <span class="typeNameLabel">DepositAccount</span>
51
+extends java.lang.Object</pre>
52
+</li>
53
+</ul>
54
+</div>
55
+<div class="summary">
56
+<ul class="blockList">
57
+<li class="blockList">
58
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
59
+<ul class="blockList">
60
+<li class="blockList"><a name="constructor.summary">
61
+<!--   -->
62
+</a>
63
+<h3>Constructor Summary</h3>
64
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
65
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
66
+<tr>
67
+<th class="colOne" scope="col">Constructor and Description</th>
68
+</tr>
69
+<tr class="altColor">
70
+<td class="colOne"><code><span class="memberNameLink"><a href="DepositAccount.html#DepositAccount-int-double-">DepositAccount</a></span>(int&nbsp;sum,
71
+              double&nbsp;interest)</code>&nbsp;</td>
72
+</tr>
73
+</table>
74
+</li>
75
+</ul>
76
+<!-- ========== METHOD SUMMARY =========== -->
77
+<ul class="blockList">
78
+<li class="blockList"><a name="method.summary">
79
+<!--   -->
80
+</a>
81
+<h3>Method Summary</h3>
82
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
83
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
84
+<tr>
85
+<th class="colFirst" scope="col">Modifier and Type</th>
86
+<th class="colLast" scope="col">Method and Description</th>
87
+</tr>
88
+<tr id="i0" class="altColor">
89
+<td class="colFirst"><code>int</code></td>
90
+<td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#balance--">balance</a></span>()</code>&nbsp;</td>
91
+</tr>
92
+<tr id="i1" class="rowColor">
93
+<td class="colFirst"><code>void</code></td>
94
+<td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#deposit-int-">deposit</a></span>(int&nbsp;sum)</code>&nbsp;</td>
95
+</tr>
96
+<tr id="i2" class="altColor">
97
+<td class="colFirst"><code>Account</code></td>
98
+<td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#open-int-">open</a></span>(int&nbsp;sum)</code>&nbsp;</td>
99
+</tr>
100
+<tr id="i3" class="rowColor">
101
+<td class="colFirst"><code>void</code></td>
102
+<td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#setInterest-double-">setInterest</a></span>(double&nbsp;newInterest)</code>&nbsp;</td>
103
+</tr>
104
+<tr id="i4" class="altColor">
105
+<td class="colFirst"><code>boolean</code></td>
106
+<td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#transfer-Account-int-">transfer</a></span>(Account&nbsp;acc,
107
+        int&nbsp;sum)</code>&nbsp;</td>
108
+</tr>
109
+<tr id="i5" class="rowColor">
110
+<td class="colFirst"><code>void</code></td>
111
+<td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#update--">update</a></span>()</code>&nbsp;</td>
112
+</tr>
113
+<tr id="i6" class="altColor">
114
+<td class="colFirst"><code>void</code></td>
115
+<td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#withdraw-int-">withdraw</a></span>(int&nbsp;sum)</code>&nbsp;</td>
116
+</tr>
117
+</table>
118
+<ul class="blockList">
119
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
120
+<!--   -->
121
+</a>
122
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
123
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
124
+</ul>
125
+</li>
126
+</ul>
127
+</li>
128
+</ul>
129
+</div>
130
+<div class="details">
131
+<ul class="blockList">
132
+<li class="blockList">
133
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
134
+<ul class="blockList">
135
+<li class="blockList"><a name="constructor.detail">
136
+<!--   -->
137
+</a>
138
+<h3>Constructor Detail</h3>
139
+<a name="DepositAccount-int-double-">
140
+<!--   -->
141
+</a>
142
+<ul class="blockListLast">
143
+<li class="blockList">
144
+<h4>DepositAccount</h4>
145
+<pre>public&nbsp;DepositAccount(int&nbsp;sum,
146
+                      double&nbsp;interest)</pre>
147
+</li>
148
+</ul>
149
+</li>
150
+</ul>
151
+<!-- ============ METHOD DETAIL ========== -->
152
+<ul class="blockList">
153
+<li class="blockList"><a name="method.detail">
154
+<!--   -->
155
+</a>
156
+<h3>Method Detail</h3>
157
+<a name="setInterest-double-">
158
+<!--   -->
159
+</a>
160
+<ul class="blockList">
161
+<li class="blockList">
162
+<h4>setInterest</h4>
163
+<pre>public&nbsp;void&nbsp;setInterest(double&nbsp;newInterest)</pre>
164
+</li>
165
+</ul>
166
+<a name="update--">
167
+<!--   -->
168
+</a>
169
+<ul class="blockList">
170
+<li class="blockList">
171
+<h4>update</h4>
172
+<pre>public&nbsp;void&nbsp;update()</pre>
173
+</li>
174
+</ul>
175
+<a name="withdraw-int-">
176
+<!--   -->
177
+</a>
178
+<ul class="blockList">
179
+<li class="blockList">
180
+<h4>withdraw</h4>
181
+<pre>public&nbsp;void&nbsp;withdraw(int&nbsp;sum)
182
+              throws AccountException</pre>
183
+<dl>
184
+<dt><span class="throwsLabel">Throws:</span></dt>
185
+<dd><code>AccountException</code></dd>
186
+</dl>
187
+</li>
188
+</ul>
189
+<a name="balance--">
190
+<!--   -->
191
+</a>
192
+<ul class="blockList">
193
+<li class="blockList">
194
+<h4>balance</h4>
195
+<pre>public&nbsp;int&nbsp;balance()</pre>
196
+</li>
197
+</ul>
198
+<a name="deposit-int-">
199
+<!--   -->
200
+</a>
201
+<ul class="blockList">
202
+<li class="blockList">
203
+<h4>deposit</h4>
204
+<pre>public&nbsp;void&nbsp;deposit(int&nbsp;sum)</pre>
205
+</li>
206
+</ul>
207
+<a name="open-int-">
208
+<!--   -->
209
+</a>
210
+<ul class="blockList">
211
+<li class="blockList">
212
+<h4>open</h4>
213
+<pre>public&nbsp;Account&nbsp;open(int&nbsp;sum)</pre>
214
+</li>
215
+</ul>
216
+<a name="transfer-Account-int-">
217
+<!--   -->
218
+</a>
219
+<ul class="blockListLast">
220
+<li class="blockList">
221
+<h4>transfer</h4>
222
+<pre>public&nbsp;boolean&nbsp;transfer(Account&nbsp;acc,
223
+                        int&nbsp;sum)</pre>
224
+</li>
225
+</ul>
226
+</li>
227
+</ul>
228
+</li>
229
+</ul>
230
+</div>
231
+</div>
232
+<!-- ========= END OF CLASS DATA ========= -->
233
+</body>
234
+</html>

+ 200
- 0
doc/TriangleOne.html Просмотреть файл

@@ -0,0 +1,200 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_144) on Tue May 29 20:23:40 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>TriangleOne</title>
8
+<meta name="date" content="2018-05-29">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<script type="text/javascript"><!--
14
+    try {
15
+        if (location.href.indexOf('is-external=true') == -1) {
16
+            parent.document.title="TriangleOne";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+var methods = {"i0":10,"i1":10};
23
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24
+var altColor = "altColor";
25
+var rowColor = "rowColor";
26
+var tableTab = "tableTab";
27
+var activeTableTab = "activeTableTab";
28
+</script>
29
+<noscript>
30
+<div>JavaScript is disabled on your browser.</div>
31
+</noscript>
32
+<!-- ======== START OF CLASS DATA ======== -->
33
+<div class="header">
34
+<h2 title="Class TriangleOne" class="title">Class TriangleOne</h2>
35
+</div>
36
+<div class="contentContainer">
37
+<ul class="inheritance">
38
+<li>java.lang.Object</li>
39
+<li>
40
+<ul class="inheritance">
41
+<li>TriangleOne</li>
42
+</ul>
43
+</li>
44
+</ul>
45
+<div class="description">
46
+<ul class="blockList">
47
+<li class="blockList">
48
+<hr>
49
+<br>
50
+<pre>class <span class="typeNameLabel">TriangleOne</span>
51
+extends java.lang.Object</pre>
52
+</li>
53
+</ul>
54
+</div>
55
+<div class="summary">
56
+<ul class="blockList">
57
+<li class="blockList">
58
+<!-- =========== FIELD SUMMARY =========== -->
59
+<ul class="blockList">
60
+<li class="blockList"><a name="field.summary">
61
+<!--   -->
62
+</a>
63
+<h3>Field Summary</h3>
64
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
65
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
66
+<tr>
67
+<th class="colFirst" scope="col">Modifier and Type</th>
68
+<th class="colLast" scope="col">Field and Description</th>
69
+</tr>
70
+<tr class="altColor">
71
+<td class="colFirst"><code>(package private) static int</code></td>
72
+<td class="colLast"><code><span class="memberNameLink"><a href="TriangleOne.html#SIZE">SIZE</a></span></code>&nbsp;</td>
73
+</tr>
74
+</table>
75
+</li>
76
+</ul>
77
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
78
+<ul class="blockList">
79
+<li class="blockList"><a name="constructor.summary">
80
+<!--   -->
81
+</a>
82
+<h3>Constructor Summary</h3>
83
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
84
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
85
+<tr>
86
+<th class="colOne" scope="col">Constructor and Description</th>
87
+</tr>
88
+<tr class="altColor">
89
+<td class="colOne"><code><span class="memberNameLink"><a href="TriangleOne.html#TriangleOne--">TriangleOne</a></span>()</code>&nbsp;</td>
90
+</tr>
91
+</table>
92
+</li>
93
+</ul>
94
+<!-- ========== METHOD SUMMARY =========== -->
95
+<ul class="blockList">
96
+<li class="blockList"><a name="method.summary">
97
+<!--   -->
98
+</a>
99
+<h3>Method Summary</h3>
100
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
101
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
102
+<tr>
103
+<th class="colFirst" scope="col">Modifier and Type</th>
104
+<th class="colLast" scope="col">Method and Description</th>
105
+</tr>
106
+<tr id="i0" class="altColor">
107
+<td class="colFirst"><code>void</code></td>
108
+<td class="colLast"><code><span class="memberNameLink"><a href="TriangleOne.html#display--">display</a></span>()</code>&nbsp;</td>
109
+</tr>
110
+<tr id="i1" class="rowColor">
111
+<td class="colFirst"><code>void</code></td>
112
+<td class="colLast"><code><span class="memberNameLink"><a href="TriangleOne.html#display-int-">display</a></span>(int&nbsp;size)</code>&nbsp;</td>
113
+</tr>
114
+</table>
115
+<ul class="blockList">
116
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
117
+<!--   -->
118
+</a>
119
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
120
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
121
+</ul>
122
+</li>
123
+</ul>
124
+</li>
125
+</ul>
126
+</div>
127
+<div class="details">
128
+<ul class="blockList">
129
+<li class="blockList">
130
+<!-- ============ FIELD DETAIL =========== -->
131
+<ul class="blockList">
132
+<li class="blockList"><a name="field.detail">
133
+<!--   -->
134
+</a>
135
+<h3>Field Detail</h3>
136
+<a name="SIZE">
137
+<!--   -->
138
+</a>
139
+<ul class="blockListLast">
140
+<li class="blockList">
141
+<h4>SIZE</h4>
142
+<pre>static final&nbsp;int SIZE</pre>
143
+<dl>
144
+<dt><span class="seeLabel">See Also:</span></dt>
145
+<dd><a href="constant-values.html#TriangleOne.SIZE">Constant Field Values</a></dd>
146
+</dl>
147
+</li>
148
+</ul>
149
+</li>
150
+</ul>
151
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
152
+<ul class="blockList">
153
+<li class="blockList"><a name="constructor.detail">
154
+<!--   -->
155
+</a>
156
+<h3>Constructor Detail</h3>
157
+<a name="TriangleOne--">
158
+<!--   -->
159
+</a>
160
+<ul class="blockListLast">
161
+<li class="blockList">
162
+<h4>TriangleOne</h4>
163
+<pre>TriangleOne()</pre>
164
+</li>
165
+</ul>
166
+</li>
167
+</ul>
168
+<!-- ============ METHOD DETAIL ========== -->
169
+<ul class="blockList">
170
+<li class="blockList"><a name="method.detail">
171
+<!--   -->
172
+</a>
173
+<h3>Method Detail</h3>
174
+<a name="display--">
175
+<!--   -->
176
+</a>
177
+<ul class="blockList">
178
+<li class="blockList">
179
+<h4>display</h4>
180
+<pre>public&nbsp;void&nbsp;display()</pre>
181
+</li>
182
+</ul>
183
+<a name="display-int-">
184
+<!--   -->
185
+</a>
186
+<ul class="blockListLast">
187
+<li class="blockList">
188
+<h4>display</h4>
189
+<pre>public&nbsp;void&nbsp;display(int&nbsp;size)</pre>
190
+</li>
191
+</ul>
192
+</li>
193
+</ul>
194
+</li>
195
+</ul>
196
+</div>
197
+</div>
198
+<!-- ========= END OF CLASS DATA ========= -->
199
+</body>
200
+</html>

+ 20
- 0
doc/allclasses-frame.html Просмотреть файл

@@ -0,0 +1,20 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_144) on Tue May 29 20:49:57 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>All Classes</title>
8
+<meta name="date" content="2018-05-29">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<h1 class="bar">All&nbsp;Classes</h1>
14
+<div class="indexContainer">
15
+<ul>
16
+<li><a href="DepositAccount.html" title="class in &lt;Unnamed&gt;" target="classFrame">DepositAccount</a></li>
17
+</ul>
18
+</div>
19
+</body>
20
+</html>

+ 20
- 0
doc/allclasses-noframe.html Просмотреть файл

@@ -0,0 +1,20 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_144) on Tue May 29 20:49:57 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>All Classes</title>
8
+<meta name="date" content="2018-05-29">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<h1 class="bar">All&nbsp;Classes</h1>
14
+<div class="indexContainer">
15
+<ul>
16
+<li><a href="DepositAccount.html" title="class in &lt;Unnamed&gt;">DepositAccount</a></li>
17
+</ul>
18
+</div>
19
+</body>
20
+</html>

+ 31
- 0
doc/constant-values.html Просмотреть файл

@@ -0,0 +1,31 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_144) on Tue May 29 20:49:57 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Constant Field Values</title>
8
+<meta name="date" content="2018-05-29">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<script type="text/javascript"><!--
14
+    try {
15
+        if (location.href.indexOf('is-external=true') == -1) {
16
+            parent.document.title="Constant Field Values";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+</script>
23
+<noscript>
24
+<div>JavaScript is disabled on your browser.</div>
25
+</noscript>
26
+<div class="header">
27
+<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
28
+<h2 title="Contents">Contents</h2>
29
+</div>
30
+</body>
31
+</html>

+ 73
- 0
doc/index.html Просмотреть файл

@@ -0,0 +1,73 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_144) on Tue May 29 20:49:57 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Generated Documentation (Untitled)</title>
8
+<script type="text/javascript">
9
+    tmpTargetPage = "" + window.location.search;
10
+    if (tmpTargetPage != "" && tmpTargetPage != "undefined")
11
+        tmpTargetPage = tmpTargetPage.substring(1);
12
+    if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage)))
13
+        tmpTargetPage = "undefined";
14
+    targetPage = tmpTargetPage;
15
+    function validURL(url) {
16
+        try {
17
+            url = decodeURIComponent(url);
18
+        }
19
+        catch (error) {
20
+            return false;
21
+        }
22
+        var pos = url.indexOf(".html");
23
+        if (pos == -1 || pos != url.length - 5)
24
+            return false;
25
+        var allowNumber = false;
26
+        var allowSep = false;
27
+        var seenDot = false;
28
+        for (var i = 0; i < url.length - 5; i++) {
29
+            var ch = url.charAt(i);
30
+            if ('a' <= ch && ch <= 'z' ||
31
+                    'A' <= ch && ch <= 'Z' ||
32
+                    ch == '$' ||
33
+                    ch == '_' ||
34
+                    ch.charCodeAt(0) > 127) {
35
+                allowNumber = true;
36
+                allowSep = true;
37
+            } else if ('0' <= ch && ch <= '9'
38
+                    || ch == '-') {
39
+                if (!allowNumber)
40
+                     return false;
41
+            } else if (ch == '/' || ch == '.') {
42
+                if (!allowSep)
43
+                    return false;
44
+                allowNumber = false;
45
+                allowSep = false;
46
+                if (ch == '.')
47
+                     seenDot = true;
48
+                if (ch == '/' && seenDot)
49
+                     return false;
50
+            } else {
51
+                return false;
52
+            }
53
+        }
54
+        return true;
55
+    }
56
+    function loadFrames() {
57
+        if (targetPage != "" && targetPage != "undefined")
58
+             top.classFrame.location = top.targetPage;
59
+    }
60
+</script>
61
+</head>
62
+<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
63
+<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
64
+<frame src="DepositAccount.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
65
+<noframes>
66
+<noscript>
67
+<div>JavaScript is disabled on your browser.</div>
68
+</noscript>
69
+<h2>Frame Alert</h2>
70
+<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="DepositAccount.html">Non-frame version</a>.</p>
71
+</noframes>
72
+</frameset>
73
+</html>

+ 37
- 0
doc/logfile.txt Просмотреть файл

@@ -0,0 +1,37 @@
1
+Class documentation
2
+<---- javadoc command: ---->
3
+/Applications/BlueJ.app/Contents/JDK/Home/bin/javadoc
4
+-author
5
+-version
6
+-nodeprecated
7
+-package
8
+-Xdoclint:none
9
+-noindex
10
+-notree
11
+-nohelp
12
+-nonavbar
13
+-source
14
+1.8
15
+-classpath
16
+/Applications/BlueJ.app/Contents/Resources/Java/bluejcore.jar:/Applications/BlueJ.app/Contents/Resources/Java/junit-4.11.jar:/Applications/BlueJ.app/Contents/Resources/Java/hamcrest-core-1.3.jar:/Applications/BlueJ.app/Contents/Resources/Java/lang-stride.jar:/Applications/BlueJ.app/Contents/Resources/Java/userlib/pi4j-core.jar:/Applications/BlueJ.app/Contents/Resources/Java/userlib/pi4j-gpio-extension.jar:/Applications/BlueJ.app/Contents/Resources/Java/userlib/pi4j-service.jar:/Applications/BlueJ.app/Contents/Resources/Java/userlib/pi4j-device.jar:/Users/davidT/Labs/ZCW-YeOldeCode
17
+-d
18
+/Users/davidT/Labs/ZCW-YeOldeCode/doc
19
+-encoding
20
+UTF-8
21
+-charset
22
+UTF-8
23
+/Users/davidT/Labs/ZCW-YeOldeCode/DepositAccount.java
24
+<---- end of javadoc command ---->
25
+Loading source file /Users/davidT/Labs/ZCW-YeOldeCode/DepositAccount.java...
26
+Constructing Javadoc information...
27
+Standard Doclet version 1.8.0_144
28
+Building tree for all the packages and classes...
29
+Generating /Users/davidT/Labs/ZCW-YeOldeCode/doc/DepositAccount.html...
30
+Generating /Users/davidT/Labs/ZCW-YeOldeCode/doc/package-frame.html...
31
+Generating /Users/davidT/Labs/ZCW-YeOldeCode/doc/package-summary.html...
32
+Generating /Users/davidT/Labs/ZCW-YeOldeCode/doc/constant-values.html...
33
+Building index for all the packages and classes...
34
+Building index for all classes...
35
+Generating /Users/davidT/Labs/ZCW-YeOldeCode/doc/allclasses-frame.html...
36
+Generating /Users/davidT/Labs/ZCW-YeOldeCode/doc/allclasses-noframe.html...
37
+Generating /Users/davidT/Labs/ZCW-YeOldeCode/doc/index.html...

+ 21
- 0
doc/package-frame.html Просмотреть файл

@@ -0,0 +1,21 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_144) on Tue May 29 20:49:57 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>&lt;Unnamed&gt;</title>
8
+<meta name="date" content="2018-05-29">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<h1 class="bar"><a href="package-summary.html" target="classFrame">&lt;Unnamed&gt;</a></h1>
14
+<div class="indexContainer">
15
+<h2 title="Classes">Classes</h2>
16
+<ul title="Classes">
17
+<li><a href="DepositAccount.html" title="class in &lt;Unnamed&gt;" target="classFrame">DepositAccount</a></li>
18
+</ul>
19
+</div>
20
+</body>
21
+</html>

+ 1
- 0
doc/package-list Просмотреть файл

@@ -0,0 +1 @@
1
+

+ 38
- 0
doc/package-summary.html Просмотреть файл

@@ -0,0 +1,38 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_144) on Tue May 29 20:49:57 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<meta name="date" content="2018-05-29">
8
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
9
+<script type="text/javascript" src="script.js"></script>
10
+</head>
11
+<body>
12
+<noscript>
13
+<div>JavaScript is disabled on your browser.</div>
14
+</noscript>
15
+<div class="header">
16
+<h1 title="Package" class="title">Package&nbsp;&lt;Unnamed&gt;</h1>
17
+</div>
18
+<div class="contentContainer">
19
+<ul class="blockList">
20
+<li class="blockList">
21
+<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
22
+<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
23
+<tr>
24
+<th class="colFirst" scope="col">Class</th>
25
+<th class="colLast" scope="col">Description</th>
26
+</tr>
27
+<tbody>
28
+<tr class="altColor">
29
+<td class="colFirst"><a href="DepositAccount.html" title="class in &lt;Unnamed&gt;">DepositAccount</a></td>
30
+<td class="colLast">&nbsp;</td>
31
+</tr>
32
+</tbody>
33
+</table>
34
+</li>
35
+</ul>
36
+</div>
37
+</body>
38
+</html>

+ 30
- 0
doc/script.js Просмотреть файл

@@ -0,0 +1,30 @@
1
+function show(type)
2
+{
3
+    count = 0;
4
+    for (var key in methods) {
5
+        var row = document.getElementById(key);
6
+        if ((methods[key] &  type) != 0) {
7
+            row.style.display = '';
8
+            row.className = (count++ % 2) ? rowColor : altColor;
9
+        }
10
+        else
11
+            row.style.display = 'none';
12
+    }
13
+    updateTabs(type);
14
+}
15
+
16
+function updateTabs(type)
17
+{
18
+    for (var value in tabs) {
19
+        var sNode = document.getElementById(tabs[value][0]);
20
+        var spanNode = sNode.firstChild;
21
+        if (value == type) {
22
+            sNode.className = activeTableTab;
23
+            spanNode.innerHTML = tabs[value][1];
24
+        }
25
+        else {
26
+            sNode.className = tableTab;
27
+            spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
28
+        }
29
+    }
30
+}

+ 574
- 0
doc/stylesheet.css Просмотреть файл

@@ -0,0 +1,574 @@
1
+/* Javadoc style sheet */
2
+/*
3
+Overall document style
4
+*/
5
+
6
+@import url('resources/fonts/dejavu.css');
7
+
8
+body {
9
+    background-color:#ffffff;
10
+    color:#353833;
11
+    font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
12
+    font-size:14px;
13
+    margin:0;
14
+}
15
+a:link, a:visited {
16
+    text-decoration:none;
17
+    color:#4A6782;
18
+}
19
+a:hover, a:focus {
20
+    text-decoration:none;
21
+    color:#bb7a2a;
22
+}
23
+a:active {
24
+    text-decoration:none;
25
+    color:#4A6782;
26
+}
27
+a[name] {
28
+    color:#353833;
29
+}
30
+a[name]:hover {
31
+    text-decoration:none;
32
+    color:#353833;
33
+}
34
+pre {
35
+    font-family:'DejaVu Sans Mono', monospace;
36
+    font-size:14px;
37
+}
38
+h1 {
39
+    font-size:20px;
40
+}
41
+h2 {
42
+    font-size:18px;
43
+}
44
+h3 {
45
+    font-size:16px;
46
+    font-style:italic;
47
+}
48
+h4 {
49
+    font-size:13px;
50
+}
51
+h5 {
52
+    font-size:12px;
53
+}
54
+h6 {
55
+    font-size:11px;
56
+}
57
+ul {
58
+    list-style-type:disc;
59
+}
60
+code, tt {
61
+    font-family:'DejaVu Sans Mono', monospace;
62
+    font-size:14px;
63
+    padding-top:4px;
64
+    margin-top:8px;
65
+    line-height:1.4em;
66
+}
67
+dt code {
68
+    font-family:'DejaVu Sans Mono', monospace;
69
+    font-size:14px;
70
+    padding-top:4px;
71
+}
72
+table tr td dt code {
73
+    font-family:'DejaVu Sans Mono', monospace;
74
+    font-size:14px;
75
+    vertical-align:top;
76
+    padding-top:4px;
77
+}
78
+sup {
79
+    font-size:8px;
80
+}
81
+/*
82
+Document title and Copyright styles
83
+*/
84
+.clear {
85
+    clear:both;
86
+    height:0px;
87
+    overflow:hidden;
88
+}
89
+.aboutLanguage {
90
+    float:right;
91
+    padding:0px 21px;
92
+    font-size:11px;
93
+    z-index:200;
94
+    margin-top:-9px;
95
+}
96
+.legalCopy {
97
+    margin-left:.5em;
98
+}
99
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
100
+    color:#FFFFFF;
101
+    text-decoration:none;
102
+}
103
+.bar a:hover, .bar a:focus {
104
+    color:#bb7a2a;
105
+}
106
+.tab {
107
+    background-color:#0066FF;
108
+    color:#ffffff;
109
+    padding:8px;
110
+    width:5em;
111
+    font-weight:bold;
112
+}
113
+/*
114
+Navigation bar styles
115
+*/
116
+.bar {
117
+    background-color:#4D7A97;
118
+    color:#FFFFFF;
119
+    padding:.8em .5em .4em .8em;
120
+    height:auto;/*height:1.8em;*/
121
+    font-size:11px;
122
+    margin:0;
123
+}
124
+.topNav {
125
+    background-color:#4D7A97;
126
+    color:#FFFFFF;
127
+    float:left;
128
+    padding:0;
129
+    width:100%;
130
+    clear:right;
131
+    height:2.8em;
132
+    padding-top:10px;
133
+    overflow:hidden;
134
+    font-size:12px; 
135
+}
136
+.bottomNav {
137
+    margin-top:10px;
138
+    background-color:#4D7A97;
139
+    color:#FFFFFF;
140
+    float:left;
141
+    padding:0;
142
+    width:100%;
143
+    clear:right;
144
+    height:2.8em;
145
+    padding-top:10px;
146
+    overflow:hidden;
147
+    font-size:12px;
148
+}
149
+.subNav {
150
+    background-color:#dee3e9;
151
+    float:left;
152
+    width:100%;
153
+    overflow:hidden;
154
+    font-size:12px;
155
+}
156
+.subNav div {
157
+    clear:left;
158
+    float:left;
159
+    padding:0 0 5px 6px;
160
+    text-transform:uppercase;
161
+}
162
+ul.navList, ul.subNavList {
163
+    float:left;
164
+    margin:0 25px 0 0;
165
+    padding:0;
166
+}
167
+ul.navList li{
168
+    list-style:none;
169
+    float:left;
170
+    padding: 5px 6px;
171
+    text-transform:uppercase;
172
+}
173
+ul.subNavList li{
174
+    list-style:none;
175
+    float:left;
176
+}
177
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
178
+    color:#FFFFFF;
179
+    text-decoration:none;
180
+    text-transform:uppercase;
181
+}
182
+.topNav a:hover, .bottomNav a:hover {
183
+    text-decoration:none;
184
+    color:#bb7a2a;
185
+    text-transform:uppercase;
186
+}
187
+.navBarCell1Rev {
188
+    background-color:#F8981D;
189
+    color:#253441;
190
+    margin: auto 5px;
191
+}
192
+.skipNav {
193
+    position:absolute;
194
+    top:auto;
195
+    left:-9999px;
196
+    overflow:hidden;
197
+}
198
+/*
199
+Page header and footer styles
200
+*/
201
+.header, .footer {
202
+    clear:both;
203
+    margin:0 20px;
204
+    padding:5px 0 0 0;
205
+}
206
+.indexHeader {
207
+    margin:10px;
208
+    position:relative;
209
+}
210
+.indexHeader span{
211
+    margin-right:15px;
212
+}
213
+.indexHeader h1 {
214
+    font-size:13px;
215
+}
216
+.title {
217
+    color:#2c4557;
218
+    margin:10px 0;
219
+}
220
+.subTitle {
221
+    margin:5px 0 0 0;
222
+}
223
+.header ul {
224
+    margin:0 0 15px 0;
225
+    padding:0;
226
+}
227
+.footer ul {
228
+    margin:20px 0 5px 0;
229
+}
230
+.header ul li, .footer ul li {
231
+    list-style:none;
232
+    font-size:13px;
233
+}
234
+/*
235
+Heading styles
236
+*/
237
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
238
+    background-color:#dee3e9;
239
+    border:1px solid #d0d9e0;
240
+    margin:0 0 6px -8px;
241
+    padding:7px 5px;
242
+}
243
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
244
+    background-color:#dee3e9;
245
+    border:1px solid #d0d9e0;
246
+    margin:0 0 6px -8px;
247
+    padding:7px 5px;
248
+}
249
+ul.blockList ul.blockList li.blockList h3 {
250
+    padding:0;
251
+    margin:15px 0;
252
+}
253
+ul.blockList li.blockList h2 {
254
+    padding:0px 0 20px 0;
255
+}
256
+/*
257
+Page layout container styles
258
+*/
259
+.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
260
+    clear:both;
261
+    padding:10px 20px;
262
+    position:relative;
263
+}
264
+.indexContainer {
265
+    margin:10px;
266
+    position:relative;
267
+    font-size:12px;
268
+}
269
+.indexContainer h2 {
270
+    font-size:13px;
271
+    padding:0 0 3px 0;
272
+}
273
+.indexContainer ul {
274
+    margin:0;
275
+    padding:0;
276
+}
277
+.indexContainer ul li {
278
+    list-style:none;
279
+    padding-top:2px;
280
+}
281
+.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
282
+    font-size:12px;
283
+    font-weight:bold;
284
+    margin:10px 0 0 0;
285
+    color:#4E4E4E;
286
+}
287
+.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
288
+    margin:5px 0 10px 0px;
289
+    font-size:14px;
290
+    font-family:'DejaVu Sans Mono',monospace;
291
+}
292
+.serializedFormContainer dl.nameValue dt {
293
+    margin-left:1px;
294
+    font-size:1.1em;
295
+    display:inline;
296
+    font-weight:bold;
297
+}
298
+.serializedFormContainer dl.nameValue dd {
299
+    margin:0 0 0 1px;
300
+    font-size:1.1em;
301
+    display:inline;
302
+}
303
+/*
304
+List styles
305
+*/
306
+ul.horizontal li {
307
+    display:inline;
308
+    font-size:0.9em;
309
+}
310
+ul.inheritance {
311
+    margin:0;
312
+    padding:0;
313
+}
314
+ul.inheritance li {
315
+    display:inline;
316
+    list-style:none;
317
+}
318
+ul.inheritance li ul.inheritance {
319
+    margin-left:15px;
320
+    padding-left:15px;
321
+    padding-top:1px;
322
+}
323
+ul.blockList, ul.blockListLast {
324
+    margin:10px 0 10px 0;
325
+    padding:0;
326
+}
327
+ul.blockList li.blockList, ul.blockListLast li.blockList {
328
+    list-style:none;
329
+    margin-bottom:15px;
330
+    line-height:1.4;
331
+}
332
+ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
333
+    padding:0px 20px 5px 10px;
334
+    border:1px solid #ededed; 
335
+    background-color:#f8f8f8;
336
+}
337
+ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
338
+    padding:0 0 5px 8px;
339
+    background-color:#ffffff;
340
+    border:none;
341
+}
342
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
343
+    margin-left:0;
344
+    padding-left:0;
345
+    padding-bottom:15px;
346
+    border:none;
347
+}
348
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
349
+    list-style:none;
350
+    border-bottom:none;
351
+    padding-bottom:0;
352
+}
353
+table tr td dl, table tr td dl dt, table tr td dl dd {
354
+    margin-top:0;
355
+    margin-bottom:1px;
356
+}
357
+/*
358
+Table styles
359
+*/
360
+.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary {
361
+    width:100%;
362
+    border-left:1px solid #EEE; 
363
+    border-right:1px solid #EEE; 
364
+    border-bottom:1px solid #EEE; 
365
+}
366
+.overviewSummary, .memberSummary  {
367
+    padding:0px;
368
+}
369
+.overviewSummary caption, .memberSummary caption, .typeSummary caption,
370
+.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
371
+    position:relative;
372
+    text-align:left;
373
+    background-repeat:no-repeat;
374
+    color:#253441;
375
+    font-weight:bold;
376
+    clear:none;
377
+    overflow:hidden;
378
+    padding:0px;
379
+    padding-top:10px;
380
+    padding-left:1px;
381
+    margin:0px;
382
+    white-space:pre;
383
+}
384
+.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
385
+.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link,
386
+.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
387
+.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
388
+.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
389
+.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active,
390
+.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
391
+.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited {
392
+    color:#FFFFFF;
393
+}
394
+.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
395
+.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {
396
+    white-space:nowrap;
397
+    padding-top:5px;
398
+    padding-left:12px;
399
+    padding-right:12px;
400
+    padding-bottom:7px;
401
+    display:inline-block;
402
+    float:left;
403
+    background-color:#F8981D;
404
+    border: none;
405
+    height:16px;
406
+}
407
+.memberSummary caption span.activeTableTab span {
408
+    white-space:nowrap;
409
+    padding-top:5px;
410
+    padding-left:12px;
411
+    padding-right:12px;
412
+    margin-right:3px;
413
+    display:inline-block;
414
+    float:left;
415
+    background-color:#F8981D;
416
+    height:16px;
417
+}
418
+.memberSummary caption span.tableTab span {
419
+    white-space:nowrap;
420
+    padding-top:5px;
421
+    padding-left:12px;
422
+    padding-right:12px;
423
+    margin-right:3px;
424
+    display:inline-block;
425
+    float:left;
426
+    background-color:#4D7A97;
427
+    height:16px;
428
+}
429
+.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {
430
+    padding-top:0px;
431
+    padding-left:0px;
432
+    padding-right:0px;
433
+    background-image:none;
434
+    float:none;
435
+    display:inline;
436
+}
437
+.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
438
+.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
439
+    display:none;
440
+    width:5px;
441
+    position:relative;
442
+    float:left;
443
+    background-color:#F8981D;
444
+}
445
+.memberSummary .activeTableTab .tabEnd {
446
+    display:none;
447
+    width:5px;
448
+    margin-right:3px;
449
+    position:relative; 
450
+    float:left;
451
+    background-color:#F8981D;
452
+}
453
+.memberSummary .tableTab .tabEnd {
454
+    display:none;
455
+    width:5px;
456
+    margin-right:3px;
457
+    position:relative;
458
+    background-color:#4D7A97;
459
+    float:left;
460
+
461
+}
462
+.overviewSummary td, .memberSummary td, .typeSummary td,
463
+.useSummary td, .constantsSummary td, .deprecatedSummary td {
464
+    text-align:left;
465
+    padding:0px 0px 12px 10px;
466
+}
467
+th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
468
+td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
469
+    vertical-align:top;
470
+    padding-right:0px;
471
+    padding-top:8px;
472
+    padding-bottom:3px;
473
+}
474
+th.colFirst, th.colLast, th.colOne, .constantsSummary th {
475
+    background:#dee3e9;
476
+    text-align:left;
477
+    padding:8px 3px 3px 7px;
478
+}
479
+td.colFirst, th.colFirst {
480
+    white-space:nowrap;
481
+    font-size:13px;
482
+}
483
+td.colLast, th.colLast {
484
+    font-size:13px;
485
+}
486
+td.colOne, th.colOne {
487
+    font-size:13px;
488
+}
489
+.overviewSummary td.colFirst, .overviewSummary th.colFirst,
490
+.useSummary td.colFirst, .useSummary th.colFirst,
491
+.overviewSummary td.colOne, .overviewSummary th.colOne,
492
+.memberSummary td.colFirst, .memberSummary th.colFirst,
493
+.memberSummary td.colOne, .memberSummary th.colOne,
494
+.typeSummary td.colFirst{
495
+    width:25%;
496
+    vertical-align:top;
497
+}
498
+td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
499
+    font-weight:bold;
500
+}
501
+.tableSubHeadingColor {
502
+    background-color:#EEEEFF;
503
+}
504
+.altColor {
505
+    background-color:#FFFFFF;
506
+}
507
+.rowColor {
508
+    background-color:#EEEEEF;
509
+}
510
+/*
511
+Content styles
512
+*/
513
+.description pre {
514
+    margin-top:0;
515
+}
516
+.deprecatedContent {
517
+    margin:0;
518
+    padding:10px 0;
519
+}
520
+.docSummary {
521
+    padding:0;
522
+}
523
+
524
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
525
+    font-style:normal;
526
+}
527
+
528
+div.block {
529
+    font-size:14px;
530
+    font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
531
+}
532
+
533
+td.colLast div {
534
+    padding-top:0px;
535
+}
536
+
537
+
538
+td.colLast a {
539
+    padding-bottom:3px;
540
+}
541
+/*
542
+Formatting effect styles
543
+*/
544
+.sourceLineNo {
545
+    color:green;
546
+    padding:0 30px 0 0;
547
+}
548
+h1.hidden {
549
+    visibility:hidden;
550
+    overflow:hidden;
551
+    font-size:10px;
552
+}
553
+.block {
554
+    display:block;
555
+    margin:3px 10px 2px 0px;
556
+    color:#474747;
557
+}
558
+.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
559
+.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
560
+.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
561
+    font-weight:bold;
562
+}
563
+.deprecationComment, .emphasizedPhrase, .interfaceName {
564
+    font-style:italic;
565
+}
566
+
567
+div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase,
568
+div.block div.block span.interfaceName {
569
+    font-style:normal;
570
+}
571
+
572
+div.contentContainer ul.blockList li.blockList h2{
573
+    padding-bottom:0px;
574
+}

+ 58
- 34
package.bluej Просмотреть файл

@@ -5,22 +5,25 @@ dependency1.type=UsesDependency
5 5
 dependency2.from=DepositAccount
6 6
 dependency2.to=AccountException
7 7
 dependency2.type=UsesDependency
8
-editor.fx.0.height=722
8
+dependency3.from=UsesTextIO
9
+dependency3.to=TextIO
10
+dependency3.type=UsesDependency
11
+editor.fx.0.height=713
9 12
 editor.fx.0.width=800
10 13
 editor.fx.0.x=114
11
-editor.fx.0.y=175
14
+editor.fx.0.y=23
12 15
 objectbench.height=101
13
-objectbench.width=461
16
+objectbench.width=776
14 17
 package.divider.horizontal=0.6
15 18
 package.divider.vertical=0.8007380073800738
16 19
 package.editor.height=427
17 20
 package.editor.width=674
18
-package.editor.x=1006
19
-package.editor.y=133
21
+package.editor.x=190
22
+package.editor.y=105
20 23
 package.frame.height=600
21 24
 package.frame.width=800
22
-package.numDependencies=2
23
-package.numTargets=13
25
+package.numDependencies=3
26
+package.numTargets=16
24 27
 package.showExtends=true
25 28
 package.showUses=true
26 29
 project.charset=UTF-8
@@ -42,48 +45,69 @@ target10.showInterface=false
42 45
 target10.type=ClassTarget
43 46
 target10.width=80
44 47
 target10.x=10
45
-target10.y=250
48
+target10.y=240
46 49
 target11.height=50
47
-target11.name=TriangleTwo
50
+target11.name=DepositAccount
48 51
 target11.showInterface=false
49 52
 target11.type=ClassTarget
50
-target11.width=100
51
-target11.x=120
52
-target11.y=310
53
+target11.width=120
54
+target11.x=170
55
+target11.y=120
53 56
 target12.height=50
54
-target12.name=AccountException
57
+target12.name=TriangleTwo
55 58
 target12.showInterface=false
56 59
 target12.type=ClassTarget
57
-target12.width=140
58
-target12.x=190
59
-target12.y=30
60
+target12.width=100
61
+target12.x=120
62
+target12.y=310
60 63
 target13.height=50
61
-target13.name=DateException
64
+target13.name=AccountException
62 65
 target13.showInterface=false
63 66
 target13.type=ClassTarget
64
-target13.width=120
65
-target13.x=470
66
-target13.y=340
67
+target13.width=140
68
+target13.x=190
69
+target13.y=30
70
+target14.height=50
71
+target14.name=AccountTest
72
+target14.showInterface=false
73
+target14.type=UnitTestTargetJunit4
74
+target14.width=100
75
+target14.x=0
76
+target14.y=80
77
+target15.height=50
78
+target15.name=DateException
79
+target15.showInterface=false
80
+target15.type=ClassTarget
81
+target15.width=120
82
+target15.x=470
83
+target15.y=340
84
+target16.height=50
85
+target16.name=UsesTextIO
86
+target16.showInterface=false
87
+target16.type=ClassTarget
88
+target16.width=100
89
+target16.x=400
90
+target16.y=110
67 91
 target2.height=50
68
-target2.name=Account
92
+target2.name=Calendar1
69 93
 target2.showInterface=false
70 94
 target2.type=ClassTarget
71
-target2.width=80
72
-target2.x=50
73
-target2.y=110
95
+target2.width=90
96
+target2.x=330
97
+target2.y=220
74 98
 target3.height=50
75
-target3.name=Calendar1
99
+target3.name=Account
76 100
 target3.showInterface=false
77 101
 target3.type=ClassTarget
78
-target3.width=90
79
-target3.x=330
80
-target3.y=220
102
+target3.width=80
103
+target3.x=50
104
+target3.y=110
81 105
 target4.height=50
82 106
 target4.name=Squares
83 107
 target4.showInterface=false
84 108
 target4.type=ClassTarget
85 109
 target4.width=80
86
-target4.x=100
110
+target4.x=120
87 111
 target4.y=250
88 112
 target5.height=50
89 113
 target5.name=Calendar
@@ -114,9 +138,9 @@ target8.width=80
114 138
 target8.x=350
115 139
 target8.y=290
116 140
 target9.height=50
117
-target9.name=DepositAccount
141
+target9.name=ScrabbleTest
118 142
 target9.showInterface=false
119
-target9.type=ClassTarget
120
-target9.width=120
121
-target9.x=170
122
-target9.y=120
143
+target9.type=UnitTestTargetJunit4
144
+target9.width=110
145
+target9.x=0
146
+target9.y=200