Kr Younger před 6 roky
rodič
revize
ea0ee23922

+ 25
- 0
.gitignore Zobrazit soubor

@@ -0,0 +1,25 @@
1
+# ---> Java
2
+# Compiled class file
3
+*.class
4
+
5
+# Log file
6
+*.log
7
+
8
+# BlueJ files
9
+*.ctxt
10
+
11
+# Mobile Tools for Java (J2ME)
12
+.mtj.tmp/
13
+
14
+# Package Files #
15
+*.jar
16
+*.war
17
+*.ear
18
+*.zip
19
+*.tar.gz
20
+*.rar
21
+
22
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23
+hs_err_pid*
24
+
25
+.DS_Store

+ 42
- 0
Address.java Zobrazit soubor

@@ -0,0 +1,42 @@
1
+/**
2
+ * Class Address - used to store address details for a post address
3
+ * 
4
+ * @author  Michael Kölling
5
+ * @version 1.0, January 1999
6
+ */
7
+public class Address
8
+{
9
+    private String street;
10
+    private String town;
11
+    private String postCode;
12
+    private String country;
13
+
14
+    /**
15
+     * Construct an Address without country
16
+     */
17
+    public Address(String street, String town, String postCode)
18
+    {
19
+        this(street, town, postCode, "");
20
+    }
21
+
22
+    /**
23
+     * Construct an Address with full details
24
+     */
25
+    public Address(String street, String town, String postCode, String country)
26
+    {
27
+        this.street = street;
28
+        this.town = town;
29
+        this.postCode = postCode;
30
+        this.country = country;
31
+    }
32
+
33
+    /**
34
+     * Return a string representation of this object.
35
+     */
36
+    public String toString()
37
+    {
38
+        return street + "\n" +
39
+               town + " " + postCode + "\n" +
40
+               country + "\n";
41
+    }
42
+}

+ 43
- 0
Database.java Zobrazit soubor

@@ -0,0 +1,43 @@
1
+import java.util.ArrayList;
2
+import java.util.Iterator;
3
+
4
+/**
5
+ * A very simple database of people in a university. This class simply stores
6
+ * persons and, at request, lists them on standard output.
7
+ *
8
+ * Written as a first demo program for BlueJ.
9
+ *
10
+ * @author  Michael Kölling
11
+ * @version 1.1, March 2002
12
+ */
13
+
14
+public class Database {
15
+
16
+    private ArrayList<Person> persons;
17
+
18
+    /**
19
+     * Create a new, empty person database.
20
+     */
21
+    public Database() 
22
+    {
23
+        persons = new ArrayList<Person>();
24
+    }
25
+
26
+    /**
27
+     * Add a person to the database.
28
+     */
29
+    public void addPerson(Person p) 
30
+    {
31
+        persons.add(p);
32
+    }
33
+
34
+    /**
35
+     * List all the persons currently in the database on standard out.
36
+     */
37
+    public void listAll () 
38
+    {
39
+        for (Iterator i = persons.iterator(); i.hasNext();) {
40
+            System.out.println(i.next());
41
+        }
42
+    }
43
+}

+ 80
- 0
Person.java Zobrazit soubor

@@ -0,0 +1,80 @@
1
+/**
2
+ * A person class for a simple BlueJ demo program. Person is used as
3
+ * an abstract superclass of more specific person classes.
4
+ *
5
+ * @author  Michael Kölling
6
+ * @version 1.0, January 1999
7
+ */
8
+
9
+abstract class Person
10
+{
11
+    private String name;
12
+    private int yearOfBirth;
13
+    private Address address;
14
+
15
+    /**
16
+     * Create a person with given name and age.
17
+     */
18
+    Person(String name, int yearOfBirth)
19
+    {
20
+        this.name = name;
21
+        this.yearOfBirth = yearOfBirth;
22
+    }
23
+
24
+    /**
25
+     * Set a new name for this person.
26
+     */
27
+    public void setName(String newName)
28
+    {
29
+        name = newName;
30
+    }
31
+
32
+    /**
33
+     * Return the name of this person.
34
+     */
35
+    public String getName()
36
+    {
37
+        return name;
38
+    }
39
+    
40
+    /**
41
+     * Set a new birth year for this person.
42
+     */
43
+    public void setYearOfBirth(int newYearOfBirth)
44
+    {
45
+        yearOfBirth = newYearOfBirth;
46
+    }
47
+
48
+    /**
49
+     * Return the birth year of this person.
50
+     */
51
+    public int getYearOfBirth()
52
+    {
53
+        return yearOfBirth;
54
+    }
55
+
56
+    /**
57
+     * Set a new address for this person.
58
+     */
59
+    public void setAddress(String street, String town, String postCode)
60
+    {
61
+        address = new Address(street, town, postCode);
62
+    }
63
+
64
+    /**
65
+     * Return the address of this person.
66
+     */
67
+    public Address getAddress()
68
+    {
69
+        return address;
70
+    }
71
+
72
+    /**
73
+     * Return a string representation of this object.
74
+     */
75
+    public String toString()    // redefined from "Object"
76
+    {
77
+        return "Name: " + name + "\n" +
78
+               "Year of birth: " + yearOfBirth + "\n";
79
+    }
80
+}

+ 13
- 0
README.TXT Zobrazit soubor

@@ -0,0 +1,13 @@
1
+BlueJ example project "people2"
2
+
3
+Copyright (c) Michael Kölling, Monash University, 1999-2000
4
+
5
+This is a very simple BlueJ demo project. It illustrates some aspects of
6
+object-orientation as well as aspects of BlueJ.
7
+
8
+This project is an extension of "people". It is identical to "people"
9
+except for the addition of an "Address" class and an address attribute
10
+in Person.
11
+
12
+This project may be used to study object creation and method calls from
13
+within other object (non-interactive).

+ 58
- 0
Staff.java Zobrazit soubor

@@ -0,0 +1,58 @@
1
+/**
2
+ * A class representing staff members for a simple BlueJ demo program.
3
+ *
4
+ * @author  Michael Kölling
5
+ * @version 1.0, January 1999
6
+ */
7
+
8
+class Staff extends Person
9
+{
10
+    private String room;
11
+
12
+    /**
13
+     * Create a staff member with default settings for detail information.
14
+     */
15
+    Staff()
16
+    {
17
+        super("(unknown name)", 0000);
18
+        room = "(unknown room)";
19
+    }
20
+
21
+    /**
22
+     * Create a staff member with given name, year of birth and room
23
+     * number.
24
+     */
25
+    Staff(String name, int yearOfBirth, String roomNumber)
26
+    {
27
+        super(name, yearOfBirth);
28
+        room = roomNumber;
29
+    }
30
+
31
+    /**
32
+     * Set a new room number for this person.
33
+     */
34
+    public void setRoom(String newRoom)
35
+    {
36
+        room = newRoom;
37
+    }
38
+
39
+    /**
40
+     * Return the room number of this person.
41
+     */
42
+    public String getRoom()
43
+    {
44
+        return room;
45
+    }
46
+
47
+    /**
48
+     * Return a string representation of this object.
49
+     */
50
+    public String toString()    // redefined from "Person"
51
+    {
52
+        return super.toString() +
53
+               "Staff member\n" +
54
+               "Room: " + room + "\n";
55
+    }
56
+
57
+}
58
+

+ 47
- 0
Student.java Zobrazit soubor

@@ -0,0 +1,47 @@
1
+/**
2
+ * A class representing students for a simple BlueJ demo program.
3
+ *
4
+ * @author  Michael Kölling
5
+ * @version 1.0, January 1999
6
+ */
7
+class Student extends Person
8
+{
9
+    private String SID;    // student ID number
10
+
11
+    /**
12
+     * Create a student with default settings for detail information.
13
+     */
14
+    public Student()
15
+    {
16
+        super("(unknown name)", 0000);
17
+        SID = "(unknown ID)";
18
+    }
19
+
20
+    /**
21
+     * Create a student with given name, year of birth and student ID
22
+     */
23
+    public Student(String name, int yearOfBirth, String studentID)
24
+    {
25
+        super(name, yearOfBirth);
26
+        SID = studentID;
27
+    }
28
+
29
+    /**
30
+     * Return the stident ID of this student.
31
+     */
32
+    public String getStudentID()
33
+    {
34
+        return SID;
35
+    }
36
+
37
+    /**
38
+     * Return a string representation of this object.
39
+     */
40
+    public String toString()    // redefined from "Person"
41
+    {
42
+        return super.toString() +
43
+               "Student\n" +
44
+               "Student ID: " + SID + "\n";
45
+    }
46
+}
47
+

+ 307
- 0
doc/Address.html Zobrazit soubor

@@ -0,0 +1,307 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Address (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="Address (people2)";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+var methods = {"i0":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 TOP NAVBAR ======= -->
33
+<div class="topNav"><a name="navbar.top">
34
+<!--   -->
35
+</a>
36
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37
+<a name="navbar.top.firstrow">
38
+<!--   -->
39
+</a>
40
+<ul class="navList" title="Navigation">
41
+<li><a href="package-summary.html">Package</a></li>
42
+<li class="navBarCell1Rev">Class</li>
43
+<li><a href="package-tree.html">Tree</a></li>
44
+<li><a href="index-all.html">Index</a></li>
45
+<li><a href="help-doc.html">Help</a></li>
46
+</ul>
47
+</div>
48
+<div class="subNav">
49
+<ul class="navList">
50
+<li>Prev&nbsp;Class</li>
51
+<li><a href="Database.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
52
+</ul>
53
+<ul class="navList">
54
+<li><a href="index.html?Address.html" target="_top">Frames</a></li>
55
+<li><a href="Address.html" target="_top">No&nbsp;Frames</a></li>
56
+</ul>
57
+<ul class="navList" id="allclasses_navbar_top">
58
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
59
+</ul>
60
+<div>
61
+<script type="text/javascript"><!--
62
+  allClassesLink = document.getElementById("allclasses_navbar_top");
63
+  if(window==top) {
64
+    allClassesLink.style.display = "block";
65
+  }
66
+  else {
67
+    allClassesLink.style.display = "none";
68
+  }
69
+  //-->
70
+</script>
71
+</div>
72
+<div>
73
+<ul class="subNavList">
74
+<li>Summary:&nbsp;</li>
75
+<li>Nested&nbsp;|&nbsp;</li>
76
+<li>Field&nbsp;|&nbsp;</li>
77
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
78
+<li><a href="#method.summary">Method</a></li>
79
+</ul>
80
+<ul class="subNavList">
81
+<li>Detail:&nbsp;</li>
82
+<li>Field&nbsp;|&nbsp;</li>
83
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
84
+<li><a href="#method.detail">Method</a></li>
85
+</ul>
86
+</div>
87
+<a name="skip.navbar.top">
88
+<!--   -->
89
+</a></div>
90
+<!-- ========= END OF TOP NAVBAR ========= -->
91
+<!-- ======== START OF CLASS DATA ======== -->
92
+<div class="header">
93
+<h2 title="Class Address" class="title">Class Address</h2>
94
+</div>
95
+<div class="contentContainer">
96
+<ul class="inheritance">
97
+<li>java.lang.Object</li>
98
+<li>
99
+<ul class="inheritance">
100
+<li>Address</li>
101
+</ul>
102
+</li>
103
+</ul>
104
+<div class="description">
105
+<ul class="blockList">
106
+<li class="blockList">
107
+<hr>
108
+<br>
109
+<pre>public class <span class="typeNameLabel">Address</span>
110
+extends java.lang.Object</pre>
111
+<div class="block">Class Address - used to store address details for a post address</div>
112
+<dl>
113
+<dt><span class="simpleTagLabel">Version:</span></dt>
114
+<dd>1.0, January 1999</dd>
115
+<dt><span class="simpleTagLabel">Author:</span></dt>
116
+<dd>Michael Kölling</dd>
117
+</dl>
118
+</li>
119
+</ul>
120
+</div>
121
+<div class="summary">
122
+<ul class="blockList">
123
+<li class="blockList">
124
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
125
+<ul class="blockList">
126
+<li class="blockList"><a name="constructor.summary">
127
+<!--   -->
128
+</a>
129
+<h3>Constructor Summary</h3>
130
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
131
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
132
+<tr>
133
+<th class="colOne" scope="col">Constructor and Description</th>
134
+</tr>
135
+<tr class="altColor">
136
+<td class="colOne"><code><span class="memberNameLink"><a href="Address.html#Address-java.lang.String-java.lang.String-java.lang.String-">Address</a></span>(java.lang.String&nbsp;street,
137
+       java.lang.String&nbsp;town,
138
+       java.lang.String&nbsp;postCode)</code>
139
+<div class="block">Construct an Address without country</div>
140
+</td>
141
+</tr>
142
+<tr class="rowColor">
143
+<td class="colOne"><code><span class="memberNameLink"><a href="Address.html#Address-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">Address</a></span>(java.lang.String&nbsp;street,
144
+       java.lang.String&nbsp;town,
145
+       java.lang.String&nbsp;postCode,
146
+       java.lang.String&nbsp;country)</code>
147
+<div class="block">Construct an Address with full details</div>
148
+</td>
149
+</tr>
150
+</table>
151
+</li>
152
+</ul>
153
+<!-- ========== METHOD SUMMARY =========== -->
154
+<ul class="blockList">
155
+<li class="blockList"><a name="method.summary">
156
+<!--   -->
157
+</a>
158
+<h3>Method Summary</h3>
159
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
160
+<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>
161
+<tr>
162
+<th class="colFirst" scope="col">Modifier and Type</th>
163
+<th class="colLast" scope="col">Method and Description</th>
164
+</tr>
165
+<tr id="i0" class="altColor">
166
+<td class="colFirst"><code>java.lang.String</code></td>
167
+<td class="colLast"><code><span class="memberNameLink"><a href="Address.html#toString--">toString</a></span>()</code>
168
+<div class="block">Return a string representation of this object.</div>
169
+</td>
170
+</tr>
171
+</table>
172
+<ul class="blockList">
173
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
174
+<!--   -->
175
+</a>
176
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
177
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
178
+</ul>
179
+</li>
180
+</ul>
181
+</li>
182
+</ul>
183
+</div>
184
+<div class="details">
185
+<ul class="blockList">
186
+<li class="blockList">
187
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
188
+<ul class="blockList">
189
+<li class="blockList"><a name="constructor.detail">
190
+<!--   -->
191
+</a>
192
+<h3>Constructor Detail</h3>
193
+<a name="Address-java.lang.String-java.lang.String-java.lang.String-">
194
+<!--   -->
195
+</a>
196
+<ul class="blockList">
197
+<li class="blockList">
198
+<h4>Address</h4>
199
+<pre>public&nbsp;Address(java.lang.String&nbsp;street,
200
+               java.lang.String&nbsp;town,
201
+               java.lang.String&nbsp;postCode)</pre>
202
+<div class="block">Construct an Address without country</div>
203
+</li>
204
+</ul>
205
+<a name="Address-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
206
+<!--   -->
207
+</a>
208
+<ul class="blockListLast">
209
+<li class="blockList">
210
+<h4>Address</h4>
211
+<pre>public&nbsp;Address(java.lang.String&nbsp;street,
212
+               java.lang.String&nbsp;town,
213
+               java.lang.String&nbsp;postCode,
214
+               java.lang.String&nbsp;country)</pre>
215
+<div class="block">Construct an Address with full details</div>
216
+</li>
217
+</ul>
218
+</li>
219
+</ul>
220
+<!-- ============ METHOD DETAIL ========== -->
221
+<ul class="blockList">
222
+<li class="blockList"><a name="method.detail">
223
+<!--   -->
224
+</a>
225
+<h3>Method Detail</h3>
226
+<a name="toString--">
227
+<!--   -->
228
+</a>
229
+<ul class="blockListLast">
230
+<li class="blockList">
231
+<h4>toString</h4>
232
+<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
233
+<div class="block">Return a string representation of this object.</div>
234
+<dl>
235
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
236
+<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
237
+</dl>
238
+</li>
239
+</ul>
240
+</li>
241
+</ul>
242
+</li>
243
+</ul>
244
+</div>
245
+</div>
246
+<!-- ========= END OF CLASS DATA ========= -->
247
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
248
+<div class="bottomNav"><a name="navbar.bottom">
249
+<!--   -->
250
+</a>
251
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
252
+<a name="navbar.bottom.firstrow">
253
+<!--   -->
254
+</a>
255
+<ul class="navList" title="Navigation">
256
+<li><a href="package-summary.html">Package</a></li>
257
+<li class="navBarCell1Rev">Class</li>
258
+<li><a href="package-tree.html">Tree</a></li>
259
+<li><a href="index-all.html">Index</a></li>
260
+<li><a href="help-doc.html">Help</a></li>
261
+</ul>
262
+</div>
263
+<div class="subNav">
264
+<ul class="navList">
265
+<li>Prev&nbsp;Class</li>
266
+<li><a href="Database.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
267
+</ul>
268
+<ul class="navList">
269
+<li><a href="index.html?Address.html" target="_top">Frames</a></li>
270
+<li><a href="Address.html" target="_top">No&nbsp;Frames</a></li>
271
+</ul>
272
+<ul class="navList" id="allclasses_navbar_bottom">
273
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
274
+</ul>
275
+<div>
276
+<script type="text/javascript"><!--
277
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
278
+  if(window==top) {
279
+    allClassesLink.style.display = "block";
280
+  }
281
+  else {
282
+    allClassesLink.style.display = "none";
283
+  }
284
+  //-->
285
+</script>
286
+</div>
287
+<div>
288
+<ul class="subNavList">
289
+<li>Summary:&nbsp;</li>
290
+<li>Nested&nbsp;|&nbsp;</li>
291
+<li>Field&nbsp;|&nbsp;</li>
292
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
293
+<li><a href="#method.summary">Method</a></li>
294
+</ul>
295
+<ul class="subNavList">
296
+<li>Detail:&nbsp;</li>
297
+<li>Field&nbsp;|&nbsp;</li>
298
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
299
+<li><a href="#method.detail">Method</a></li>
300
+</ul>
301
+</div>
302
+<a name="skip.navbar.bottom">
303
+<!--   -->
304
+</a></div>
305
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
306
+</body>
307
+</html>

+ 297
- 0
doc/Database.html Zobrazit soubor

@@ -0,0 +1,297 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Database (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="Database (people2)";
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 TOP NAVBAR ======= -->
33
+<div class="topNav"><a name="navbar.top">
34
+<!--   -->
35
+</a>
36
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37
+<a name="navbar.top.firstrow">
38
+<!--   -->
39
+</a>
40
+<ul class="navList" title="Navigation">
41
+<li><a href="package-summary.html">Package</a></li>
42
+<li class="navBarCell1Rev">Class</li>
43
+<li><a href="package-tree.html">Tree</a></li>
44
+<li><a href="index-all.html">Index</a></li>
45
+<li><a href="help-doc.html">Help</a></li>
46
+</ul>
47
+</div>
48
+<div class="subNav">
49
+<ul class="navList">
50
+<li><a href="Address.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
51
+<li><a href="Person.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
52
+</ul>
53
+<ul class="navList">
54
+<li><a href="index.html?Database.html" target="_top">Frames</a></li>
55
+<li><a href="Database.html" target="_top">No&nbsp;Frames</a></li>
56
+</ul>
57
+<ul class="navList" id="allclasses_navbar_top">
58
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
59
+</ul>
60
+<div>
61
+<script type="text/javascript"><!--
62
+  allClassesLink = document.getElementById("allclasses_navbar_top");
63
+  if(window==top) {
64
+    allClassesLink.style.display = "block";
65
+  }
66
+  else {
67
+    allClassesLink.style.display = "none";
68
+  }
69
+  //-->
70
+</script>
71
+</div>
72
+<div>
73
+<ul class="subNavList">
74
+<li>Summary:&nbsp;</li>
75
+<li>Nested&nbsp;|&nbsp;</li>
76
+<li>Field&nbsp;|&nbsp;</li>
77
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
78
+<li><a href="#method.summary">Method</a></li>
79
+</ul>
80
+<ul class="subNavList">
81
+<li>Detail:&nbsp;</li>
82
+<li>Field&nbsp;|&nbsp;</li>
83
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
84
+<li><a href="#method.detail">Method</a></li>
85
+</ul>
86
+</div>
87
+<a name="skip.navbar.top">
88
+<!--   -->
89
+</a></div>
90
+<!-- ========= END OF TOP NAVBAR ========= -->
91
+<!-- ======== START OF CLASS DATA ======== -->
92
+<div class="header">
93
+<h2 title="Class Database" class="title">Class Database</h2>
94
+</div>
95
+<div class="contentContainer">
96
+<ul class="inheritance">
97
+<li>java.lang.Object</li>
98
+<li>
99
+<ul class="inheritance">
100
+<li>Database</li>
101
+</ul>
102
+</li>
103
+</ul>
104
+<div class="description">
105
+<ul class="blockList">
106
+<li class="blockList">
107
+<hr>
108
+<br>
109
+<pre>public class <span class="typeNameLabel">Database</span>
110
+extends java.lang.Object</pre>
111
+<div class="block">A very simple database of people in a university. This class simply stores
112
+ persons and, at request, lists them on standard output.
113
+
114
+ Written as a first demo program for BlueJ.</div>
115
+<dl>
116
+<dt><span class="simpleTagLabel">Version:</span></dt>
117
+<dd>1.1, March 2002</dd>
118
+<dt><span class="simpleTagLabel">Author:</span></dt>
119
+<dd>Michael Kölling</dd>
120
+</dl>
121
+</li>
122
+</ul>
123
+</div>
124
+<div class="summary">
125
+<ul class="blockList">
126
+<li class="blockList">
127
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
128
+<ul class="blockList">
129
+<li class="blockList"><a name="constructor.summary">
130
+<!--   -->
131
+</a>
132
+<h3>Constructor Summary</h3>
133
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
134
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
135
+<tr>
136
+<th class="colOne" scope="col">Constructor and Description</th>
137
+</tr>
138
+<tr class="altColor">
139
+<td class="colOne"><code><span class="memberNameLink"><a href="Database.html#Database--">Database</a></span>()</code>
140
+<div class="block">Create a new, empty person database.</div>
141
+</td>
142
+</tr>
143
+</table>
144
+</li>
145
+</ul>
146
+<!-- ========== METHOD SUMMARY =========== -->
147
+<ul class="blockList">
148
+<li class="blockList"><a name="method.summary">
149
+<!--   -->
150
+</a>
151
+<h3>Method Summary</h3>
152
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
153
+<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>
154
+<tr>
155
+<th class="colFirst" scope="col">Modifier and Type</th>
156
+<th class="colLast" scope="col">Method and Description</th>
157
+</tr>
158
+<tr id="i0" class="altColor">
159
+<td class="colFirst"><code>void</code></td>
160
+<td class="colLast"><code><span class="memberNameLink"><a href="Database.html#addPerson-Person-">addPerson</a></span>(<a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a>&nbsp;p)</code>
161
+<div class="block">Add a person to the database.</div>
162
+</td>
163
+</tr>
164
+<tr id="i1" class="rowColor">
165
+<td class="colFirst"><code>void</code></td>
166
+<td class="colLast"><code><span class="memberNameLink"><a href="Database.html#listAll--">listAll</a></span>()</code>
167
+<div class="block">List all the persons currently in the database on standard out.</div>
168
+</td>
169
+</tr>
170
+</table>
171
+<ul class="blockList">
172
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
173
+<!--   -->
174
+</a>
175
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
176
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
177
+</ul>
178
+</li>
179
+</ul>
180
+</li>
181
+</ul>
182
+</div>
183
+<div class="details">
184
+<ul class="blockList">
185
+<li class="blockList">
186
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
187
+<ul class="blockList">
188
+<li class="blockList"><a name="constructor.detail">
189
+<!--   -->
190
+</a>
191
+<h3>Constructor Detail</h3>
192
+<a name="Database--">
193
+<!--   -->
194
+</a>
195
+<ul class="blockListLast">
196
+<li class="blockList">
197
+<h4>Database</h4>
198
+<pre>public&nbsp;Database()</pre>
199
+<div class="block">Create a new, empty person database.</div>
200
+</li>
201
+</ul>
202
+</li>
203
+</ul>
204
+<!-- ============ METHOD DETAIL ========== -->
205
+<ul class="blockList">
206
+<li class="blockList"><a name="method.detail">
207
+<!--   -->
208
+</a>
209
+<h3>Method Detail</h3>
210
+<a name="addPerson-Person-">
211
+<!--   -->
212
+</a>
213
+<ul class="blockList">
214
+<li class="blockList">
215
+<h4>addPerson</h4>
216
+<pre>public&nbsp;void&nbsp;addPerson(<a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a>&nbsp;p)</pre>
217
+<div class="block">Add a person to the database.</div>
218
+</li>
219
+</ul>
220
+<a name="listAll--">
221
+<!--   -->
222
+</a>
223
+<ul class="blockListLast">
224
+<li class="blockList">
225
+<h4>listAll</h4>
226
+<pre>public&nbsp;void&nbsp;listAll()</pre>
227
+<div class="block">List all the persons currently in the database on standard out.</div>
228
+</li>
229
+</ul>
230
+</li>
231
+</ul>
232
+</li>
233
+</ul>
234
+</div>
235
+</div>
236
+<!-- ========= END OF CLASS DATA ========= -->
237
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
238
+<div class="bottomNav"><a name="navbar.bottom">
239
+<!--   -->
240
+</a>
241
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
242
+<a name="navbar.bottom.firstrow">
243
+<!--   -->
244
+</a>
245
+<ul class="navList" title="Navigation">
246
+<li><a href="package-summary.html">Package</a></li>
247
+<li class="navBarCell1Rev">Class</li>
248
+<li><a href="package-tree.html">Tree</a></li>
249
+<li><a href="index-all.html">Index</a></li>
250
+<li><a href="help-doc.html">Help</a></li>
251
+</ul>
252
+</div>
253
+<div class="subNav">
254
+<ul class="navList">
255
+<li><a href="Address.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
256
+<li><a href="Person.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
257
+</ul>
258
+<ul class="navList">
259
+<li><a href="index.html?Database.html" target="_top">Frames</a></li>
260
+<li><a href="Database.html" target="_top">No&nbsp;Frames</a></li>
261
+</ul>
262
+<ul class="navList" id="allclasses_navbar_bottom">
263
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
264
+</ul>
265
+<div>
266
+<script type="text/javascript"><!--
267
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
268
+  if(window==top) {
269
+    allClassesLink.style.display = "block";
270
+  }
271
+  else {
272
+    allClassesLink.style.display = "none";
273
+  }
274
+  //-->
275
+</script>
276
+</div>
277
+<div>
278
+<ul class="subNavList">
279
+<li>Summary:&nbsp;</li>
280
+<li>Nested&nbsp;|&nbsp;</li>
281
+<li>Field&nbsp;|&nbsp;</li>
282
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
283
+<li><a href="#method.summary">Method</a></li>
284
+</ul>
285
+<ul class="subNavList">
286
+<li>Detail:&nbsp;</li>
287
+<li>Field&nbsp;|&nbsp;</li>
288
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
289
+<li><a href="#method.detail">Method</a></li>
290
+</ul>
291
+</div>
292
+<a name="skip.navbar.bottom">
293
+<!--   -->
294
+</a></div>
295
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
296
+</body>
297
+</html>

+ 389
- 0
doc/Person.html Zobrazit soubor

@@ -0,0 +1,389 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Person (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="Person (people2)";
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 TOP NAVBAR ======= -->
33
+<div class="topNav"><a name="navbar.top">
34
+<!--   -->
35
+</a>
36
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37
+<a name="navbar.top.firstrow">
38
+<!--   -->
39
+</a>
40
+<ul class="navList" title="Navigation">
41
+<li><a href="package-summary.html">Package</a></li>
42
+<li class="navBarCell1Rev">Class</li>
43
+<li><a href="package-tree.html">Tree</a></li>
44
+<li><a href="index-all.html">Index</a></li>
45
+<li><a href="help-doc.html">Help</a></li>
46
+</ul>
47
+</div>
48
+<div class="subNav">
49
+<ul class="navList">
50
+<li><a href="Database.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
51
+<li><a href="Staff.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
52
+</ul>
53
+<ul class="navList">
54
+<li><a href="index.html?Person.html" target="_top">Frames</a></li>
55
+<li><a href="Person.html" target="_top">No&nbsp;Frames</a></li>
56
+</ul>
57
+<ul class="navList" id="allclasses_navbar_top">
58
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
59
+</ul>
60
+<div>
61
+<script type="text/javascript"><!--
62
+  allClassesLink = document.getElementById("allclasses_navbar_top");
63
+  if(window==top) {
64
+    allClassesLink.style.display = "block";
65
+  }
66
+  else {
67
+    allClassesLink.style.display = "none";
68
+  }
69
+  //-->
70
+</script>
71
+</div>
72
+<div>
73
+<ul class="subNavList">
74
+<li>Summary:&nbsp;</li>
75
+<li>Nested&nbsp;|&nbsp;</li>
76
+<li>Field&nbsp;|&nbsp;</li>
77
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
78
+<li><a href="#method.summary">Method</a></li>
79
+</ul>
80
+<ul class="subNavList">
81
+<li>Detail:&nbsp;</li>
82
+<li>Field&nbsp;|&nbsp;</li>
83
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
84
+<li><a href="#method.detail">Method</a></li>
85
+</ul>
86
+</div>
87
+<a name="skip.navbar.top">
88
+<!--   -->
89
+</a></div>
90
+<!-- ========= END OF TOP NAVBAR ========= -->
91
+<!-- ======== START OF CLASS DATA ======== -->
92
+<div class="header">
93
+<h2 title="Class Person" class="title">Class Person</h2>
94
+</div>
95
+<div class="contentContainer">
96
+<ul class="inheritance">
97
+<li>java.lang.Object</li>
98
+<li>
99
+<ul class="inheritance">
100
+<li>Person</li>
101
+</ul>
102
+</li>
103
+</ul>
104
+<div class="description">
105
+<ul class="blockList">
106
+<li class="blockList">
107
+<dl>
108
+<dt>Direct Known Subclasses:</dt>
109
+<dd><a href="Staff.html" title="class in &lt;Unnamed&gt;">Staff</a>, <a href="Student.html" title="class in &lt;Unnamed&gt;">Student</a></dd>
110
+</dl>
111
+<hr>
112
+<br>
113
+<pre>abstract class <span class="typeNameLabel">Person</span>
114
+extends java.lang.Object</pre>
115
+<div class="block">A person class for a simple BlueJ demo program. Person is used as
116
+ an abstract superclass of more specific person classes.</div>
117
+<dl>
118
+<dt><span class="simpleTagLabel">Version:</span></dt>
119
+<dd>1.0, January 1999</dd>
120
+<dt><span class="simpleTagLabel">Author:</span></dt>
121
+<dd>Michael Kölling</dd>
122
+</dl>
123
+</li>
124
+</ul>
125
+</div>
126
+<div class="summary">
127
+<ul class="blockList">
128
+<li class="blockList">
129
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
130
+<ul class="blockList">
131
+<li class="blockList"><a name="constructor.summary">
132
+<!--   -->
133
+</a>
134
+<h3>Constructor Summary</h3>
135
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
136
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
137
+<tr>
138
+<th class="colOne" scope="col">Constructor and Description</th>
139
+</tr>
140
+<tr class="altColor">
141
+<td class="colOne"><code><span class="memberNameLink"><a href="Person.html#Person-java.lang.String-int-">Person</a></span>(java.lang.String&nbsp;name,
142
+      int&nbsp;yearOfBirth)</code>
143
+<div class="block">Create a person with given name and age.</div>
144
+</td>
145
+</tr>
146
+</table>
147
+</li>
148
+</ul>
149
+<!-- ========== METHOD SUMMARY =========== -->
150
+<ul class="blockList">
151
+<li class="blockList"><a name="method.summary">
152
+<!--   -->
153
+</a>
154
+<h3>Method Summary</h3>
155
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
156
+<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>
157
+<tr>
158
+<th class="colFirst" scope="col">Modifier and Type</th>
159
+<th class="colLast" scope="col">Method and Description</th>
160
+</tr>
161
+<tr id="i0" class="altColor">
162
+<td class="colFirst"><code><a href="Address.html" title="class in &lt;Unnamed&gt;">Address</a></code></td>
163
+<td class="colLast"><code><span class="memberNameLink"><a href="Person.html#getAddress--">getAddress</a></span>()</code>
164
+<div class="block">Return the address of this person.</div>
165
+</td>
166
+</tr>
167
+<tr id="i1" class="rowColor">
168
+<td class="colFirst"><code>java.lang.String</code></td>
169
+<td class="colLast"><code><span class="memberNameLink"><a href="Person.html#getName--">getName</a></span>()</code>
170
+<div class="block">Return the name of this person.</div>
171
+</td>
172
+</tr>
173
+<tr id="i2" class="altColor">
174
+<td class="colFirst"><code>int</code></td>
175
+<td class="colLast"><code><span class="memberNameLink"><a href="Person.html#getYearOfBirth--">getYearOfBirth</a></span>()</code>
176
+<div class="block">Return the birth year of this person.</div>
177
+</td>
178
+</tr>
179
+<tr id="i3" class="rowColor">
180
+<td class="colFirst"><code>void</code></td>
181
+<td class="colLast"><code><span class="memberNameLink"><a href="Person.html#setAddress-java.lang.String-java.lang.String-java.lang.String-">setAddress</a></span>(java.lang.String&nbsp;street,
182
+          java.lang.String&nbsp;town,
183
+          java.lang.String&nbsp;postCode)</code>
184
+<div class="block">Set a new address for this person.</div>
185
+</td>
186
+</tr>
187
+<tr id="i4" class="altColor">
188
+<td class="colFirst"><code>void</code></td>
189
+<td class="colLast"><code><span class="memberNameLink"><a href="Person.html#setName-java.lang.String-">setName</a></span>(java.lang.String&nbsp;newName)</code>
190
+<div class="block">Set a new name for this person.</div>
191
+</td>
192
+</tr>
193
+<tr id="i5" class="rowColor">
194
+<td class="colFirst"><code>void</code></td>
195
+<td class="colLast"><code><span class="memberNameLink"><a href="Person.html#setYearOfBirth-int-">setYearOfBirth</a></span>(int&nbsp;newYearOfBirth)</code>
196
+<div class="block">Set a new birth year for this person.</div>
197
+</td>
198
+</tr>
199
+<tr id="i6" class="altColor">
200
+<td class="colFirst"><code>java.lang.String</code></td>
201
+<td class="colLast"><code><span class="memberNameLink"><a href="Person.html#toString--">toString</a></span>()</code>
202
+<div class="block">Return a string representation of this object.</div>
203
+</td>
204
+</tr>
205
+</table>
206
+<ul class="blockList">
207
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
208
+<!--   -->
209
+</a>
210
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
211
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
212
+</ul>
213
+</li>
214
+</ul>
215
+</li>
216
+</ul>
217
+</div>
218
+<div class="details">
219
+<ul class="blockList">
220
+<li class="blockList">
221
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
222
+<ul class="blockList">
223
+<li class="blockList"><a name="constructor.detail">
224
+<!--   -->
225
+</a>
226
+<h3>Constructor Detail</h3>
227
+<a name="Person-java.lang.String-int-">
228
+<!--   -->
229
+</a>
230
+<ul class="blockListLast">
231
+<li class="blockList">
232
+<h4>Person</h4>
233
+<pre>Person(java.lang.String&nbsp;name,
234
+       int&nbsp;yearOfBirth)</pre>
235
+<div class="block">Create a person with given name and age.</div>
236
+</li>
237
+</ul>
238
+</li>
239
+</ul>
240
+<!-- ============ METHOD DETAIL ========== -->
241
+<ul class="blockList">
242
+<li class="blockList"><a name="method.detail">
243
+<!--   -->
244
+</a>
245
+<h3>Method Detail</h3>
246
+<a name="getAddress--">
247
+<!--   -->
248
+</a>
249
+<ul class="blockList">
250
+<li class="blockList">
251
+<h4>getAddress</h4>
252
+<pre>public&nbsp;<a href="Address.html" title="class in &lt;Unnamed&gt;">Address</a>&nbsp;getAddress()</pre>
253
+<div class="block">Return the address of this person.</div>
254
+</li>
255
+</ul>
256
+<a name="getName--">
257
+<!--   -->
258
+</a>
259
+<ul class="blockList">
260
+<li class="blockList">
261
+<h4>getName</h4>
262
+<pre>public&nbsp;java.lang.String&nbsp;getName()</pre>
263
+<div class="block">Return the name of this person.</div>
264
+</li>
265
+</ul>
266
+<a name="getYearOfBirth--">
267
+<!--   -->
268
+</a>
269
+<ul class="blockList">
270
+<li class="blockList">
271
+<h4>getYearOfBirth</h4>
272
+<pre>public&nbsp;int&nbsp;getYearOfBirth()</pre>
273
+<div class="block">Return the birth year of this person.</div>
274
+</li>
275
+</ul>
276
+<a name="setAddress-java.lang.String-java.lang.String-java.lang.String-">
277
+<!--   -->
278
+</a>
279
+<ul class="blockList">
280
+<li class="blockList">
281
+<h4>setAddress</h4>
282
+<pre>public&nbsp;void&nbsp;setAddress(java.lang.String&nbsp;street,
283
+                       java.lang.String&nbsp;town,
284
+                       java.lang.String&nbsp;postCode)</pre>
285
+<div class="block">Set a new address for this person.</div>
286
+</li>
287
+</ul>
288
+<a name="setName-java.lang.String-">
289
+<!--   -->
290
+</a>
291
+<ul class="blockList">
292
+<li class="blockList">
293
+<h4>setName</h4>
294
+<pre>public&nbsp;void&nbsp;setName(java.lang.String&nbsp;newName)</pre>
295
+<div class="block">Set a new name for this person.</div>
296
+</li>
297
+</ul>
298
+<a name="setYearOfBirth-int-">
299
+<!--   -->
300
+</a>
301
+<ul class="blockList">
302
+<li class="blockList">
303
+<h4>setYearOfBirth</h4>
304
+<pre>public&nbsp;void&nbsp;setYearOfBirth(int&nbsp;newYearOfBirth)</pre>
305
+<div class="block">Set a new birth year for this person.</div>
306
+</li>
307
+</ul>
308
+<a name="toString--">
309
+<!--   -->
310
+</a>
311
+<ul class="blockListLast">
312
+<li class="blockList">
313
+<h4>toString</h4>
314
+<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
315
+<div class="block">Return a string representation of this object.</div>
316
+<dl>
317
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
318
+<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
319
+</dl>
320
+</li>
321
+</ul>
322
+</li>
323
+</ul>
324
+</li>
325
+</ul>
326
+</div>
327
+</div>
328
+<!-- ========= END OF CLASS DATA ========= -->
329
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
330
+<div class="bottomNav"><a name="navbar.bottom">
331
+<!--   -->
332
+</a>
333
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
334
+<a name="navbar.bottom.firstrow">
335
+<!--   -->
336
+</a>
337
+<ul class="navList" title="Navigation">
338
+<li><a href="package-summary.html">Package</a></li>
339
+<li class="navBarCell1Rev">Class</li>
340
+<li><a href="package-tree.html">Tree</a></li>
341
+<li><a href="index-all.html">Index</a></li>
342
+<li><a href="help-doc.html">Help</a></li>
343
+</ul>
344
+</div>
345
+<div class="subNav">
346
+<ul class="navList">
347
+<li><a href="Database.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
348
+<li><a href="Staff.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
349
+</ul>
350
+<ul class="navList">
351
+<li><a href="index.html?Person.html" target="_top">Frames</a></li>
352
+<li><a href="Person.html" target="_top">No&nbsp;Frames</a></li>
353
+</ul>
354
+<ul class="navList" id="allclasses_navbar_bottom">
355
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
356
+</ul>
357
+<div>
358
+<script type="text/javascript"><!--
359
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
360
+  if(window==top) {
361
+    allClassesLink.style.display = "block";
362
+  }
363
+  else {
364
+    allClassesLink.style.display = "none";
365
+  }
366
+  //-->
367
+</script>
368
+</div>
369
+<div>
370
+<ul class="subNavList">
371
+<li>Summary:&nbsp;</li>
372
+<li>Nested&nbsp;|&nbsp;</li>
373
+<li>Field&nbsp;|&nbsp;</li>
374
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
375
+<li><a href="#method.summary">Method</a></li>
376
+</ul>
377
+<ul class="subNavList">
378
+<li>Detail:&nbsp;</li>
379
+<li>Field&nbsp;|&nbsp;</li>
380
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
381
+<li><a href="#method.detail">Method</a></li>
382
+</ul>
383
+</div>
384
+<a name="skip.navbar.bottom">
385
+<!--   -->
386
+</a></div>
387
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
388
+</body>
389
+</html>

+ 347
- 0
doc/Staff.html Zobrazit soubor

@@ -0,0 +1,347 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Staff (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="Staff (people2)";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+var methods = {"i0":10,"i1":10,"i2":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 TOP NAVBAR ======= -->
33
+<div class="topNav"><a name="navbar.top">
34
+<!--   -->
35
+</a>
36
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37
+<a name="navbar.top.firstrow">
38
+<!--   -->
39
+</a>
40
+<ul class="navList" title="Navigation">
41
+<li><a href="package-summary.html">Package</a></li>
42
+<li class="navBarCell1Rev">Class</li>
43
+<li><a href="package-tree.html">Tree</a></li>
44
+<li><a href="index-all.html">Index</a></li>
45
+<li><a href="help-doc.html">Help</a></li>
46
+</ul>
47
+</div>
48
+<div class="subNav">
49
+<ul class="navList">
50
+<li><a href="Person.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
51
+<li><a href="Student.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
52
+</ul>
53
+<ul class="navList">
54
+<li><a href="index.html?Staff.html" target="_top">Frames</a></li>
55
+<li><a href="Staff.html" target="_top">No&nbsp;Frames</a></li>
56
+</ul>
57
+<ul class="navList" id="allclasses_navbar_top">
58
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
59
+</ul>
60
+<div>
61
+<script type="text/javascript"><!--
62
+  allClassesLink = document.getElementById("allclasses_navbar_top");
63
+  if(window==top) {
64
+    allClassesLink.style.display = "block";
65
+  }
66
+  else {
67
+    allClassesLink.style.display = "none";
68
+  }
69
+  //-->
70
+</script>
71
+</div>
72
+<div>
73
+<ul class="subNavList">
74
+<li>Summary:&nbsp;</li>
75
+<li>Nested&nbsp;|&nbsp;</li>
76
+<li>Field&nbsp;|&nbsp;</li>
77
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
78
+<li><a href="#method.summary">Method</a></li>
79
+</ul>
80
+<ul class="subNavList">
81
+<li>Detail:&nbsp;</li>
82
+<li>Field&nbsp;|&nbsp;</li>
83
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
84
+<li><a href="#method.detail">Method</a></li>
85
+</ul>
86
+</div>
87
+<a name="skip.navbar.top">
88
+<!--   -->
89
+</a></div>
90
+<!-- ========= END OF TOP NAVBAR ========= -->
91
+<!-- ======== START OF CLASS DATA ======== -->
92
+<div class="header">
93
+<h2 title="Class Staff" class="title">Class Staff</h2>
94
+</div>
95
+<div class="contentContainer">
96
+<ul class="inheritance">
97
+<li>java.lang.Object</li>
98
+<li>
99
+<ul class="inheritance">
100
+<li><a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></li>
101
+<li>
102
+<ul class="inheritance">
103
+<li>Staff</li>
104
+</ul>
105
+</li>
106
+</ul>
107
+</li>
108
+</ul>
109
+<div class="description">
110
+<ul class="blockList">
111
+<li class="blockList">
112
+<hr>
113
+<br>
114
+<pre>class <span class="typeNameLabel">Staff</span>
115
+extends <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></pre>
116
+<div class="block">A class representing staff members for a simple BlueJ demo program.</div>
117
+<dl>
118
+<dt><span class="simpleTagLabel">Version:</span></dt>
119
+<dd>1.0, January 1999</dd>
120
+<dt><span class="simpleTagLabel">Author:</span></dt>
121
+<dd>Michael Kölling</dd>
122
+</dl>
123
+</li>
124
+</ul>
125
+</div>
126
+<div class="summary">
127
+<ul class="blockList">
128
+<li class="blockList">
129
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
130
+<ul class="blockList">
131
+<li class="blockList"><a name="constructor.summary">
132
+<!--   -->
133
+</a>
134
+<h3>Constructor Summary</h3>
135
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
136
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
137
+<tr>
138
+<th class="colOne" scope="col">Constructor and Description</th>
139
+</tr>
140
+<tr class="altColor">
141
+<td class="colOne"><code><span class="memberNameLink"><a href="Staff.html#Staff--">Staff</a></span>()</code>
142
+<div class="block">Create a staff member with default settings for detail information.</div>
143
+</td>
144
+</tr>
145
+<tr class="rowColor">
146
+<td class="colOne"><code><span class="memberNameLink"><a href="Staff.html#Staff-java.lang.String-int-java.lang.String-">Staff</a></span>(java.lang.String&nbsp;name,
147
+     int&nbsp;yearOfBirth,
148
+     java.lang.String&nbsp;roomNumber)</code>
149
+<div class="block">Create a staff member with given name, year of birth and room
150
+ number.</div>
151
+</td>
152
+</tr>
153
+</table>
154
+</li>
155
+</ul>
156
+<!-- ========== METHOD SUMMARY =========== -->
157
+<ul class="blockList">
158
+<li class="blockList"><a name="method.summary">
159
+<!--   -->
160
+</a>
161
+<h3>Method Summary</h3>
162
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
163
+<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>
164
+<tr>
165
+<th class="colFirst" scope="col">Modifier and Type</th>
166
+<th class="colLast" scope="col">Method and Description</th>
167
+</tr>
168
+<tr id="i0" class="altColor">
169
+<td class="colFirst"><code>java.lang.String</code></td>
170
+<td class="colLast"><code><span class="memberNameLink"><a href="Staff.html#getRoom--">getRoom</a></span>()</code>
171
+<div class="block">Return the room number of this person.</div>
172
+</td>
173
+</tr>
174
+<tr id="i1" class="rowColor">
175
+<td class="colFirst"><code>void</code></td>
176
+<td class="colLast"><code><span class="memberNameLink"><a href="Staff.html#setRoom-java.lang.String-">setRoom</a></span>(java.lang.String&nbsp;newRoom)</code>
177
+<div class="block">Set a new room number for this person.</div>
178
+</td>
179
+</tr>
180
+<tr id="i2" class="altColor">
181
+<td class="colFirst"><code>java.lang.String</code></td>
182
+<td class="colLast"><code><span class="memberNameLink"><a href="Staff.html#toString--">toString</a></span>()</code>
183
+<div class="block">Return a string representation of this object.</div>
184
+</td>
185
+</tr>
186
+</table>
187
+<ul class="blockList">
188
+<li class="blockList"><a name="methods.inherited.from.class.Person">
189
+<!--   -->
190
+</a>
191
+<h3>Methods inherited from class&nbsp;<a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></h3>
192
+<code><a href="Person.html#getAddress--">getAddress</a>, <a href="Person.html#getName--">getName</a>, <a href="Person.html#getYearOfBirth--">getYearOfBirth</a>, <a href="Person.html#setAddress-java.lang.String-java.lang.String-java.lang.String-">setAddress</a>, <a href="Person.html#setName-java.lang.String-">setName</a>, <a href="Person.html#setYearOfBirth-int-">setYearOfBirth</a></code></li>
193
+</ul>
194
+<ul class="blockList">
195
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
196
+<!--   -->
197
+</a>
198
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
199
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
200
+</ul>
201
+</li>
202
+</ul>
203
+</li>
204
+</ul>
205
+</div>
206
+<div class="details">
207
+<ul class="blockList">
208
+<li class="blockList">
209
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
210
+<ul class="blockList">
211
+<li class="blockList"><a name="constructor.detail">
212
+<!--   -->
213
+</a>
214
+<h3>Constructor Detail</h3>
215
+<a name="Staff--">
216
+<!--   -->
217
+</a>
218
+<ul class="blockList">
219
+<li class="blockList">
220
+<h4>Staff</h4>
221
+<pre>Staff()</pre>
222
+<div class="block">Create a staff member with default settings for detail information.</div>
223
+</li>
224
+</ul>
225
+<a name="Staff-java.lang.String-int-java.lang.String-">
226
+<!--   -->
227
+</a>
228
+<ul class="blockListLast">
229
+<li class="blockList">
230
+<h4>Staff</h4>
231
+<pre>Staff(java.lang.String&nbsp;name,
232
+      int&nbsp;yearOfBirth,
233
+      java.lang.String&nbsp;roomNumber)</pre>
234
+<div class="block">Create a staff member with given name, year of birth and room
235
+ number.</div>
236
+</li>
237
+</ul>
238
+</li>
239
+</ul>
240
+<!-- ============ METHOD DETAIL ========== -->
241
+<ul class="blockList">
242
+<li class="blockList"><a name="method.detail">
243
+<!--   -->
244
+</a>
245
+<h3>Method Detail</h3>
246
+<a name="getRoom--">
247
+<!--   -->
248
+</a>
249
+<ul class="blockList">
250
+<li class="blockList">
251
+<h4>getRoom</h4>
252
+<pre>public&nbsp;java.lang.String&nbsp;getRoom()</pre>
253
+<div class="block">Return the room number of this person.</div>
254
+</li>
255
+</ul>
256
+<a name="setRoom-java.lang.String-">
257
+<!--   -->
258
+</a>
259
+<ul class="blockList">
260
+<li class="blockList">
261
+<h4>setRoom</h4>
262
+<pre>public&nbsp;void&nbsp;setRoom(java.lang.String&nbsp;newRoom)</pre>
263
+<div class="block">Set a new room number for this person.</div>
264
+</li>
265
+</ul>
266
+<a name="toString--">
267
+<!--   -->
268
+</a>
269
+<ul class="blockListLast">
270
+<li class="blockList">
271
+<h4>toString</h4>
272
+<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
273
+<div class="block">Return a string representation of this object.</div>
274
+<dl>
275
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
276
+<dd><code><a href="Person.html#toString--">toString</a></code>&nbsp;in class&nbsp;<code><a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></code></dd>
277
+</dl>
278
+</li>
279
+</ul>
280
+</li>
281
+</ul>
282
+</li>
283
+</ul>
284
+</div>
285
+</div>
286
+<!-- ========= END OF CLASS DATA ========= -->
287
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
288
+<div class="bottomNav"><a name="navbar.bottom">
289
+<!--   -->
290
+</a>
291
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
292
+<a name="navbar.bottom.firstrow">
293
+<!--   -->
294
+</a>
295
+<ul class="navList" title="Navigation">
296
+<li><a href="package-summary.html">Package</a></li>
297
+<li class="navBarCell1Rev">Class</li>
298
+<li><a href="package-tree.html">Tree</a></li>
299
+<li><a href="index-all.html">Index</a></li>
300
+<li><a href="help-doc.html">Help</a></li>
301
+</ul>
302
+</div>
303
+<div class="subNav">
304
+<ul class="navList">
305
+<li><a href="Person.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
306
+<li><a href="Student.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
307
+</ul>
308
+<ul class="navList">
309
+<li><a href="index.html?Staff.html" target="_top">Frames</a></li>
310
+<li><a href="Staff.html" target="_top">No&nbsp;Frames</a></li>
311
+</ul>
312
+<ul class="navList" id="allclasses_navbar_bottom">
313
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
314
+</ul>
315
+<div>
316
+<script type="text/javascript"><!--
317
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
318
+  if(window==top) {
319
+    allClassesLink.style.display = "block";
320
+  }
321
+  else {
322
+    allClassesLink.style.display = "none";
323
+  }
324
+  //-->
325
+</script>
326
+</div>
327
+<div>
328
+<ul class="subNavList">
329
+<li>Summary:&nbsp;</li>
330
+<li>Nested&nbsp;|&nbsp;</li>
331
+<li>Field&nbsp;|&nbsp;</li>
332
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
333
+<li><a href="#method.summary">Method</a></li>
334
+</ul>
335
+<ul class="subNavList">
336
+<li>Detail:&nbsp;</li>
337
+<li>Field&nbsp;|&nbsp;</li>
338
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
339
+<li><a href="#method.detail">Method</a></li>
340
+</ul>
341
+</div>
342
+<a name="skip.navbar.bottom">
343
+<!--   -->
344
+</a></div>
345
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
346
+</body>
347
+</html>

+ 329
- 0
doc/Student.html Zobrazit soubor

@@ -0,0 +1,329 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Student (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="Student (people2)";
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 TOP NAVBAR ======= -->
33
+<div class="topNav"><a name="navbar.top">
34
+<!--   -->
35
+</a>
36
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37
+<a name="navbar.top.firstrow">
38
+<!--   -->
39
+</a>
40
+<ul class="navList" title="Navigation">
41
+<li><a href="package-summary.html">Package</a></li>
42
+<li class="navBarCell1Rev">Class</li>
43
+<li><a href="package-tree.html">Tree</a></li>
44
+<li><a href="index-all.html">Index</a></li>
45
+<li><a href="help-doc.html">Help</a></li>
46
+</ul>
47
+</div>
48
+<div class="subNav">
49
+<ul class="navList">
50
+<li><a href="Staff.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
51
+<li>Next&nbsp;Class</li>
52
+</ul>
53
+<ul class="navList">
54
+<li><a href="index.html?Student.html" target="_top">Frames</a></li>
55
+<li><a href="Student.html" target="_top">No&nbsp;Frames</a></li>
56
+</ul>
57
+<ul class="navList" id="allclasses_navbar_top">
58
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
59
+</ul>
60
+<div>
61
+<script type="text/javascript"><!--
62
+  allClassesLink = document.getElementById("allclasses_navbar_top");
63
+  if(window==top) {
64
+    allClassesLink.style.display = "block";
65
+  }
66
+  else {
67
+    allClassesLink.style.display = "none";
68
+  }
69
+  //-->
70
+</script>
71
+</div>
72
+<div>
73
+<ul class="subNavList">
74
+<li>Summary:&nbsp;</li>
75
+<li>Nested&nbsp;|&nbsp;</li>
76
+<li>Field&nbsp;|&nbsp;</li>
77
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
78
+<li><a href="#method.summary">Method</a></li>
79
+</ul>
80
+<ul class="subNavList">
81
+<li>Detail:&nbsp;</li>
82
+<li>Field&nbsp;|&nbsp;</li>
83
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
84
+<li><a href="#method.detail">Method</a></li>
85
+</ul>
86
+</div>
87
+<a name="skip.navbar.top">
88
+<!--   -->
89
+</a></div>
90
+<!-- ========= END OF TOP NAVBAR ========= -->
91
+<!-- ======== START OF CLASS DATA ======== -->
92
+<div class="header">
93
+<h2 title="Class Student" class="title">Class Student</h2>
94
+</div>
95
+<div class="contentContainer">
96
+<ul class="inheritance">
97
+<li>java.lang.Object</li>
98
+<li>
99
+<ul class="inheritance">
100
+<li><a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></li>
101
+<li>
102
+<ul class="inheritance">
103
+<li>Student</li>
104
+</ul>
105
+</li>
106
+</ul>
107
+</li>
108
+</ul>
109
+<div class="description">
110
+<ul class="blockList">
111
+<li class="blockList">
112
+<hr>
113
+<br>
114
+<pre>class <span class="typeNameLabel">Student</span>
115
+extends <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></pre>
116
+<div class="block">A class representing students for a simple BlueJ demo program.</div>
117
+<dl>
118
+<dt><span class="simpleTagLabel">Version:</span></dt>
119
+<dd>1.0, January 1999</dd>
120
+<dt><span class="simpleTagLabel">Author:</span></dt>
121
+<dd>Michael Kölling</dd>
122
+</dl>
123
+</li>
124
+</ul>
125
+</div>
126
+<div class="summary">
127
+<ul class="blockList">
128
+<li class="blockList">
129
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
130
+<ul class="blockList">
131
+<li class="blockList"><a name="constructor.summary">
132
+<!--   -->
133
+</a>
134
+<h3>Constructor Summary</h3>
135
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
136
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
137
+<tr>
138
+<th class="colOne" scope="col">Constructor and Description</th>
139
+</tr>
140
+<tr class="altColor">
141
+<td class="colOne"><code><span class="memberNameLink"><a href="Student.html#Student--">Student</a></span>()</code>
142
+<div class="block">Create a student with default settings for detail information.</div>
143
+</td>
144
+</tr>
145
+<tr class="rowColor">
146
+<td class="colOne"><code><span class="memberNameLink"><a href="Student.html#Student-java.lang.String-int-java.lang.String-">Student</a></span>(java.lang.String&nbsp;name,
147
+       int&nbsp;yearOfBirth,
148
+       java.lang.String&nbsp;studentID)</code>
149
+<div class="block">Create a student with given name, year of birth and student ID</div>
150
+</td>
151
+</tr>
152
+</table>
153
+</li>
154
+</ul>
155
+<!-- ========== METHOD SUMMARY =========== -->
156
+<ul class="blockList">
157
+<li class="blockList"><a name="method.summary">
158
+<!--   -->
159
+</a>
160
+<h3>Method Summary</h3>
161
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
162
+<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>
163
+<tr>
164
+<th class="colFirst" scope="col">Modifier and Type</th>
165
+<th class="colLast" scope="col">Method and Description</th>
166
+</tr>
167
+<tr id="i0" class="altColor">
168
+<td class="colFirst"><code>java.lang.String</code></td>
169
+<td class="colLast"><code><span class="memberNameLink"><a href="Student.html#getStudentID--">getStudentID</a></span>()</code>
170
+<div class="block">Return the stident ID of this student.</div>
171
+</td>
172
+</tr>
173
+<tr id="i1" class="rowColor">
174
+<td class="colFirst"><code>java.lang.String</code></td>
175
+<td class="colLast"><code><span class="memberNameLink"><a href="Student.html#toString--">toString</a></span>()</code>
176
+<div class="block">Return a string representation of this object.</div>
177
+</td>
178
+</tr>
179
+</table>
180
+<ul class="blockList">
181
+<li class="blockList"><a name="methods.inherited.from.class.Person">
182
+<!--   -->
183
+</a>
184
+<h3>Methods inherited from class&nbsp;<a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></h3>
185
+<code><a href="Person.html#getAddress--">getAddress</a>, <a href="Person.html#getName--">getName</a>, <a href="Person.html#getYearOfBirth--">getYearOfBirth</a>, <a href="Person.html#setAddress-java.lang.String-java.lang.String-java.lang.String-">setAddress</a>, <a href="Person.html#setName-java.lang.String-">setName</a>, <a href="Person.html#setYearOfBirth-int-">setYearOfBirth</a></code></li>
186
+</ul>
187
+<ul class="blockList">
188
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
189
+<!--   -->
190
+</a>
191
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
192
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
193
+</ul>
194
+</li>
195
+</ul>
196
+</li>
197
+</ul>
198
+</div>
199
+<div class="details">
200
+<ul class="blockList">
201
+<li class="blockList">
202
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
203
+<ul class="blockList">
204
+<li class="blockList"><a name="constructor.detail">
205
+<!--   -->
206
+</a>
207
+<h3>Constructor Detail</h3>
208
+<a name="Student--">
209
+<!--   -->
210
+</a>
211
+<ul class="blockList">
212
+<li class="blockList">
213
+<h4>Student</h4>
214
+<pre>public&nbsp;Student()</pre>
215
+<div class="block">Create a student with default settings for detail information.</div>
216
+</li>
217
+</ul>
218
+<a name="Student-java.lang.String-int-java.lang.String-">
219
+<!--   -->
220
+</a>
221
+<ul class="blockListLast">
222
+<li class="blockList">
223
+<h4>Student</h4>
224
+<pre>public&nbsp;Student(java.lang.String&nbsp;name,
225
+               int&nbsp;yearOfBirth,
226
+               java.lang.String&nbsp;studentID)</pre>
227
+<div class="block">Create a student with given name, year of birth and student ID</div>
228
+</li>
229
+</ul>
230
+</li>
231
+</ul>
232
+<!-- ============ METHOD DETAIL ========== -->
233
+<ul class="blockList">
234
+<li class="blockList"><a name="method.detail">
235
+<!--   -->
236
+</a>
237
+<h3>Method Detail</h3>
238
+<a name="getStudentID--">
239
+<!--   -->
240
+</a>
241
+<ul class="blockList">
242
+<li class="blockList">
243
+<h4>getStudentID</h4>
244
+<pre>public&nbsp;java.lang.String&nbsp;getStudentID()</pre>
245
+<div class="block">Return the stident ID of this student.</div>
246
+</li>
247
+</ul>
248
+<a name="toString--">
249
+<!--   -->
250
+</a>
251
+<ul class="blockListLast">
252
+<li class="blockList">
253
+<h4>toString</h4>
254
+<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
255
+<div class="block">Return a string representation of this object.</div>
256
+<dl>
257
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
258
+<dd><code><a href="Person.html#toString--">toString</a></code>&nbsp;in class&nbsp;<code><a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></code></dd>
259
+</dl>
260
+</li>
261
+</ul>
262
+</li>
263
+</ul>
264
+</li>
265
+</ul>
266
+</div>
267
+</div>
268
+<!-- ========= END OF CLASS DATA ========= -->
269
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
270
+<div class="bottomNav"><a name="navbar.bottom">
271
+<!--   -->
272
+</a>
273
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
274
+<a name="navbar.bottom.firstrow">
275
+<!--   -->
276
+</a>
277
+<ul class="navList" title="Navigation">
278
+<li><a href="package-summary.html">Package</a></li>
279
+<li class="navBarCell1Rev">Class</li>
280
+<li><a href="package-tree.html">Tree</a></li>
281
+<li><a href="index-all.html">Index</a></li>
282
+<li><a href="help-doc.html">Help</a></li>
283
+</ul>
284
+</div>
285
+<div class="subNav">
286
+<ul class="navList">
287
+<li><a href="Staff.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
288
+<li>Next&nbsp;Class</li>
289
+</ul>
290
+<ul class="navList">
291
+<li><a href="index.html?Student.html" target="_top">Frames</a></li>
292
+<li><a href="Student.html" target="_top">No&nbsp;Frames</a></li>
293
+</ul>
294
+<ul class="navList" id="allclasses_navbar_bottom">
295
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
296
+</ul>
297
+<div>
298
+<script type="text/javascript"><!--
299
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
300
+  if(window==top) {
301
+    allClassesLink.style.display = "block";
302
+  }
303
+  else {
304
+    allClassesLink.style.display = "none";
305
+  }
306
+  //-->
307
+</script>
308
+</div>
309
+<div>
310
+<ul class="subNavList">
311
+<li>Summary:&nbsp;</li>
312
+<li>Nested&nbsp;|&nbsp;</li>
313
+<li>Field&nbsp;|&nbsp;</li>
314
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
315
+<li><a href="#method.summary">Method</a></li>
316
+</ul>
317
+<ul class="subNavList">
318
+<li>Detail:&nbsp;</li>
319
+<li>Field&nbsp;|&nbsp;</li>
320
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
321
+<li><a href="#method.detail">Method</a></li>
322
+</ul>
323
+</div>
324
+<a name="skip.navbar.bottom">
325
+<!--   -->
326
+</a></div>
327
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
328
+</body>
329
+</html>

+ 24
- 0
doc/allclasses-frame.html Zobrazit soubor

@@ -0,0 +1,24 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>All Classes (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="Address.html" title="class in &lt;Unnamed&gt;" target="classFrame">Address</a></li>
17
+<li><a href="Database.html" title="class in &lt;Unnamed&gt;" target="classFrame">Database</a></li>
18
+<li><a href="Person.html" title="class in &lt;Unnamed&gt;" target="classFrame">Person</a></li>
19
+<li><a href="Staff.html" title="class in &lt;Unnamed&gt;" target="classFrame">Staff</a></li>
20
+<li><a href="Student.html" title="class in &lt;Unnamed&gt;" target="classFrame">Student</a></li>
21
+</ul>
22
+</div>
23
+</body>
24
+</html>

+ 24
- 0
doc/allclasses-noframe.html Zobrazit soubor

@@ -0,0 +1,24 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>All Classes (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="Address.html" title="class in &lt;Unnamed&gt;">Address</a></li>
17
+<li><a href="Database.html" title="class in &lt;Unnamed&gt;">Database</a></li>
18
+<li><a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></li>
19
+<li><a href="Staff.html" title="class in &lt;Unnamed&gt;">Staff</a></li>
20
+<li><a href="Student.html" title="class in &lt;Unnamed&gt;">Student</a></li>
21
+</ul>
22
+</div>
23
+</body>
24
+</html>

+ 119
- 0
doc/constant-values.html Zobrazit soubor

@@ -0,0 +1,119 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Constant Field Values (people2)</title>
8
+<meta name="date" content="2018-04-27">
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 (people2)";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+</script>
23
+<noscript>
24
+<div>JavaScript is disabled on your browser.</div>
25
+</noscript>
26
+<!-- ========= START OF TOP NAVBAR ======= -->
27
+<div class="topNav"><a name="navbar.top">
28
+<!--   -->
29
+</a>
30
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
31
+<a name="navbar.top.firstrow">
32
+<!--   -->
33
+</a>
34
+<ul class="navList" title="Navigation">
35
+<li><a href="package-summary.html">Package</a></li>
36
+<li>Class</li>
37
+<li><a href="overview-tree.html">Tree</a></li>
38
+<li><a href="index-all.html">Index</a></li>
39
+<li><a href="help-doc.html">Help</a></li>
40
+</ul>
41
+</div>
42
+<div class="subNav">
43
+<ul class="navList">
44
+<li>Prev</li>
45
+<li>Next</li>
46
+</ul>
47
+<ul class="navList">
48
+<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
49
+<li><a href="constant-values.html" target="_top">No&nbsp;Frames</a></li>
50
+</ul>
51
+<ul class="navList" id="allclasses_navbar_top">
52
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
53
+</ul>
54
+<div>
55
+<script type="text/javascript"><!--
56
+  allClassesLink = document.getElementById("allclasses_navbar_top");
57
+  if(window==top) {
58
+    allClassesLink.style.display = "block";
59
+  }
60
+  else {
61
+    allClassesLink.style.display = "none";
62
+  }
63
+  //-->
64
+</script>
65
+</div>
66
+<a name="skip.navbar.top">
67
+<!--   -->
68
+</a></div>
69
+<!-- ========= END OF TOP NAVBAR ========= -->
70
+<div class="header">
71
+<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
72
+<h2 title="Contents">Contents</h2>
73
+</div>
74
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
75
+<div class="bottomNav"><a name="navbar.bottom">
76
+<!--   -->
77
+</a>
78
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
79
+<a name="navbar.bottom.firstrow">
80
+<!--   -->
81
+</a>
82
+<ul class="navList" title="Navigation">
83
+<li><a href="package-summary.html">Package</a></li>
84
+<li>Class</li>
85
+<li><a href="overview-tree.html">Tree</a></li>
86
+<li><a href="index-all.html">Index</a></li>
87
+<li><a href="help-doc.html">Help</a></li>
88
+</ul>
89
+</div>
90
+<div class="subNav">
91
+<ul class="navList">
92
+<li>Prev</li>
93
+<li>Next</li>
94
+</ul>
95
+<ul class="navList">
96
+<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
97
+<li><a href="constant-values.html" target="_top">No&nbsp;Frames</a></li>
98
+</ul>
99
+<ul class="navList" id="allclasses_navbar_bottom">
100
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
101
+</ul>
102
+<div>
103
+<script type="text/javascript"><!--
104
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
105
+  if(window==top) {
106
+    allClassesLink.style.display = "block";
107
+  }
108
+  else {
109
+    allClassesLink.style.display = "none";
110
+  }
111
+  //-->
112
+</script>
113
+</div>
114
+<a name="skip.navbar.bottom">
115
+<!--   -->
116
+</a></div>
117
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
118
+</body>
119
+</html>

+ 212
- 0
doc/help-doc.html Zobrazit soubor

@@ -0,0 +1,212 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>API Help (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="API Help (people2)";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+</script>
23
+<noscript>
24
+<div>JavaScript is disabled on your browser.</div>
25
+</noscript>
26
+<!-- ========= START OF TOP NAVBAR ======= -->
27
+<div class="topNav"><a name="navbar.top">
28
+<!--   -->
29
+</a>
30
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
31
+<a name="navbar.top.firstrow">
32
+<!--   -->
33
+</a>
34
+<ul class="navList" title="Navigation">
35
+<li><a href="package-summary.html">Package</a></li>
36
+<li>Class</li>
37
+<li><a href="overview-tree.html">Tree</a></li>
38
+<li><a href="index-all.html">Index</a></li>
39
+<li class="navBarCell1Rev">Help</li>
40
+</ul>
41
+</div>
42
+<div class="subNav">
43
+<ul class="navList">
44
+<li>Prev</li>
45
+<li>Next</li>
46
+</ul>
47
+<ul class="navList">
48
+<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
49
+<li><a href="help-doc.html" target="_top">No&nbsp;Frames</a></li>
50
+</ul>
51
+<ul class="navList" id="allclasses_navbar_top">
52
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
53
+</ul>
54
+<div>
55
+<script type="text/javascript"><!--
56
+  allClassesLink = document.getElementById("allclasses_navbar_top");
57
+  if(window==top) {
58
+    allClassesLink.style.display = "block";
59
+  }
60
+  else {
61
+    allClassesLink.style.display = "none";
62
+  }
63
+  //-->
64
+</script>
65
+</div>
66
+<a name="skip.navbar.top">
67
+<!--   -->
68
+</a></div>
69
+<!-- ========= END OF TOP NAVBAR ========= -->
70
+<div class="header">
71
+<h1 class="title">How This API Document Is Organized</h1>
72
+<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
73
+</div>
74
+<div class="contentContainer">
75
+<ul class="blockList">
76
+<li class="blockList">
77
+<h2>Package</h2>
78
+<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
79
+<ul>
80
+<li>Interfaces (italic)</li>
81
+<li>Classes</li>
82
+<li>Enums</li>
83
+<li>Exceptions</li>
84
+<li>Errors</li>
85
+<li>Annotation Types</li>
86
+</ul>
87
+</li>
88
+<li class="blockList">
89
+<h2>Class/Interface</h2>
90
+<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
91
+<ul>
92
+<li>Class inheritance diagram</li>
93
+<li>Direct Subclasses</li>
94
+<li>All Known Subinterfaces</li>
95
+<li>All Known Implementing Classes</li>
96
+<li>Class/interface declaration</li>
97
+<li>Class/interface description</li>
98
+</ul>
99
+<ul>
100
+<li>Nested Class Summary</li>
101
+<li>Field Summary</li>
102
+<li>Constructor Summary</li>
103
+<li>Method Summary</li>
104
+</ul>
105
+<ul>
106
+<li>Field Detail</li>
107
+<li>Constructor Detail</li>
108
+<li>Method Detail</li>
109
+</ul>
110
+<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
111
+</li>
112
+<li class="blockList">
113
+<h2>Annotation Type</h2>
114
+<p>Each annotation type has its own separate page with the following sections:</p>
115
+<ul>
116
+<li>Annotation Type declaration</li>
117
+<li>Annotation Type description</li>
118
+<li>Required Element Summary</li>
119
+<li>Optional Element Summary</li>
120
+<li>Element Detail</li>
121
+</ul>
122
+</li>
123
+<li class="blockList">
124
+<h2>Enum</h2>
125
+<p>Each enum has its own separate page with the following sections:</p>
126
+<ul>
127
+<li>Enum declaration</li>
128
+<li>Enum description</li>
129
+<li>Enum Constant Summary</li>
130
+<li>Enum Constant Detail</li>
131
+</ul>
132
+</li>
133
+<li class="blockList">
134
+<h2>Tree (Class Hierarchy)</h2>
135
+<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
136
+<ul>
137
+<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
138
+<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
139
+</ul>
140
+</li>
141
+<li class="blockList">
142
+<h2>Index</h2>
143
+<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
144
+</li>
145
+<li class="blockList">
146
+<h2>Prev/Next</h2>
147
+<p>These links take you to the next or previous class, interface, package, or related page.</p>
148
+</li>
149
+<li class="blockList">
150
+<h2>Frames/No Frames</h2>
151
+<p>These links show and hide the HTML frames.  All pages are available with or without frames.</p>
152
+</li>
153
+<li class="blockList">
154
+<h2>All Classes</h2>
155
+<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
156
+</li>
157
+<li class="blockList">
158
+<h2>Serialized Form</h2>
159
+<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
160
+</li>
161
+<li class="blockList">
162
+<h2>Constant Field Values</h2>
163
+<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
164
+</li>
165
+</ul>
166
+<span class="emphasizedPhrase">This help file applies to API documentation generated using the standard doclet.</span></div>
167
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
168
+<div class="bottomNav"><a name="navbar.bottom">
169
+<!--   -->
170
+</a>
171
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
172
+<a name="navbar.bottom.firstrow">
173
+<!--   -->
174
+</a>
175
+<ul class="navList" title="Navigation">
176
+<li><a href="package-summary.html">Package</a></li>
177
+<li>Class</li>
178
+<li><a href="overview-tree.html">Tree</a></li>
179
+<li><a href="index-all.html">Index</a></li>
180
+<li class="navBarCell1Rev">Help</li>
181
+</ul>
182
+</div>
183
+<div class="subNav">
184
+<ul class="navList">
185
+<li>Prev</li>
186
+<li>Next</li>
187
+</ul>
188
+<ul class="navList">
189
+<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
190
+<li><a href="help-doc.html" target="_top">No&nbsp;Frames</a></li>
191
+</ul>
192
+<ul class="navList" id="allclasses_navbar_bottom">
193
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
194
+</ul>
195
+<div>
196
+<script type="text/javascript"><!--
197
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
198
+  if(window==top) {
199
+    allClassesLink.style.display = "block";
200
+  }
201
+  else {
202
+    allClassesLink.style.display = "none";
203
+  }
204
+  //-->
205
+</script>
206
+</div>
207
+<a name="skip.navbar.bottom">
208
+<!--   -->
209
+</a></div>
210
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
211
+</body>
212
+</html>

+ 271
- 0
doc/index-all.html Zobrazit soubor

@@ -0,0 +1,271 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Index (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="Index (people2)";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+</script>
23
+<noscript>
24
+<div>JavaScript is disabled on your browser.</div>
25
+</noscript>
26
+<!-- ========= START OF TOP NAVBAR ======= -->
27
+<div class="topNav"><a name="navbar.top">
28
+<!--   -->
29
+</a>
30
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
31
+<a name="navbar.top.firstrow">
32
+<!--   -->
33
+</a>
34
+<ul class="navList" title="Navigation">
35
+<li><a href="package-summary.html">Package</a></li>
36
+<li>Class</li>
37
+<li><a href="overview-tree.html">Tree</a></li>
38
+<li class="navBarCell1Rev">Index</li>
39
+<li><a href="help-doc.html">Help</a></li>
40
+</ul>
41
+</div>
42
+<div class="subNav">
43
+<ul class="navList">
44
+<li>Prev</li>
45
+<li>Next</li>
46
+</ul>
47
+<ul class="navList">
48
+<li><a href="index.html?index-all.html" target="_top">Frames</a></li>
49
+<li><a href="index-all.html" target="_top">No&nbsp;Frames</a></li>
50
+</ul>
51
+<ul class="navList" id="allclasses_navbar_top">
52
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
53
+</ul>
54
+<div>
55
+<script type="text/javascript"><!--
56
+  allClassesLink = document.getElementById("allclasses_navbar_top");
57
+  if(window==top) {
58
+    allClassesLink.style.display = "block";
59
+  }
60
+  else {
61
+    allClassesLink.style.display = "none";
62
+  }
63
+  //-->
64
+</script>
65
+</div>
66
+<a name="skip.navbar.top">
67
+<!--   -->
68
+</a></div>
69
+<!-- ========= END OF TOP NAVBAR ========= -->
70
+<div class="contentContainer"><a href="#I:A">A</a>&nbsp;<a href="#I:D">D</a>&nbsp;<a href="#I:G">G</a>&nbsp;<a href="#I:L">L</a>&nbsp;<a href="#I:P">P</a>&nbsp;<a href="#I:S">S</a>&nbsp;<a href="#I:T">T</a>&nbsp;<a name="I:A">
71
+<!--   -->
72
+</a>
73
+<h2 class="title">A</h2>
74
+<dl>
75
+<dt><span class="memberNameLink"><a href="Database.html#addPerson-Person-">addPerson(Person)</a></span> - Method in class <a href="Database.html" title="class in &lt;Unnamed&gt;">Database</a></dt>
76
+<dd>
77
+<div class="block">Add a person to the database.</div>
78
+</dd>
79
+<dt><a href="Address.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Address</span></a> - Class in <a href="package-summary.html">&lt;Unnamed&gt;</a></dt>
80
+<dd>
81
+<div class="block">Class Address - used to store address details for a post address</div>
82
+</dd>
83
+<dt><span class="memberNameLink"><a href="Address.html#Address-java.lang.String-java.lang.String-java.lang.String-">Address(String, String, String)</a></span> - Constructor for class <a href="Address.html" title="class in &lt;Unnamed&gt;">Address</a></dt>
84
+<dd>
85
+<div class="block">Construct an Address without country</div>
86
+</dd>
87
+<dt><span class="memberNameLink"><a href="Address.html#Address-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">Address(String, String, String, String)</a></span> - Constructor for class <a href="Address.html" title="class in &lt;Unnamed&gt;">Address</a></dt>
88
+<dd>
89
+<div class="block">Construct an Address with full details</div>
90
+</dd>
91
+</dl>
92
+<a name="I:D">
93
+<!--   -->
94
+</a>
95
+<h2 class="title">D</h2>
96
+<dl>
97
+<dt><a href="Database.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Database</span></a> - Class in <a href="package-summary.html">&lt;Unnamed&gt;</a></dt>
98
+<dd>
99
+<div class="block">A very simple database of people in a university.</div>
100
+</dd>
101
+<dt><span class="memberNameLink"><a href="Database.html#Database--">Database()</a></span> - Constructor for class <a href="Database.html" title="class in &lt;Unnamed&gt;">Database</a></dt>
102
+<dd>
103
+<div class="block">Create a new, empty person database.</div>
104
+</dd>
105
+</dl>
106
+<a name="I:G">
107
+<!--   -->
108
+</a>
109
+<h2 class="title">G</h2>
110
+<dl>
111
+<dt><span class="memberNameLink"><a href="Person.html#getAddress--">getAddress()</a></span> - Method in class <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></dt>
112
+<dd>
113
+<div class="block">Return the address of this person.</div>
114
+</dd>
115
+<dt><span class="memberNameLink"><a href="Person.html#getName--">getName()</a></span> - Method in class <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></dt>
116
+<dd>
117
+<div class="block">Return the name of this person.</div>
118
+</dd>
119
+<dt><span class="memberNameLink"><a href="Staff.html#getRoom--">getRoom()</a></span> - Method in class <a href="Staff.html" title="class in &lt;Unnamed&gt;">Staff</a></dt>
120
+<dd>
121
+<div class="block">Return the room number of this person.</div>
122
+</dd>
123
+<dt><span class="memberNameLink"><a href="Student.html#getStudentID--">getStudentID()</a></span> - Method in class <a href="Student.html" title="class in &lt;Unnamed&gt;">Student</a></dt>
124
+<dd>
125
+<div class="block">Return the stident ID of this student.</div>
126
+</dd>
127
+<dt><span class="memberNameLink"><a href="Person.html#getYearOfBirth--">getYearOfBirth()</a></span> - Method in class <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></dt>
128
+<dd>
129
+<div class="block">Return the birth year of this person.</div>
130
+</dd>
131
+</dl>
132
+<a name="I:L">
133
+<!--   -->
134
+</a>
135
+<h2 class="title">L</h2>
136
+<dl>
137
+<dt><span class="memberNameLink"><a href="Database.html#listAll--">listAll()</a></span> - Method in class <a href="Database.html" title="class in &lt;Unnamed&gt;">Database</a></dt>
138
+<dd>
139
+<div class="block">List all the persons currently in the database on standard out.</div>
140
+</dd>
141
+</dl>
142
+<a name="I:P">
143
+<!--   -->
144
+</a>
145
+<h2 class="title">P</h2>
146
+<dl>
147
+<dt><a href="Person.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Person</span></a> - Class in <a href="package-summary.html">&lt;Unnamed&gt;</a></dt>
148
+<dd>
149
+<div class="block">A person class for a simple BlueJ demo program.</div>
150
+</dd>
151
+<dt><span class="memberNameLink"><a href="Person.html#Person-java.lang.String-int-">Person(String, int)</a></span> - Constructor for class <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></dt>
152
+<dd>
153
+<div class="block">Create a person with given name and age.</div>
154
+</dd>
155
+</dl>
156
+<a name="I:S">
157
+<!--   -->
158
+</a>
159
+<h2 class="title">S</h2>
160
+<dl>
161
+<dt><span class="memberNameLink"><a href="Person.html#setAddress-java.lang.String-java.lang.String-java.lang.String-">setAddress(String, String, String)</a></span> - Method in class <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></dt>
162
+<dd>
163
+<div class="block">Set a new address for this person.</div>
164
+</dd>
165
+<dt><span class="memberNameLink"><a href="Person.html#setName-java.lang.String-">setName(String)</a></span> - Method in class <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></dt>
166
+<dd>
167
+<div class="block">Set a new name for this person.</div>
168
+</dd>
169
+<dt><span class="memberNameLink"><a href="Staff.html#setRoom-java.lang.String-">setRoom(String)</a></span> - Method in class <a href="Staff.html" title="class in &lt;Unnamed&gt;">Staff</a></dt>
170
+<dd>
171
+<div class="block">Set a new room number for this person.</div>
172
+</dd>
173
+<dt><span class="memberNameLink"><a href="Person.html#setYearOfBirth-int-">setYearOfBirth(int)</a></span> - Method in class <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></dt>
174
+<dd>
175
+<div class="block">Set a new birth year for this person.</div>
176
+</dd>
177
+<dt><a href="Staff.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Staff</span></a> - Class in <a href="package-summary.html">&lt;Unnamed&gt;</a></dt>
178
+<dd>
179
+<div class="block">A class representing staff members for a simple BlueJ demo program.</div>
180
+</dd>
181
+<dt><span class="memberNameLink"><a href="Staff.html#Staff--">Staff()</a></span> - Constructor for class <a href="Staff.html" title="class in &lt;Unnamed&gt;">Staff</a></dt>
182
+<dd>
183
+<div class="block">Create a staff member with default settings for detail information.</div>
184
+</dd>
185
+<dt><span class="memberNameLink"><a href="Staff.html#Staff-java.lang.String-int-java.lang.String-">Staff(String, int, String)</a></span> - Constructor for class <a href="Staff.html" title="class in &lt;Unnamed&gt;">Staff</a></dt>
186
+<dd>
187
+<div class="block">Create a staff member with given name, year of birth and room
188
+ number.</div>
189
+</dd>
190
+<dt><a href="Student.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Student</span></a> - Class in <a href="package-summary.html">&lt;Unnamed&gt;</a></dt>
191
+<dd>
192
+<div class="block">A class representing students for a simple BlueJ demo program.</div>
193
+</dd>
194
+<dt><span class="memberNameLink"><a href="Student.html#Student--">Student()</a></span> - Constructor for class <a href="Student.html" title="class in &lt;Unnamed&gt;">Student</a></dt>
195
+<dd>
196
+<div class="block">Create a student with default settings for detail information.</div>
197
+</dd>
198
+<dt><span class="memberNameLink"><a href="Student.html#Student-java.lang.String-int-java.lang.String-">Student(String, int, String)</a></span> - Constructor for class <a href="Student.html" title="class in &lt;Unnamed&gt;">Student</a></dt>
199
+<dd>
200
+<div class="block">Create a student with given name, year of birth and student ID</div>
201
+</dd>
202
+</dl>
203
+<a name="I:T">
204
+<!--   -->
205
+</a>
206
+<h2 class="title">T</h2>
207
+<dl>
208
+<dt><span class="memberNameLink"><a href="Address.html#toString--">toString()</a></span> - Method in class <a href="Address.html" title="class in &lt;Unnamed&gt;">Address</a></dt>
209
+<dd>
210
+<div class="block">Return a string representation of this object.</div>
211
+</dd>
212
+<dt><span class="memberNameLink"><a href="Person.html#toString--">toString()</a></span> - Method in class <a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></dt>
213
+<dd>
214
+<div class="block">Return a string representation of this object.</div>
215
+</dd>
216
+<dt><span class="memberNameLink"><a href="Staff.html#toString--">toString()</a></span> - Method in class <a href="Staff.html" title="class in &lt;Unnamed&gt;">Staff</a></dt>
217
+<dd>
218
+<div class="block">Return a string representation of this object.</div>
219
+</dd>
220
+<dt><span class="memberNameLink"><a href="Student.html#toString--">toString()</a></span> - Method in class <a href="Student.html" title="class in &lt;Unnamed&gt;">Student</a></dt>
221
+<dd>
222
+<div class="block">Return a string representation of this object.</div>
223
+</dd>
224
+</dl>
225
+<a href="#I:A">A</a>&nbsp;<a href="#I:D">D</a>&nbsp;<a href="#I:G">G</a>&nbsp;<a href="#I:L">L</a>&nbsp;<a href="#I:P">P</a>&nbsp;<a href="#I:S">S</a>&nbsp;<a href="#I:T">T</a>&nbsp;</div>
226
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
227
+<div class="bottomNav"><a name="navbar.bottom">
228
+<!--   -->
229
+</a>
230
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
231
+<a name="navbar.bottom.firstrow">
232
+<!--   -->
233
+</a>
234
+<ul class="navList" title="Navigation">
235
+<li><a href="package-summary.html">Package</a></li>
236
+<li>Class</li>
237
+<li><a href="overview-tree.html">Tree</a></li>
238
+<li class="navBarCell1Rev">Index</li>
239
+<li><a href="help-doc.html">Help</a></li>
240
+</ul>
241
+</div>
242
+<div class="subNav">
243
+<ul class="navList">
244
+<li>Prev</li>
245
+<li>Next</li>
246
+</ul>
247
+<ul class="navList">
248
+<li><a href="index.html?index-all.html" target="_top">Frames</a></li>
249
+<li><a href="index-all.html" target="_top">No&nbsp;Frames</a></li>
250
+</ul>
251
+<ul class="navList" id="allclasses_navbar_bottom">
252
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
253
+</ul>
254
+<div>
255
+<script type="text/javascript"><!--
256
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
257
+  if(window==top) {
258
+    allClassesLink.style.display = "block";
259
+  }
260
+  else {
261
+    allClassesLink.style.display = "none";
262
+  }
263
+  //-->
264
+</script>
265
+</div>
266
+<a name="skip.navbar.bottom">
267
+<!--   -->
268
+</a></div>
269
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
270
+</body>
271
+</html>

+ 73
- 0
doc/index.html Zobrazit soubor

@@ -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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>people2</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="Address.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="Address.html">Non-frame version</a>.</p>
71
+</noframes>
72
+</frameset>
73
+</html>

+ 57
- 0
doc/logfile.txt Zobrazit soubor

@@ -0,0 +1,57 @@
1
+Project documentation
2
+<---- javadoc command: ---->
3
+/private/var/folders/2r/h0wd6frs6mjg7svdz6xkxchc0000gn/T/AppTranslocation/210A1EA8-1E5C-41DF-826F-EFCF2BD44137/d/BlueJ.app/Contents/JDK/Home/bin/javadoc
4
+-sourcepath
5
+/Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2
6
+-source
7
+1.8
8
+-classpath
9
+/private/var/folders/2r/h0wd6frs6mjg7svdz6xkxchc0000gn/T/AppTranslocation/210A1EA8-1E5C-41DF-826F-EFCF2BD44137/d/BlueJ.app/Contents/Resources/Java/bluejcore.jar:/private/var/folders/2r/h0wd6frs6mjg7svdz6xkxchc0000gn/T/AppTranslocation/210A1EA8-1E5C-41DF-826F-EFCF2BD44137/d/BlueJ.app/Contents/Resources/Java/junit-4.11.jar:/private/var/folders/2r/h0wd6frs6mjg7svdz6xkxchc0000gn/T/AppTranslocation/210A1EA8-1E5C-41DF-826F-EFCF2BD44137/d/BlueJ.app/Contents/Resources/Java/hamcrest-core-1.3.jar:/private/var/folders/2r/h0wd6frs6mjg7svdz6xkxchc0000gn/T/AppTranslocation/210A1EA8-1E5C-41DF-826F-EFCF2BD44137/d/BlueJ.app/Contents/Resources/Java/lang-stride.jar:/private/var/folders/2r/h0wd6frs6mjg7svdz6xkxchc0000gn/T/AppTranslocation/210A1EA8-1E5C-41DF-826F-EFCF2BD44137/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-core.jar:/private/var/folders/2r/h0wd6frs6mjg7svdz6xkxchc0000gn/T/AppTranslocation/210A1EA8-1E5C-41DF-826F-EFCF2BD44137/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-gpio-extension.jar:/private/var/folders/2r/h0wd6frs6mjg7svdz6xkxchc0000gn/T/AppTranslocation/210A1EA8-1E5C-41DF-826F-EFCF2BD44137/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-service.jar:/private/var/folders/2r/h0wd6frs6mjg7svdz6xkxchc0000gn/T/AppTranslocation/210A1EA8-1E5C-41DF-826F-EFCF2BD44137/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-device.jar:/Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2
10
+-d
11
+/Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc
12
+-encoding
13
+UTF-8
14
+-charset
15
+UTF-8
16
+-doctitle
17
+people2
18
+-windowtitle
19
+people2
20
+-author
21
+-version
22
+-nodeprecated
23
+-package
24
+-Xdoclint:none
25
+-link
26
+http://download.oracle.com/javase/8/docs/api/
27
+/Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/Address.java
28
+/Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/Staff.java
29
+/Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/Database.java
30
+/Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/Student.java
31
+/Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/Person.java
32
+<---- end of javadoc command ---->
33
+Loading source file /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/Address.java...
34
+Loading source file /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/Staff.java...
35
+Loading source file /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/Database.java...
36
+Loading source file /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/Student.java...
37
+Loading source file /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/Person.java...
38
+Constructing Javadoc information...
39
+Standard Doclet version 1.8.0_144
40
+Building tree for all the packages and classes...
41
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/Address.html...
42
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/Database.html...
43
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/Person.html...
44
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/Staff.html...
45
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/Student.html...
46
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/package-frame.html...
47
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/package-summary.html...
48
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/package-tree.html...
49
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/constant-values.html...
50
+Building index for all the packages and classes...
51
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/overview-tree.html...
52
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/index-all.html...
53
+Building index for all classes...
54
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/allclasses-frame.html...
55
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/allclasses-noframe.html...
56
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/index.html...
57
+Generating /Users/kristofer/Downloads/BlueJ 4.1.2/examples/people2/doc/help-doc.html...

+ 135
- 0
doc/overview-tree.html Zobrazit soubor

@@ -0,0 +1,135 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Class Hierarchy (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="Class Hierarchy (people2)";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+</script>
23
+<noscript>
24
+<div>JavaScript is disabled on your browser.</div>
25
+</noscript>
26
+<!-- ========= START OF TOP NAVBAR ======= -->
27
+<div class="topNav"><a name="navbar.top">
28
+<!--   -->
29
+</a>
30
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
31
+<a name="navbar.top.firstrow">
32
+<!--   -->
33
+</a>
34
+<ul class="navList" title="Navigation">
35
+<li><a href="package-summary.html">Package</a></li>
36
+<li>Class</li>
37
+<li class="navBarCell1Rev">Tree</li>
38
+<li><a href="index-all.html">Index</a></li>
39
+<li><a href="help-doc.html">Help</a></li>
40
+</ul>
41
+</div>
42
+<div class="subNav">
43
+<ul class="navList">
44
+<li>Prev</li>
45
+<li>Next</li>
46
+</ul>
47
+<ul class="navList">
48
+<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
49
+<li><a href="overview-tree.html" target="_top">No&nbsp;Frames</a></li>
50
+</ul>
51
+<ul class="navList" id="allclasses_navbar_top">
52
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
53
+</ul>
54
+<div>
55
+<script type="text/javascript"><!--
56
+  allClassesLink = document.getElementById("allclasses_navbar_top");
57
+  if(window==top) {
58
+    allClassesLink.style.display = "block";
59
+  }
60
+  else {
61
+    allClassesLink.style.display = "none";
62
+  }
63
+  //-->
64
+</script>
65
+</div>
66
+<a name="skip.navbar.top">
67
+<!--   -->
68
+</a></div>
69
+<!-- ========= END OF TOP NAVBAR ========= -->
70
+<div class="header">
71
+<h1 class="title">Hierarchy For All Packages</h1>
72
+</div>
73
+<div class="contentContainer">
74
+<h2 title="Class Hierarchy">Class Hierarchy</h2>
75
+<ul>
76
+<li type="circle">java.lang.Object
77
+<ul>
78
+<li type="circle"><a href="Address.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Address</span></a></li>
79
+<li type="circle"><a href="Database.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Database</span></a></li>
80
+<li type="circle"><a href="Person.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Person</span></a>
81
+<ul>
82
+<li type="circle"><a href="Staff.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Staff</span></a></li>
83
+<li type="circle"><a href="Student.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Student</span></a></li>
84
+</ul>
85
+</li>
86
+</ul>
87
+</li>
88
+</ul>
89
+</div>
90
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
91
+<div class="bottomNav"><a name="navbar.bottom">
92
+<!--   -->
93
+</a>
94
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
95
+<a name="navbar.bottom.firstrow">
96
+<!--   -->
97
+</a>
98
+<ul class="navList" title="Navigation">
99
+<li><a href="package-summary.html">Package</a></li>
100
+<li>Class</li>
101
+<li class="navBarCell1Rev">Tree</li>
102
+<li><a href="index-all.html">Index</a></li>
103
+<li><a href="help-doc.html">Help</a></li>
104
+</ul>
105
+</div>
106
+<div class="subNav">
107
+<ul class="navList">
108
+<li>Prev</li>
109
+<li>Next</li>
110
+</ul>
111
+<ul class="navList">
112
+<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
113
+<li><a href="overview-tree.html" target="_top">No&nbsp;Frames</a></li>
114
+</ul>
115
+<ul class="navList" id="allclasses_navbar_bottom">
116
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
117
+</ul>
118
+<div>
119
+<script type="text/javascript"><!--
120
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
121
+  if(window==top) {
122
+    allClassesLink.style.display = "block";
123
+  }
124
+  else {
125
+    allClassesLink.style.display = "none";
126
+  }
127
+  //-->
128
+</script>
129
+</div>
130
+<a name="skip.navbar.bottom">
131
+<!--   -->
132
+</a></div>
133
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
134
+</body>
135
+</html>

+ 25
- 0
doc/package-frame.html Zobrazit soubor

@@ -0,0 +1,25 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>&lt;Unnamed&gt; (people2)</title>
8
+<meta name="date" content="2018-04-27">
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="Address.html" title="class in &lt;Unnamed&gt;" target="classFrame">Address</a></li>
18
+<li><a href="Database.html" title="class in &lt;Unnamed&gt;" target="classFrame">Database</a></li>
19
+<li><a href="Person.html" title="class in &lt;Unnamed&gt;" target="classFrame">Person</a></li>
20
+<li><a href="Staff.html" title="class in &lt;Unnamed&gt;" target="classFrame">Staff</a></li>
21
+<li><a href="Student.html" title="class in &lt;Unnamed&gt;" target="classFrame">Student</a></li>
22
+</ul>
23
+</div>
24
+</body>
25
+</html>

+ 1
- 0
doc/package-list Zobrazit soubor

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

+ 163
- 0
doc/package-summary.html Zobrazit soubor

@@ -0,0 +1,163 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title> (people2)</title>
8
+<meta name="date" content="2018-04-27">
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=" (people2)";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+</script>
23
+<noscript>
24
+<div>JavaScript is disabled on your browser.</div>
25
+</noscript>
26
+<!-- ========= START OF TOP NAVBAR ======= -->
27
+<div class="topNav"><a name="navbar.top">
28
+<!--   -->
29
+</a>
30
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
31
+<a name="navbar.top.firstrow">
32
+<!--   -->
33
+</a>
34
+<ul class="navList" title="Navigation">
35
+<li><a href="package-summary.html">Package</a></li>
36
+<li>Class</li>
37
+<li><a href="package-tree.html">Tree</a></li>
38
+<li><a href="index-all.html">Index</a></li>
39
+<li><a href="help-doc.html">Help</a></li>
40
+</ul>
41
+</div>
42
+<div class="subNav">
43
+<ul class="navList">
44
+<li>Prev&nbsp;Package</li>
45
+<li>Next&nbsp;Package</li>
46
+</ul>
47
+<ul class="navList">
48
+<li><a href="index.html?package-summary.html" target="_top">Frames</a></li>
49
+<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
50
+</ul>
51
+<ul class="navList" id="allclasses_navbar_top">
52
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
53
+</ul>
54
+<div>
55
+<script type="text/javascript"><!--
56
+  allClassesLink = document.getElementById("allclasses_navbar_top");
57
+  if(window==top) {
58
+    allClassesLink.style.display = "block";
59
+  }
60
+  else {
61
+    allClassesLink.style.display = "none";
62
+  }
63
+  //-->
64
+</script>
65
+</div>
66
+<a name="skip.navbar.top">
67
+<!--   -->
68
+</a></div>
69
+<!-- ========= END OF TOP NAVBAR ========= -->
70
+<div class="header">
71
+<h1 title="Package" class="title">Package&nbsp;&lt;Unnamed&gt;</h1>
72
+</div>
73
+<div class="contentContainer">
74
+<ul class="blockList">
75
+<li class="blockList">
76
+<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
77
+<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
78
+<tr>
79
+<th class="colFirst" scope="col">Class</th>
80
+<th class="colLast" scope="col">Description</th>
81
+</tr>
82
+<tbody>
83
+<tr class="altColor">
84
+<td class="colFirst"><a href="Address.html" title="class in &lt;Unnamed&gt;">Address</a></td>
85
+<td class="colLast">
86
+<div class="block">Class Address - used to store address details for a post address</div>
87
+</td>
88
+</tr>
89
+<tr class="rowColor">
90
+<td class="colFirst"><a href="Database.html" title="class in &lt;Unnamed&gt;">Database</a></td>
91
+<td class="colLast">
92
+<div class="block">A very simple database of people in a university.</div>
93
+</td>
94
+</tr>
95
+<tr class="altColor">
96
+<td class="colFirst"><a href="Person.html" title="class in &lt;Unnamed&gt;">Person</a></td>
97
+<td class="colLast">
98
+<div class="block">A person class for a simple BlueJ demo program.</div>
99
+</td>
100
+</tr>
101
+<tr class="rowColor">
102
+<td class="colFirst"><a href="Staff.html" title="class in &lt;Unnamed&gt;">Staff</a></td>
103
+<td class="colLast">
104
+<div class="block">A class representing staff members for a simple BlueJ demo program.</div>
105
+</td>
106
+</tr>
107
+<tr class="altColor">
108
+<td class="colFirst"><a href="Student.html" title="class in &lt;Unnamed&gt;">Student</a></td>
109
+<td class="colLast">
110
+<div class="block">A class representing students for a simple BlueJ demo program.</div>
111
+</td>
112
+</tr>
113
+</tbody>
114
+</table>
115
+</li>
116
+</ul>
117
+</div>
118
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
119
+<div class="bottomNav"><a name="navbar.bottom">
120
+<!--   -->
121
+</a>
122
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
123
+<a name="navbar.bottom.firstrow">
124
+<!--   -->
125
+</a>
126
+<ul class="navList" title="Navigation">
127
+<li><a href="package-summary.html">Package</a></li>
128
+<li>Class</li>
129
+<li><a href="package-tree.html">Tree</a></li>
130
+<li><a href="index-all.html">Index</a></li>
131
+<li><a href="help-doc.html">Help</a></li>
132
+</ul>
133
+</div>
134
+<div class="subNav">
135
+<ul class="navList">
136
+<li>Prev&nbsp;Package</li>
137
+<li>Next&nbsp;Package</li>
138
+</ul>
139
+<ul class="navList">
140
+<li><a href="index.html?package-summary.html" target="_top">Frames</a></li>
141
+<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
142
+</ul>
143
+<ul class="navList" id="allclasses_navbar_bottom">
144
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
145
+</ul>
146
+<div>
147
+<script type="text/javascript"><!--
148
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
149
+  if(window==top) {
150
+    allClassesLink.style.display = "block";
151
+  }
152
+  else {
153
+    allClassesLink.style.display = "none";
154
+  }
155
+  //-->
156
+</script>
157
+</div>
158
+<a name="skip.navbar.bottom">
159
+<!--   -->
160
+</a></div>
161
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
162
+</body>
163
+</html>

+ 135
- 0
doc/package-tree.html Zobrazit soubor

@@ -0,0 +1,135 @@
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 Fri Apr 27 10:24:20 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title> Class Hierarchy (people2)</title>
8
+<meta name="date" content="2018-04-27">
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=" Class Hierarchy (people2)";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+</script>
23
+<noscript>
24
+<div>JavaScript is disabled on your browser.</div>
25
+</noscript>
26
+<!-- ========= START OF TOP NAVBAR ======= -->
27
+<div class="topNav"><a name="navbar.top">
28
+<!--   -->
29
+</a>
30
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
31
+<a name="navbar.top.firstrow">
32
+<!--   -->
33
+</a>
34
+<ul class="navList" title="Navigation">
35
+<li><a href="package-summary.html">Package</a></li>
36
+<li>Class</li>
37
+<li class="navBarCell1Rev">Tree</li>
38
+<li><a href="index-all.html">Index</a></li>
39
+<li><a href="help-doc.html">Help</a></li>
40
+</ul>
41
+</div>
42
+<div class="subNav">
43
+<ul class="navList">
44
+<li>Prev</li>
45
+<li>Next</li>
46
+</ul>
47
+<ul class="navList">
48
+<li><a href="index.html?package-tree.html" target="_top">Frames</a></li>
49
+<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
50
+</ul>
51
+<ul class="navList" id="allclasses_navbar_top">
52
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
53
+</ul>
54
+<div>
55
+<script type="text/javascript"><!--
56
+  allClassesLink = document.getElementById("allclasses_navbar_top");
57
+  if(window==top) {
58
+    allClassesLink.style.display = "block";
59
+  }
60
+  else {
61
+    allClassesLink.style.display = "none";
62
+  }
63
+  //-->
64
+</script>
65
+</div>
66
+<a name="skip.navbar.top">
67
+<!--   -->
68
+</a></div>
69
+<!-- ========= END OF TOP NAVBAR ========= -->
70
+<div class="header">
71
+<h1 class="title">Hierarchy For Package &lt;Unnamed&gt;</h1>
72
+</div>
73
+<div class="contentContainer">
74
+<h2 title="Class Hierarchy">Class Hierarchy</h2>
75
+<ul>
76
+<li type="circle">java.lang.Object
77
+<ul>
78
+<li type="circle"><a href="Address.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Address</span></a></li>
79
+<li type="circle"><a href="Database.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Database</span></a></li>
80
+<li type="circle"><a href="Person.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Person</span></a>
81
+<ul>
82
+<li type="circle"><a href="Staff.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Staff</span></a></li>
83
+<li type="circle"><a href="Student.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Student</span></a></li>
84
+</ul>
85
+</li>
86
+</ul>
87
+</li>
88
+</ul>
89
+</div>
90
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
91
+<div class="bottomNav"><a name="navbar.bottom">
92
+<!--   -->
93
+</a>
94
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
95
+<a name="navbar.bottom.firstrow">
96
+<!--   -->
97
+</a>
98
+<ul class="navList" title="Navigation">
99
+<li><a href="package-summary.html">Package</a></li>
100
+<li>Class</li>
101
+<li class="navBarCell1Rev">Tree</li>
102
+<li><a href="index-all.html">Index</a></li>
103
+<li><a href="help-doc.html">Help</a></li>
104
+</ul>
105
+</div>
106
+<div class="subNav">
107
+<ul class="navList">
108
+<li>Prev</li>
109
+<li>Next</li>
110
+</ul>
111
+<ul class="navList">
112
+<li><a href="index.html?package-tree.html" target="_top">Frames</a></li>
113
+<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
114
+</ul>
115
+<ul class="navList" id="allclasses_navbar_bottom">
116
+<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
117
+</ul>
118
+<div>
119
+<script type="text/javascript"><!--
120
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
121
+  if(window==top) {
122
+    allClassesLink.style.display = "block";
123
+  }
124
+  else {
125
+    allClassesLink.style.display = "none";
126
+  }
127
+  //-->
128
+</script>
129
+</div>
130
+<a name="skip.navbar.bottom">
131
+<!--   -->
132
+</a></div>
133
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
134
+</body>
135
+</html>

+ 30
- 0
doc/script.js Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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
+}

+ 66
- 0
package.bluej Zobrazit soubor

@@ -0,0 +1,66 @@
1
+#BlueJ package file
2
+dependency1.from=Database
3
+dependency1.to=Person
4
+dependency1.type=UsesDependency
5
+dependency2.from=Person
6
+dependency2.to=Address
7
+dependency2.type=UsesDependency
8
+editor.fx.0.height=722
9
+editor.fx.0.width=800
10
+editor.fx.0.x=2941
11
+editor.fx.0.y=59
12
+objectbench.height=106
13
+objectbench.width=461
14
+package.divider.horizontal=0.6
15
+package.divider.vertical=0.7915129151291513
16
+package.editor.height=422
17
+package.editor.width=674
18
+package.editor.x=2110
19
+package.editor.y=77
20
+package.frame.height=600
21
+package.frame.width=800
22
+package.numDependencies=2
23
+package.numTargets=5
24
+package.showExtends=true
25
+package.showUses=true
26
+project.charset=UTF-8
27
+readme.height=58
28
+readme.name=@README
29
+readme.width=47
30
+readme.x=10
31
+readme.y=10
32
+target1.height=50
33
+target1.name=Address
34
+target1.showInterface=false
35
+target1.type=ClassTarget
36
+target1.width=80
37
+target1.x=300
38
+target1.y=20
39
+target2.height=50
40
+target2.name=Staff
41
+target2.showInterface=false
42
+target2.type=ClassTarget
43
+target2.width=80
44
+target2.x=130
45
+target2.y=220
46
+target3.height=50
47
+target3.name=Database
48
+target3.showInterface=false
49
+target3.type=ClassTarget
50
+target3.width=80
51
+target3.x=90
52
+target3.y=40
53
+target4.height=50
54
+target4.name=Student
55
+target4.showInterface=false
56
+target4.type=ClassTarget
57
+target4.width=80
58
+target4.x=260
59
+target4.y=220
60
+target5.height=50
61
+target5.name=Person
62
+target5.showInterface=false
63
+target5.type=AbstractTarget
64
+target5.width=80
65
+target5.x=190
66
+target5.y=110