Bladeren bron

Updated JavaDocs and JUnit tests for all non-UI classes

master
BinHong Lee 7 jaren geleden
bovenliggende
commit
0b6532dd73
91 gewijzigde bestanden met toevoegingen van 11228 en 4045 verwijderingen
  1. +2
    -0
      .gitignore
  2. +10
    -4
      docs/allclasses-frame.html
  3. +10
    -4
      docs/allclasses-noframe.html
  4. +6
    -12
      docs/constant-values.html
  5. +0
    -124
      docs/deprecated-list.html
  6. +7
    -21
      docs/help-doc.html
  7. +0
    -507
      docs/index-all.html
  8. +243
    -0
      docs/index-files/index-1.html
  9. +123
    -0
      docs/index-files/index-10.html
  10. +139
    -0
      docs/index-files/index-11.html
  11. +141
    -0
      docs/index-files/index-12.html
  12. +179
    -0
      docs/index-files/index-13.html
  13. +137
    -0
      docs/index-files/index-14.html
  14. +123
    -0
      docs/index-files/index-15.html
  15. +187
    -0
      docs/index-files/index-16.html
  16. +287
    -0
      docs/index-files/index-17.html
  17. +193
    -0
      docs/index-files/index-18.html
  18. +215
    -0
      docs/index-files/index-19.html
  19. +193
    -0
      docs/index-files/index-2.html
  20. +129
    -0
      docs/index-files/index-20.html
  21. +143
    -0
      docs/index-files/index-3.html
  22. +157
    -0
      docs/index-files/index-4.html
  23. +125
    -0
      docs/index-files/index-5.html
  24. +245
    -0
      docs/index-files/index-6.html
  25. +145
    -0
      docs/index-files/index-7.html
  26. +161
    -0
      docs/index-files/index-8.html
  27. +123
    -0
      docs/index-files/index-9.html
  28. +2
    -3
      docs/index.html
  29. +148
    -78
      docs/libsys/Book.html
  30. +141
    -56
      docs/libsys/BookFactory.html
  31. +451
    -0
      docs/libsys/BookFactoryTest.html
  32. +473
    -0
      docs/libsys/BookTest.html
  33. +283
    -65
      docs/libsys/EditBookDialog.html
  34. +346
    -76
      docs/libsys/EditUserDialog.html
  35. +447
    -0
      docs/libsys/Handler.html
  36. +467
    -0
      docs/libsys/HandlerTest.html
  37. +81
    -24
      docs/libsys/Main.html
  38. +641
    -64
      docs/libsys/MainGUI.html
  39. +278
    -73
      docs/libsys/NewBookDialog.html
  40. +280
    -75
      docs/libsys/NewUserDialog.html
  41. +231
    -62
      docs/libsys/RentDialog.html
  42. +244
    -62
      docs/libsys/ReturnDialog.html
  43. +152
    -67
      docs/libsys/Settings.html
  44. +343
    -86
      docs/libsys/SettingsDialog.html
  45. +444
    -0
      docs/libsys/SettingsTest.html
  46. +151
    -81
      docs/libsys/User.html
  47. +143
    -58
      docs/libsys/UserFactory.html
  48. +451
    -0
      docs/libsys/UserFactoryTest.html
  49. +441
    -0
      docs/libsys/UserTest.html
  50. +0
    -195
      docs/libsys/class-use/Book.html
  51. +0
    -152
      docs/libsys/class-use/BookFactory.html
  52. +0
    -124
      docs/libsys/class-use/EditBookDialog.html
  53. +0
    -124
      docs/libsys/class-use/EditUserDialog.html
  54. +0
    -124
      docs/libsys/class-use/Main.html
  55. +0
    -124
      docs/libsys/class-use/MainGUI.html
  56. +0
    -124
      docs/libsys/class-use/NewBookDialog.html
  57. +0
    -124
      docs/libsys/class-use/NewUserDialog.html
  58. +0
    -124
      docs/libsys/class-use/RentDialog.html
  59. +0
    -124
      docs/libsys/class-use/ReturnDialog.html
  60. +0
    -157
      docs/libsys/class-use/Settings.html
  61. +0
    -124
      docs/libsys/class-use/SettingsDialog.html
  62. +0
    -196
      docs/libsys/class-use/User.html
  63. +0
    -124
      docs/libsys/class-use/UserFactory.html
  64. +10
    -4
      docs/libsys/package-frame.html
  65. +91
    -27
      docs/libsys/package-summary.html
  66. +29
    -20
      docs/libsys/package-tree.html
  67. +0
    -151
      docs/libsys/package-use.html
  68. +29
    -20
      docs/overview-tree.html
  69. +104
    -110
      docs/serialized-form.html
  70. +6
    -4
      src/main/java/libsys/Book.java
  71. +19
    -28
      src/main/java/libsys/BookFactory.java
  72. +3
    -0
      src/main/java/libsys/EditBookDialog.java
  73. +3
    -0
      src/main/java/libsys/EditUserDialog.java
  74. +55
    -54
      src/main/java/libsys/Handler.java
  75. +3
    -0
      src/main/java/libsys/Main.java
  76. +3
    -0
      src/main/java/libsys/MainGUI.java
  77. +3
    -0
      src/main/java/libsys/NewBookDialog.java
  78. +3
    -0
      src/main/java/libsys/NewUserDialog.java
  79. +3
    -0
      src/main/java/libsys/RentDialog.java
  80. +3
    -0
      src/main/java/libsys/ReturnDialog.java
  81. +9
    -7
      src/main/java/libsys/Settings.java
  82. +3
    -0
      src/main/java/libsys/SettingsDialog.java
  83. +7
    -8
      src/main/java/libsys/User.java
  84. +24
    -32
      src/main/java/libsys/UserFactory.java
  85. +123
    -0
      src/test/java/libsys/BookFactoryTest.java
  86. +126
    -0
      src/test/java/libsys/BookTest.java
  87. +170
    -0
      src/test/java/libsys/HandlerTest.java
  88. +96
    -0
      src/test/java/libsys/SettingsTest.java
  89. +134
    -0
      src/test/java/libsys/UserFactoryTest.java
  90. +108
    -0
      src/test/java/libsys/UserTest.java
  91. +0
    -38
      src/test/java/libsys/test.java

+ 2
- 0
.gitignore Bestand weergeven

@@ -1,3 +1,5 @@
.idea
*.iml
settings.txt
*.json



+ 10
- 4
docs/allclasses-frame.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>All Classes (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>All Classes (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
@@ -15,8 +14,12 @@
<ul>
<li><a href="libsys/Book.html" title="class in libsys" target="classFrame">Book</a></li>
<li><a href="libsys/BookFactory.html" title="class in libsys" target="classFrame">BookFactory</a></li>
<li><a href="libsys/BookFactoryTest.html" title="class in libsys" target="classFrame">BookFactoryTest</a></li>
<li><a href="libsys/BookTest.html" title="class in libsys" target="classFrame">BookTest</a></li>
<li><a href="libsys/EditBookDialog.html" title="class in libsys" target="classFrame">EditBookDialog</a></li>
<li><a href="libsys/EditUserDialog.html" title="class in libsys" target="classFrame">EditUserDialog</a></li>
<li><a href="libsys/Handler.html" title="class in libsys" target="classFrame">Handler</a></li>
<li><a href="libsys/HandlerTest.html" title="class in libsys" target="classFrame">HandlerTest</a></li>
<li><a href="libsys/Main.html" title="class in libsys" target="classFrame">Main</a></li>
<li><a href="libsys/MainGUI.html" title="class in libsys" target="classFrame">MainGUI</a></li>
<li><a href="libsys/NewBookDialog.html" title="class in libsys" target="classFrame">NewBookDialog</a></li>
@@ -25,8 +28,11 @@
<li><a href="libsys/ReturnDialog.html" title="class in libsys" target="classFrame">ReturnDialog</a></li>
<li><a href="libsys/Settings.html" title="class in libsys" target="classFrame">Settings</a></li>
<li><a href="libsys/SettingsDialog.html" title="class in libsys" target="classFrame">SettingsDialog</a></li>
<li><a href="libsys/SettingsTest.html" title="class in libsys" target="classFrame">SettingsTest</a></li>
<li><a href="libsys/User.html" title="class in libsys" target="classFrame">User</a></li>
<li><a href="libsys/UserFactory.html" title="class in libsys" target="classFrame">UserFactory</a></li>
<li><a href="libsys/UserFactoryTest.html" title="class in libsys" target="classFrame">UserFactoryTest</a></li>
<li><a href="libsys/UserTest.html" title="class in libsys" target="classFrame">UserTest</a></li>
</ul>
</div>
</body>


+ 10
- 4
docs/allclasses-noframe.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>All Classes (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>All Classes (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
@@ -15,8 +14,12 @@
<ul>
<li><a href="libsys/Book.html" title="class in libsys">Book</a></li>
<li><a href="libsys/BookFactory.html" title="class in libsys">BookFactory</a></li>
<li><a href="libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></li>
<li><a href="libsys/BookTest.html" title="class in libsys">BookTest</a></li>
<li><a href="libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></li>
<li><a href="libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></li>
<li><a href="libsys/Handler.html" title="class in libsys">Handler</a></li>
<li><a href="libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></li>
<li><a href="libsys/Main.html" title="class in libsys">Main</a></li>
<li><a href="libsys/MainGUI.html" title="class in libsys">MainGUI</a></li>
<li><a href="libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></li>
@@ -25,8 +28,11 @@
<li><a href="libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></li>
<li><a href="libsys/Settings.html" title="class in libsys">Settings</a></li>
<li><a href="libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></li>
<li><a href="libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></li>
<li><a href="libsys/User.html" title="class in libsys">User</a></li>
<li><a href="libsys/UserFactory.html" title="class in libsys">UserFactory</a></li>
<li><a href="libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></li>
<li><a href="libsys/UserTest.html" title="class in libsys">UserTest</a></li>
</ul>
</div>
</body>


+ 6
- 12
docs/constant-values.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Constant Field Values (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>Constant Field Values (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
@@ -13,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (LibrarySystem 1.0 API)";
parent.document.title="Constant Field Values (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
@@ -34,10 +33,8 @@
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="libsys/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
@@ -84,10 +81,8 @@
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="libsys/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
@@ -119,6 +114,5 @@
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/deprecated-list.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Deprecated List (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Deprecated</li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
<li><a href="deprecated-list.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Deprecated API" class="title">Deprecated API</h1>
<h2 title="Contents">Contents</h2>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Deprecated</li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
<li><a href="deprecated-list.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 7
- 21
docs/help-doc.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>API Help (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>API Help (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
@@ -13,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (LibrarySystem 1.0 API)";
parent.document.title="API Help (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
@@ -34,10 +33,8 @@
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="libsys/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
</ul>
</div>
@@ -133,10 +130,6 @@
</ul>
</li>
<li class="blockList">
<h2>Use</h2>
<p>Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.</p>
</li>
<li class="blockList">
<h2>Tree (Class Hierarchy)</h2>
<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>
<ul>
@@ -145,12 +138,8 @@
</ul>
</li>
<li class="blockList">
<h2>Deprecated API</h2>
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
</li>
<li class="blockList">
<h2>Index</h2>
<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
<p>The <a href="index-files/index-1.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
</li>
<li class="blockList">
<h2>Prev/Next</h2>
@@ -185,10 +174,8 @@
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="libsys/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
</ul>
</div>
@@ -220,6 +207,5 @@
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 507
docs/index-all.html Bestand weergeven

@@ -1,507 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="libsys/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?index-all.html" target="_top">Frames</a></li>
<li><a href="index-all.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="#I:B">B</a>&nbsp;<a href="#I:E">E</a>&nbsp;<a href="#I:G">G</a>&nbsp;<a href="#I:L">L</a>&nbsp;<a href="#I:M">M</a>&nbsp;<a href="#I:N">N</a>&nbsp;<a href="#I:O">O</a>&nbsp;<a href="#I:R">R</a>&nbsp;<a href="#I:S">S</a>&nbsp;<a href="#I:T">T</a>&nbsp;<a href="#I:U">U</a>&nbsp;<a name="I:B">
<!-- -->
</a>
<h2 class="title">B</h2>
<dl>
<dt><a href="libsys/Book.html" title="class in libsys"><span class="typeNameLink">Book</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/Book.html#Book-int-">Book(int)</a></span> - Constructor for class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Create new Book with given id (Usually used as placeholders)</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Book.html#Book-java.lang.String-int-java.lang.String-">Book(String, int, String)</a></span> - Constructor for class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Create new Book with given title, id and status (Usually used for new Book creation)</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Book.html#Book-int-java.lang.String-java.lang.String-int:A-">Book(int, String, String, int[])</a></span> - Constructor for class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Create new Book with given id, title, status and dueDate (Usually used for initialization from database)</div>
</dd>
<dt><a href="libsys/BookFactory.html" title="class in libsys"><span class="typeNameLink">BookFactory</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/BookFactory.html#BookFactory--">BookFactory()</a></span> - Constructor for class libsys.<a href="libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Create a new empty BookFactory</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/BookFactory.html#BookFactory-java.lang.String-">BookFactory(String)</a></span> - Constructor for class libsys.<a href="libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Create a new BookFactory and fill it with information from a JSON file</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#bookStatus--">bookStatus()</a></span> - Method in class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Get Book ids of the books</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#borrowNewBook-int-">borrowNewBook(int)</a></span> - Method in class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">User borrows a Book</div>
</dd>
</dl>
<a name="I:E">
<!-- -->
</a>
<h2 class="title">E</h2>
<dl>
<dt><a href="libsys/EditBookDialog.html" title="class in libsys"><span class="typeNameLink">EditBookDialog</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/EditBookDialog.html#EditBookDialog-java.awt.Frame-boolean-libsys.Book-">EditBookDialog(Frame, boolean, Book)</a></span> - Constructor for class libsys.<a href="libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>
<div class="block">Create new EditBookDialog</div>
</dd>
<dt><a href="libsys/EditUserDialog.html" title="class in libsys"><span class="typeNameLink">EditUserDialog</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/EditUserDialog.html#EditUserDialog-java.awt.Frame-boolean-libsys.User-libsys.BookFactory-">EditUserDialog(Frame, boolean, User, BookFactory)</a></span> - Constructor for class libsys.<a href="libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>
<div class="block">Creates new EditUserDialog</div>
</dd>
</dl>
<a name="I:G">
<!-- -->
</a>
<h2 class="title">G</h2>
<dl>
<dt><span class="memberNameLink"><a href="libsys/Settings.html#get-java.lang.String-">get(String)</a></span> - Method in class libsys.<a href="libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Get the value associated to the field name</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/BookFactory.html#getBook-int-">getBook(int)</a></span> - Method in class libsys.<a href="libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Looks for a Book with the given id</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/BookFactory.html#getBook-java.lang.String-">getBook(String)</a></span> - Method in class libsys.<a href="libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Linear search through the array list for Book with the given Title</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/SettingsDialog.html#getBooksFilename--">getBooksFilename()</a></span> - Method in class libsys.<a href="libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>
<div class="block">Get the new Books file name</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Book.html#getDueDate--">getDueDate()</a></span> - Method in class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Returns the due date of the Book</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Book.html#getId--">getId()</a></span> - Method in class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Returns the id of the Book</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#getId--">getId()</a></span> - Method in class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Gets id of this User</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Settings.html#getKey-int-">getKey(int)</a></span> - Method in class libsys.<a href="libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Get the field name from that specific location in the array list</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/NewUserDialog.html#getLimit--">getLimit()</a></span> - Method in class libsys.<a href="libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>
<div class="block">Get the limit of the new User</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#getLimit--">getLimit()</a></span> - Method in class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Gets limit of Book this User can borrow</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/NewUserDialog.html#getName--">getName()</a></span> - Method in class libsys.<a href="libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>
<div class="block">Get the name of the new User</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#getName--">getName()</a></span> - Method in class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Gets name of this User</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/EditUserDialog.html#getNewLimit--">getNewLimit()</a></span> - Method in class libsys.<a href="libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>
<div class="block">Returns the limit from the limitTxtField</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/EditBookDialog.html#getNewName--">getNewName()</a></span> - Method in class libsys.<a href="libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>
<div class="block">Returns the name from the nameTxtField</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/EditUserDialog.html#getNewName--">getNewName()</a></span> - Method in class libsys.<a href="libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>
<div class="block">Returns the name from the nameTxtField</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/EditBookDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>
<div class="block">Returns if the user selected "Save" or "Cancel"</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/EditUserDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>
<div class="block">Returns if the user selected "Save" or "Cancel"</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/NewBookDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>
<div class="block">Get the return status</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/NewUserDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>
<div class="block">Get the return status</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/RentDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>
<div class="block">Get the return status</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/ReturnDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>
<div class="block">Get the return status</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/SettingsDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>
<div class="block">Get the return status</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Book.html#getStatus--">getStatus()</a></span> - Method in class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Returns the status of the Book</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/NewBookDialog.html#getStatus--">getStatus()</a></span> - Method in class libsys.<a href="libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>
<div class="block">Get the status of the new Book</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Book.html#getTitle--">getTitle()</a></span> - Method in class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Returns the title of the Book</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/NewBookDialog.html#getTitle--">getTitle()</a></span> - Method in class libsys.<a href="libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>
<div class="block">Get the name of the new Book</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/SettingsDialog.html#getTitle--">getTitle()</a></span> - Method in class libsys.<a href="libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>
<div class="block">Get the new title for the MainGUi</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/UserFactory.html#getUser-java.lang.String-">getUser(String)</a></span> - Method in class libsys.<a href="libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Looks for the User with the given name</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/UserFactory.html#getUser-int-">getUser(int)</a></span> - Method in class libsys.<a href="libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Looks for a User with the given id</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/SettingsDialog.html#getUsersFilename--">getUsersFilename()</a></span> - Method in class libsys.<a href="libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>
<div class="block">Get the new Users file name</div>
</dd>
</dl>
<a name="I:L">
<!-- -->
</a>
<h2 class="title">L</h2>
<dl>
<dt><a href="libsys/package-summary.html">libsys</a> - package libsys</dt>
<dd>&nbsp;</dd>
</dl>
<a name="I:M">
<!-- -->
</a>
<h2 class="title">M</h2>
<dl>
<dt><a href="libsys/Main.html" title="class in libsys"><span class="typeNameLink">Main</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/Main.html#Main--">Main()</a></span> - Constructor for class libsys.<a href="libsys/Main.html" title="class in libsys">Main</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/Main.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class libsys.<a href="libsys/Main.html" title="class in libsys">Main</a></dt>
<dd>
<div class="block">Start the applicationn</div>
</dd>
<dt><a href="libsys/MainGUI.html" title="class in libsys"><span class="typeNameLink">MainGUI</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/MainGUI.html#MainGUI-libsys.Handler-libsys.Settings-">MainGUI(Handler, Settings)</a></span> - Constructor for class libsys.<a href="libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>
<div class="block">Creates a new MainGUI</div>
</dd>
</dl>
<a name="I:N">
<!-- -->
</a>
<h2 class="title">N</h2>
<dl>
<dt><span class="memberNameLink"><a href="libsys/BookFactory.html#newBook-java.lang.String-java.lang.String-">newBook(String, String)</a></span> - Method in class libsys.<a href="libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Adds a new Book into this class</div>
</dd>
<dt><a href="libsys/NewBookDialog.html" title="class in libsys"><span class="typeNameLink">NewBookDialog</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/NewBookDialog.html#NewBookDialog-java.awt.Frame-boolean-">NewBookDialog(Frame, boolean)</a></span> - Constructor for class libsys.<a href="libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>
<div class="block">Creates new form NewBookDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/UserFactory.html#newUser-java.lang.String-int-">newUser(String, int)</a></span> - Method in class libsys.<a href="libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Adds a new User into this class</div>
</dd>
<dt><a href="libsys/NewUserDialog.html" title="class in libsys"><span class="typeNameLink">NewUserDialog</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/NewUserDialog.html#NewUserDialog-java.awt.Frame-boolean-">NewUserDialog(Frame, boolean)</a></span> - Constructor for class libsys.<a href="libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>
<div class="block">Creates new form NewUserDialog</div>
</dd>
</dl>
<a name="I:O">
<!-- -->
</a>
<h2 class="title">O</h2>
<dl>
<dt><span class="memberNameLink"><a href="libsys/Book.html#overdueFine-int:A-">overdueFine(int[])</a></span> - Method in class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Calculate the overdue fine</div>
</dd>
</dl>
<a name="I:R">
<!-- -->
</a>
<h2 class="title">R</h2>
<dl>
<dt><span class="memberNameLink"><a href="libsys/Book.html#rent-int:A-">rent(int[])</a></span> - Method in class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Call to rent book, return if renting is successful</div>
</dd>
<dt><a href="libsys/RentDialog.html" title="class in libsys"><span class="typeNameLink">RentDialog</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/RentDialog.html#RentDialog-java.awt.Frame-boolean-libsys.Handler-">RentDialog(Frame, boolean, Handler)</a></span> - Constructor for class libsys.<a href="libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>
<div class="block">Creates new form RentDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#returnBook-int-">returnBook(int)</a></span> - Method in class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">User returns a Book</div>
</dd>
<dt><a href="libsys/ReturnDialog.html" title="class in libsys"><span class="typeNameLink">ReturnDialog</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/ReturnDialog.html#ReturnDialog-java.awt.Frame-boolean-libsys.Handler-int-">ReturnDialog(Frame, boolean, Handler, int)</a></span> - Constructor for class libsys.<a href="libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>
<div class="block">Creates a new ReturnDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Book.html#returned--">returned()</a></span> - Method in class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Return the Book to the shelf</div>
</dd>
</dl>
<a name="I:S">
<!-- -->
</a>
<h2 class="title">S</h2>
<dl>
<dt><span class="memberNameLink"><a href="libsys/BookFactory.html#setBookFileName-java.lang.String-">setBookFileName(String)</a></span> - Method in class libsys.<a href="libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Update the output filename for the object</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Settings.html#setBooksFilename-java.lang.String-">setBooksFilename(String)</a></span> - Method in class libsys.<a href="libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Change the file name for the Books</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#setLimit-int-">setLimit(int)</a></span> - Method in class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Change limit of this User</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#setName-java.lang.String-">setName(String)</a></span> - Method in class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Change name of this User</div>
</dd>
<dt><a href="libsys/Settings.html" title="class in libsys"><span class="typeNameLink">Settings</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/Settings.html#Settings-java.lang.String-">Settings(String)</a></span> - Constructor for class libsys.<a href="libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Creates new Settings importing information from the given file name</div>
</dd>
<dt><a href="libsys/SettingsDialog.html" title="class in libsys"><span class="typeNameLink">SettingsDialog</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/SettingsDialog.html#SettingsDialog-java.awt.Frame-boolean-libsys.Settings-">SettingsDialog(Frame, boolean, Settings)</a></span> - Constructor for class libsys.<a href="libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>
<div class="block">Creates new SettingsDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Book.html#setTitle-java.lang.String-">setTitle(String)</a></span> - Method in class libsys.<a href="libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Set the title to the given title</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Settings.html#setTitle-java.lang.String-">setTitle(String)</a></span> - Method in class libsys.<a href="libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Change the title of the application</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/UserFactory.html#setUserFileName-java.lang.String-">setUserFileName(String)</a></span> - Method in class libsys.<a href="libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Update the output filename for the object</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Settings.html#setUsersFilename-java.lang.String-">setUsersFilename(String)</a></span> - Method in class libsys.<a href="libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Change the file name for the Users</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/Settings.html#size--">size()</a></span> - Method in class libsys.<a href="libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Amount of fields in the settings</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#status--">status()</a></span> - Method in class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Check status of the User</div>
</dd>
</dl>
<a name="I:T">
<!-- -->
</a>
<h2 class="title">T</h2>
<dl>
<dt><span class="memberNameLink"><a href="libsys/Settings.html#toFile--">toFile()</a></span> - Method in class libsys.<a href="libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Save the settings to the given input file</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/BookFactory.html#toJsonFile--">toJsonFile()</a></span> - Method in class libsys.<a href="libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "books.json")</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/UserFactory.html#toJsonFile--">toJsonFile()</a></span> - Method in class libsys.<a href="libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "users.json")</div>
</dd>
</dl>
<a name="I:U">
<!-- -->
</a>
<h2 class="title">U</h2>
<dl>
<dt><span class="memberNameLink"><a href="libsys/BookFactory.html#update-libsys.Book-libsys.Book-">update(Book, Book)</a></span> - Method in class libsys.<a href="libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Replacing a Book in the array list with a new Book</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/UserFactory.html#update-libsys.User-libsys.User-">update(User, User)</a></span> - Method in class libsys.<a href="libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Replacing a User in the array list with a new User</div>
</dd>
<dt><a href="libsys/User.html" title="class in libsys"><span class="typeNameLink">User</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#User-java.lang.String-int-int-">User(String, int, int)</a></span> - Constructor for class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Creates a new User with name, id and limit (usually used to add new User)</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/User.html#User-java.lang.String-int-int-java.util.ArrayList-">User(String, int, int, ArrayList&lt;Integer&gt;)</a></span> - Constructor for class libsys.<a href="libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Creates a new User with name, id, limit and books (usually used to initialize from database)</div>
</dd>
<dt><a href="libsys/UserFactory.html" title="class in libsys"><span class="typeNameLink">UserFactory</span></a> - Class in <a href="libsys/package-summary.html">libsys</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="libsys/UserFactory.html#UserFactory--">UserFactory()</a></span> - Constructor for class libsys.<a href="libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Create a new empty UserFactory</div>
</dd>
<dt><span class="memberNameLink"><a href="libsys/UserFactory.html#UserFactory-java.lang.String-">UserFactory(String)</a></span> - Constructor for class libsys.<a href="libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Create a new UserFactory and fill it with information from a JSON file</div>
</dd>
</dl>
<a href="#I:B">B</a>&nbsp;<a href="#I:E">E</a>&nbsp;<a href="#I:G">G</a>&nbsp;<a href="#I:L">L</a>&nbsp;<a href="#I:M">M</a>&nbsp;<a href="#I:N">N</a>&nbsp;<a href="#I:O">O</a>&nbsp;<a href="#I:R">R</a>&nbsp;<a href="#I:S">S</a>&nbsp;<a href="#I:T">T</a>&nbsp;<a href="#I:U">U</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="libsys/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?index-all.html" target="_top">Frames</a></li>
<li><a href="index-all.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 243
- 0
docs/index-files/index-1.html Bestand weergeven

@@ -0,0 +1,243 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>B-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="B-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Letter</li>
<li><a href="index-2.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-1.html" target="_top">Frames</a></li>
<li><a href="index-1.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:B">
<!-- -->
</a>
<h2 class="title">B</h2>
<dl>
<dt><a href="../libsys/Book.html" title="class in libsys"><span class="typeNameLink">Book</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Book object</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#Book-int-">Book(int)</a></span> - Constructor for class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Create new Book with given id (Usually used as placeholders)</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#Book-java.lang.String-int-java.lang.String-">Book(String, int, String)</a></span> - Constructor for class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Create new Book with given title, id and status (Usually used for new Book creation)</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#Book-int-java.lang.String-java.lang.String-int:A-">Book(int, String, String, int[])</a></span> - Constructor for class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Create new Book with given id, title, status and dueDate (Usually used for initialization from database)</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#book">book</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#book">book</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#book1">book1</a></span> - Variable in class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#book2">book2</a></span> - Variable in class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#bookDueDate">bookDueDate</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#bookExist">bookExist</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/BookFactory.html" title="class in libsys"><span class="typeNameLink">BookFactory</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Handles all the Book(s)</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#BookFactory--">BookFactory()</a></span> - Constructor for class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Create a new empty BookFactory</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#BookFactory-java.lang.String-">BookFactory(String)</a></span> - Constructor for class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Create a new BookFactory and fill it with information from a JSON file</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#bookFactory">bookFactory</a></span> - Variable in class libsys.<a href="../libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/BookFactoryTest.html" title="class in libsys"><span class="typeNameLink">BookFactoryTest</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Test BookFactory related operations</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#BookFactoryTest-java.lang.String-">BookFactoryTest(String)</a></span> - Constructor for class libsys.<a href="../libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></dt>
<dd>
<div class="block">Test BookFactory related operations</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#bookFilename">bookFilename</a></span> - Variable in class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Main.html#bookFilename">bookFilename</a></span> - Static variable in class libsys.<a href="../libsys/Main.html" title="class in libsys">Main</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#bookID">bookID</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Handler.html#bookIdsToTitlesString-int:A-">bookIdsToTitlesString(int[])</a></span> - Method in class libsys.<a href="../libsys/Handler.html" title="class in libsys">Handler</a></dt>
<dd>
<div class="block">Create a String of all book titles with the given Book ids</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/HandlerTest.html#bookIdsToTitlesStringTest--">bookIdsToTitlesStringTest()</a></span> - Method in class libsys.<a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></dt>
<dd>
<div class="block">Test the bookIdsToTitlesString function</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserTest.html#bookInteractionTest--">bookInteractionTest()</a></span> - Method in class libsys.<a href="../libsys/UserTest.html" title="class in libsys">UserTest</a></dt>
<dd>
<div class="block">Test all functions related to Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#bookMgtLabel">bookMgtLabel</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#bookPanel">bookPanel</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#books">books</a></span> - Variable in class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#books">books</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Handler.html#books">books</a></span> - Variable in class libsys.<a href="../libsys/Handler.html" title="class in libsys">Handler</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#books">books</a></span> - Variable in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#bookSearch">bookSearch</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#bookSearchBtn">bookSearchBtn</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#bookSearchBtnActionPerformed-java.awt.event.ActionEvent-">bookSearchBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#booksFilename">booksFilename</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#booksFilenameLbl">booksFilenameLbl</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#booksFilenameTxt">booksFilenameTxt</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#booksLbl">booksLbl</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#bookStatus">bookStatus</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#bookStatus--">bookStatus()</a></span> - Method in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Get Book ids of the books</div>
</dd>
<dt><a href="../libsys/BookTest.html" title="class in libsys"><span class="typeNameLink">BookTest</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Test Book related operations</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#BookTest-java.lang.String-">BookTest(String)</a></span> - Constructor for class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>
<div class="block">Test Book related operations</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#bookTitle">bookTitle</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Handler.html#borrowBook-libsys.User-libsys.Book-">borrowBook(User, Book)</a></span> - Method in class libsys.<a href="../libsys/Handler.html" title="class in libsys">Handler</a></dt>
<dd>
<div class="block">Given User borrows the given Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/HandlerTest.html#borrowBookTest--">borrowBookTest()</a></span> - Method in class libsys.<a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></dt>
<dd>
<div class="block">Test the borrowBook function</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#borrowNewBook-int-">borrowNewBook(int)</a></span> - Method in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">User borrows a Book</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Letter</li>
<li><a href="index-2.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-1.html" target="_top">Frames</a></li>
<li><a href="index-1.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 123
- 0
docs/index-files/index-10.html Bestand weergeven

@@ -0,0 +1,123 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>K-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="K-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-9.html">Prev Letter</a></li>
<li><a href="index-11.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-10.html" target="_top">Frames</a></li>
<li><a href="index-10.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:K">
<!-- -->
</a>
<h2 class="title">K</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#keys">keys</a></span> - Variable in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-9.html">Prev Letter</a></li>
<li><a href="index-11.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-10.html" target="_top">Frames</a></li>
<li><a href="index-10.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 139
- 0
docs/index-files/index-11.html Bestand weergeven

@@ -0,0 +1,139 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>L-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="L-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-10.html">Prev Letter</a></li>
<li><a href="index-12.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-11.html" target="_top">Frames</a></li>
<li><a href="index-11.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:L">
<!-- -->
</a>
<h2 class="title">L</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#label">label</a></span> - Variable in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#label">label</a></span> - Variable in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/package-summary.html">libsys</a> - package libsys</dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#limit">limit</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#limit">limit</a></span> - Variable in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#limitLbl">limitLbl</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#limitLbl">limitLbl</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#limitTxtField">limitTxtField</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#limitTxtField">limitTxtField</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-10.html">Prev Letter</a></li>
<li><a href="index-12.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-11.html" target="_top">Frames</a></li>
<li><a href="index-11.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 141
- 0
docs/index-files/index-12.html Bestand weergeven

@@ -0,0 +1,141 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>M-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="M-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-11.html">Prev Letter</a></li>
<li><a href="index-13.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-12.html" target="_top">Frames</a></li>
<li><a href="index-12.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:M">
<!-- -->
</a>
<h2 class="title">M</h2>
<dl>
<dt><a href="../libsys/Main.html" title="class in libsys"><span class="typeNameLink">Main</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Main class</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Main.html#Main--">Main()</a></span> - Constructor for class libsys.<a href="../libsys/Main.html" title="class in libsys">Main</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Main.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class libsys.<a href="../libsys/Main.html" title="class in libsys">Main</a></dt>
<dd>
<div class="block">Start the applicationn</div>
</dd>
<dt><a href="../libsys/MainGUI.html" title="class in libsys"><span class="typeNameLink">MainGUI</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Main Graphic User Interface</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#MainGUI-libsys.Handler-libsys.Settings-">MainGUI(Handler, Settings)</a></span> - Constructor for class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>
<div class="block">Creates a new MainGUI</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#mainPanel">mainPanel</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-11.html">Prev Letter</a></li>
<li><a href="index-13.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-12.html" target="_top">Frames</a></li>
<li><a href="index-12.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 179
- 0
docs/index-files/index-13.html Bestand weergeven

@@ -0,0 +1,179 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>N-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="N-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-12.html">Prev Letter</a></li>
<li><a href="index-14.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-13.html" target="_top">Frames</a></li>
<li><a href="index-13.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:N">
<!-- -->
</a>
<h2 class="title">N</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#name">name</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#name">name</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#name">name</a></span> - Variable in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#nameLabel">nameLabel</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#nameLbl">nameLbl</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#nameLbl">nameLbl</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#nameLbl">nameLbl</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#nameTxtField">nameTxtField</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#nameTxtField">nameTxtField</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#nameTxtField">nameTxtField</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#newBook-java.lang.String-java.lang.String-">newBook(String, String)</a></span> - Method in class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Adds a new Book into this class</div>
</dd>
<dt><a href="../libsys/NewBookDialog.html" title="class in libsys"><span class="typeNameLink">NewBookDialog</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">UI for creating a new Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#NewBookDialog-java.awt.Frame-boolean-">NewBookDialog(Frame, boolean)</a></span> - Constructor for class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>
<div class="block">Creates new form NewBookDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#newBookTest--">newBookTest()</a></span> - Method in class libsys.<a href="../libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></dt>
<dd>
<div class="block">Test the newBook function</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#newLimit">newLimit</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#newName">newName</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#newName">newName</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#newUser-java.lang.String-int-">newUser(String, int)</a></span> - Method in class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Adds a new User into this class</div>
</dd>
<dt><a href="../libsys/NewUserDialog.html" title="class in libsys"><span class="typeNameLink">NewUserDialog</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">UI for creating a new User</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#NewUserDialog-java.awt.Frame-boolean-">NewUserDialog(Frame, boolean)</a></span> - Constructor for class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>
<div class="block">Creates new form NewUserDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#newUserTest--">newUserTest()</a></span> - Method in class libsys.<a href="../libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></dt>
<dd>
<div class="block">Test the newUser function</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-12.html">Prev Letter</a></li>
<li><a href="index-14.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-13.html" target="_top">Frames</a></li>
<li><a href="index-13.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 137
- 0
docs/index-files/index-14.html Bestand weergeven

@@ -0,0 +1,137 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>O-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="O-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-13.html">Prev Letter</a></li>
<li><a href="index-15.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-14.html" target="_top">Frames</a></li>
<li><a href="index-14.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:O">
<!-- -->
</a>
<h2 class="title">O</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#okButton">okButton</a></span> - Variable in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#okButton">okButton</a></span> - Variable in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#okButtonActionPerformed-java.awt.event.ActionEvent-">okButtonActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#okButtonActionPerformed-java.awt.event.ActionEvent-">okButtonActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#outputAndInputTest--">outputAndInputTest()</a></span> - Method in class libsys.<a href="../libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></dt>
<dd>
<div class="block">Test the class in writing to and reading from files</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#overdueFine-int:A-">overdueFine(int[])</a></span> - Method in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Calculate the overdue fine</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-13.html">Prev Letter</a></li>
<li><a href="index-15.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-14.html" target="_top">Frames</a></li>
<li><a href="index-14.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 123
- 0
docs/index-files/index-15.html Bestand weergeven

@@ -0,0 +1,123 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>P-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="P-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-14.html">Prev Letter</a></li>
<li><a href="index-16.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-15.html" target="_top">Frames</a></li>
<li><a href="index-15.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:P">
<!-- -->
</a>
<h2 class="title">P</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#preset">preset</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-14.html">Prev Letter</a></li>
<li><a href="index-16.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-15.html" target="_top">Frames</a></li>
<li><a href="index-15.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 187
- 0
docs/index-files/index-16.html Bestand weergeven

@@ -0,0 +1,187 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>R-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="R-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-15.html">Prev Letter</a></li>
<li><a href="index-17.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-16.html" target="_top">Frames</a></li>
<li><a href="index-16.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:R">
<!-- -->
</a>
<h2 class="title">R</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#rent-int:A-">rent(int[])</a></span> - Method in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Call to rent book, return if renting is successful</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#rentBtn">rentBtn</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#rentBtnActionPerformed-java.awt.event.ActionEvent-">rentBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/RentDialog.html" title="class in libsys"><span class="typeNameLink">RentDialog</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">UI for User renting a Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#RentDialog-java.awt.Frame-boolean-libsys.Handler-">RentDialog(Frame, boolean, Handler)</a></span> - Constructor for class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>
<div class="block">Creates new form RentDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#rentTest--">rentTest()</a></span> - Method in class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>
<div class="block">Test the rent(int[]) function functionality</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Handler.html#returnBook-libsys.User-libsys.Book-">returnBook(User, Book)</a></span> - Method in class libsys.<a href="../libsys/Handler.html" title="class in libsys">Handler</a></dt>
<dd>
<div class="block">Given User returns the given Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#returnBook-int-">returnBook(int)</a></span> - Method in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">User returns a Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/HandlerTest.html#returnBookTest--">returnBookTest()</a></span> - Method in class libsys.<a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></dt>
<dd>
<div class="block">Test the returnBook function</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#returnBtn">returnBtn</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#returnBtnActionPerformed-java.awt.event.ActionEvent-">returnBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/ReturnDialog.html" title="class in libsys"><span class="typeNameLink">ReturnDialog</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">UI for User returning a Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#ReturnDialog-java.awt.Frame-boolean-libsys.Handler-int-">ReturnDialog(Frame, boolean, Handler, int)</a></span> - Constructor for class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>
<div class="block">Creates a new ReturnDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#returned--">returned()</a></span> - Method in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Return the Book to the shelf</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#returnStatus">returnStatus</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#returnStatus">returnStatus</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#returnStatus">returnStatus</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#returnStatus">returnStatus</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#returnStatus">returnStatus</a></span> - Variable in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#returnStatus">returnStatus</a></span> - Variable in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#returnStatus">returnStatus</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#returnTest--">returnTest()</a></span> - Method in class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>
<div class="block">Test the returned() function functionality</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-15.html">Prev Letter</a></li>
<li><a href="index-17.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-16.html" target="_top">Frames</a></li>
<li><a href="index-16.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 287
- 0
docs/index-files/index-17.html Bestand weergeven

@@ -0,0 +1,287 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>S-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="S-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-16.html">Prev Letter</a></li>
<li><a href="index-18.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-17.html" target="_top">Frames</a></li>
<li><a href="index-17.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:S">
<!-- -->
</a>
<h2 class="title">S</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#saveBtn">saveBtn</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#saveBtn">saveBtn</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#saveBtn">saveBtn</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#saveBtnActionPerformed-java.awt.event.ActionEvent-">saveBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#saveBtnActionPerformed-java.awt.event.ActionEvent-">saveBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#saveBtnActionPerformed-java.awt.event.ActionEvent-">saveBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#search-int-int-int-">search(int, int, int)</a></span> - Method in class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Recursive binary search through the array list for the Book with the given id</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#search-int-int-int-">search(int, int, int)</a></span> - Method in class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Recursive binary search through the array list for the User with the given id</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#setBookFileName-java.lang.String-">setBookFileName(String)</a></span> - Method in class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Update the output filename for the object</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#setBooksFilename-java.lang.String-">setBooksFilename(String)</a></span> - Method in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Change the file name for the Books</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsTest.html#setBooksFilenameTest--">setBooksFilenameTest()</a></span> - Method in class libsys.<a href="../libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></dt>
<dd>
<div class="block">Test the setBooksFilename function</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#setDefault--">setDefault()</a></span> - Method in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#setLimit-int-">setLimit(int)</a></span> - Method in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Change limit of this User</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#setName-java.lang.String-">setName(String)</a></span> - Method in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Change name of this User</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserTest.html#setterTest--">setterTest()</a></span> - Method in class libsys.<a href="../libsys/UserTest.html" title="class in libsys">UserTest</a></dt>
<dd>
<div class="block">Test the setter functions</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Main.html#settings">settings</a></span> - Static variable in class libsys.<a href="../libsys/Main.html" title="class in libsys">Main</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#settings">settings</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/Settings.html" title="class in libsys"><span class="typeNameLink">Settings</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Handles all settings related operations and background processing of SettingsDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#Settings-java.lang.String-">Settings(String)</a></span> - Constructor for class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Creates new Settings importing information from the given file name</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsTest.html#settings">settings</a></span> - Variable in class libsys.<a href="../libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#settingsBtn">settingsBtn</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#settingsBtnActionPerformed-java.awt.event.ActionEvent-">settingsBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/SettingsDialog.html" title="class in libsys"><span class="typeNameLink">SettingsDialog</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">UI for updating all the informations in Settings</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#SettingsDialog-java.awt.Frame-boolean-libsys.Settings-">SettingsDialog(Frame, boolean, Settings)</a></span> - Constructor for class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>
<div class="block">Creates new SettingsDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#settingsFileName">settingsFileName</a></span> - Variable in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#settingsLbl">settingsLbl</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/SettingsTest.html" title="class in libsys"><span class="typeNameLink">SettingsTest</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Test Settings related operations</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsTest.html#SettingsTest-java.lang.String-">SettingsTest(String)</a></span> - Constructor for class libsys.<a href="../libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></dt>
<dd>
<div class="block">Test Settings related operations</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#setTitle-java.lang.String-">setTitle(String)</a></span> - Method in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Set the title to the given title</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#setTitle-java.lang.String-">setTitle(String)</a></span> - Method in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Change the title of the application</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#setTitlesTest--">setTitlesTest()</a></span> - Method in class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>
<div class="block">Test the setTitles(String) functionality</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsTest.html#setTitleTest--">setTitleTest()</a></span> - Method in class libsys.<a href="../libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></dt>
<dd>
<div class="block">Test the setTitle function</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#setUp--">setUp()</a></span> - Method in class libsys.<a href="../libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></dt>
<dd>
<div class="block">Set up before testing</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#setUp--">setUp()</a></span> - Method in class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>
<div class="block">Set up before testing</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/HandlerTest.html#setUp--">setUp()</a></span> - Method in class libsys.<a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></dt>
<dd>
<div class="block">Set up before testing</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#setup-libsys.Settings-">setup(Settings)</a></span> - Method in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#setUp--">setUp()</a></span> - Method in class libsys.<a href="../libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></dt>
<dd>
<div class="block">Set up before testing</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserTest.html#setUp--">setUp()</a></span> - Method in class libsys.<a href="../libsys/UserTest.html" title="class in libsys">UserTest</a></dt>
<dd>
<div class="block">Set up before testing</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#setUserFileName-java.lang.String-">setUserFileName(String)</a></span> - Method in class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Update the output filename for the object</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#setUsersFilename-java.lang.String-">setUsersFilename(String)</a></span> - Method in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Change the file name for the Users</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsTest.html#setUsersFilenameTest--">setUsersFilenameTest()</a></span> - Method in class libsys.<a href="../libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></dt>
<dd>
<div class="block">Test the setUsersFilename function</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#size--">size()</a></span> - Method in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Amount of fields in the settings</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#status">status</a></span> - Variable in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#status">status</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#status--">status()</a></span> - Method in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Check status of the User</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#statusComboBox">statusComboBox</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#statusLbl">statusLbl</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#statusLbl">statusLbl</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#statusOptions">statusOptions</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#suite--">suite()</a></span> - Static method in class libsys.<a href="../libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#suite--">suite()</a></span> - Static method in class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/HandlerTest.html#suite--">suite()</a></span> - Static method in class libsys.<a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsTest.html#suite--">suite()</a></span> - Static method in class libsys.<a href="../libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#suite--">suite()</a></span> - Static method in class libsys.<a href="../libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserTest.html#suite--">suite()</a></span> - Static method in class libsys.<a href="../libsys/UserTest.html" title="class in libsys">UserTest</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-16.html">Prev Letter</a></li>
<li><a href="index-18.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-17.html" target="_top">Frames</a></li>
<li><a href="index-17.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 193
- 0
docs/index-files/index-18.html Bestand weergeven

@@ -0,0 +1,193 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>T-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="T-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-17.html">Prev Letter</a></li>
<li><a href="index-19.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-18.html" target="_top">Frames</a></li>
<li><a href="index-18.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:T">
<!-- -->
</a>
<h2 class="title">T</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#tearDown--">tearDown()</a></span> - Method in class libsys.<a href="../libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></dt>
<dd>
<div class="block">Delete files created during test</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/HandlerTest.html#tearDown--">tearDown()</a></span> - Method in class libsys.<a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></dt>
<dd>
<div class="block">Delete files after testing</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsTest.html#tearDown--">tearDown()</a></span> - Method in class libsys.<a href="../libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></dt>
<dd>
<div class="block">Delete test files</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#tearDown--">tearDown()</a></span> - Method in class libsys.<a href="../libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></dt>
<dd>
<div class="block">Delete files created during test</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#testApp--">testApp()</a></span> - Method in class libsys.<a href="../libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></dt>
<dd>
<div class="block">Run all tests</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#testApp--">testApp()</a></span> - Method in class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>
<div class="block">Run all tests</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/HandlerTest.html#testApp--">testApp()</a></span> - Method in class libsys.<a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></dt>
<dd>
<div class="block">Run all tests</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsTest.html#testApp--">testApp()</a></span> - Method in class libsys.<a href="../libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></dt>
<dd>
<div class="block">Run all tests</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#testApp--">testApp()</a></span> - Method in class libsys.<a href="../libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></dt>
<dd>
<div class="block">Run all tests</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserTest.html#testApp--">testApp()</a></span> - Method in class libsys.<a href="../libsys/UserTest.html" title="class in libsys">UserTest</a></dt>
<dd>
<div class="block">Run all tests</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#title">title</a></span> - Variable in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#title">title</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#title">title</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#title">title</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#titleLbl">titleLbl</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#titleLbl">titleLbl</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#titleLbl">titleLbl</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#titleLbl">titleLbl</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#titleTxtField">titleTxtField</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#titleTxtField">titleTxtField</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#toFile--">toFile()</a></span> - Method in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Save the settings to the given input file</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#toJsonFile--">toJsonFile()</a></span> - Method in class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "books.json")</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#toJsonFile--">toJsonFile()</a></span> - Method in class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "users.json")</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-17.html">Prev Letter</a></li>
<li><a href="index-19.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-18.html" target="_top">Frames</a></li>
<li><a href="index-18.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 215
- 0
docs/index-files/index-19.html Bestand weergeven

@@ -0,0 +1,215 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>U-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="U-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-18.html">Prev Letter</a></li>
<li><a href="index-20.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-19.html" target="_top">Frames</a></li>
<li><a href="index-19.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:U">
<!-- -->
</a>
<h2 class="title">U</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#update-libsys.Book-libsys.Book-">update(Book, Book)</a></span> - Method in class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Replacing a Book in the array list with a new Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#update-java.lang.String-java.lang.String-">update(String, String)</a></span> - Method in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#update-libsys.User-libsys.User-">update(User, User)</a></span> - Method in class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Replacing a User in the array list with a new User</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#user">user</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#user">user</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/User.html" title="class in libsys"><span class="typeNameLink">User</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">User object</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#User-java.lang.String-int-int-">User(String, int, int)</a></span> - Constructor for class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Creates a new User with name, id and limit (usually used to add new User)</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#User-java.lang.String-int-int-java.util.ArrayList-">User(String, int, int, ArrayList&lt;Integer&gt;)</a></span> - Constructor for class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Creates a new User with name, id, limit and books (usually used to initialize from database)</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserTest.html#user1">user1</a></span> - Variable in class libsys.<a href="../libsys/UserTest.html" title="class in libsys">UserTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserTest.html#user2">user2</a></span> - Variable in class libsys.<a href="../libsys/UserTest.html" title="class in libsys">UserTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#userBooks">userBooks</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#userExist">userExist</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/UserFactory.html" title="class in libsys"><span class="typeNameLink">UserFactory</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Handles all the User(s)</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#UserFactory--">UserFactory()</a></span> - Constructor for class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Create a new empty UserFactory</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#UserFactory-java.lang.String-">UserFactory(String)</a></span> - Constructor for class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Create a new UserFactory and fill it with information from a JSON file</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#userFactory">userFactory</a></span> - Variable in class libsys.<a href="../libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/UserFactoryTest.html" title="class in libsys"><span class="typeNameLink">UserFactoryTest</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Test UserFactory related operations</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#UserFactoryTest-java.lang.String-">UserFactoryTest(String)</a></span> - Constructor for class libsys.<a href="../libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></dt>
<dd>
<div class="block">Test UserFactory related operations</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Main.html#userFilename">userFilename</a></span> - Static variable in class libsys.<a href="../libsys/Main.html" title="class in libsys">Main</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#userFilename">userFilename</a></span> - Variable in class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#userID">userID</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#userLimit">userLimit</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#userMgtLabel">userMgtLabel</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#userName">userName</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#userPanel">userPanel</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Handler.html#users">users</a></span> - Variable in class libsys.<a href="../libsys/Handler.html" title="class in libsys">Handler</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#users">users</a></span> - Variable in class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#userSearch">userSearch</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#userSearchBtn">userSearchBtn</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#userSearchBtnActionPerformed-java.awt.event.ActionEvent-">userSearchBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#usersFilename">usersFilename</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#usersFilenameLbl">usersFilenameLbl</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#usersFilenameTxt">usersFilenameTxt</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/UserTest.html" title="class in libsys"><span class="typeNameLink">UserTest</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Test User related operations</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserTest.html#UserTest-java.lang.String-">UserTest(String)</a></span> - Constructor for class libsys.<a href="../libsys/UserTest.html" title="class in libsys">UserTest</a></dt>
<dd>
<div class="block">Test User related operations</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-18.html">Prev Letter</a></li>
<li><a href="index-20.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-19.html" target="_top">Frames</a></li>
<li><a href="index-19.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 193
- 0
docs/index-files/index-2.html Bestand weergeven

@@ -0,0 +1,193 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>C-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="C-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-1.html">Prev Letter</a></li>
<li><a href="index-3.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-2.html" target="_top">Frames</a></li>
<li><a href="index-2.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:C">
<!-- -->
</a>
<h2 class="title">C</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/Handler.html#cal">cal</a></span> - Variable in class libsys.<a href="../libsys/Handler.html" title="class in libsys">Handler</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Handler.html#calDueDate-int-">calDueDate(int)</a></span> - Method in class libsys.<a href="../libsys/Handler.html" title="class in libsys">Handler</a></dt>
<dd>
<div class="block">Calculating the due date</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Handler.html#calDueDate-int-int:A-">calDueDate(int, int[])</a></span> - Method in class libsys.<a href="../libsys/Handler.html" title="class in libsys">Handler</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/HandlerTest.html#calDueDateTest--">calDueDateTest()</a></span> - Method in class libsys.<a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></dt>
<dd>
<div class="block">Test the calDueDate function</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#cancelBtn">cancelBtn</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#cancelBtn">cancelBtn</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#cancelBtn">cancelBtn</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#cancelBtn">cancelBtn</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#cancelBtnActionPerformed-java.awt.event.ActionEvent-">cancelBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#cancelBtnActionPerformed-java.awt.event.ActionEvent-">cancelBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#cancelBtnActionPerformed-java.awt.event.ActionEvent-">cancelBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#cancelBtnActionPerformed-java.awt.event.ActionEvent-">cancelBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#cancelButton">cancelButton</a></span> - Variable in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#cancelButton">cancelButton</a></span> - Variable in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#cancelButtonActionPerformed-java.awt.event.ActionEvent-">cancelButtonActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#cancelButtonActionPerformed-java.awt.event.ActionEvent-">cancelButtonActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#closeDialog-java.awt.event.WindowEvent-">closeDialog(WindowEvent)</a></span> - Method in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>
<div class="block">Closes the dialog</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#closeDialog-java.awt.event.WindowEvent-">closeDialog(WindowEvent)</a></span> - Method in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>
<div class="block">Closes the dialog</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#constructorTest--">constructorTest()</a></span> - Method in class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>
<div class="block">Test the functionality for all different types of constructor</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsTest.html#constructorTest--">constructorTest()</a></span> - Method in class libsys.<a href="../libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></dt>
<dd>
<div class="block">Test the constructor</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#createBookBtn">createBookBtn</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#createBookBtnActionPerformed-java.awt.event.ActionEvent-">createBookBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#createBtn">createBtn</a></span> - Variable in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#createBtn">createBtn</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#createBtnActionPerformed-java.awt.event.ActionEvent-">createBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#createBtnActionPerformed-java.awt.event.ActionEvent-">createBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#createUserBtn">createUserBtn</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#createUserBtnActionPerformed-java.awt.event.ActionEvent-">createUserBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Handler.html#currentDay--">currentDay()</a></span> - Method in class libsys.<a href="../libsys/Handler.html" title="class in libsys">Handler</a></dt>
<dd>
<div class="block">Returns the current date in an int array</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-1.html">Prev Letter</a></li>
<li><a href="index-3.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-2.html" target="_top">Frames</a></li>
<li><a href="index-2.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 129
- 0
docs/index-files/index-20.html Bestand weergeven

@@ -0,0 +1,129 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>V-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="V-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-19.html">Prev Letter</a></li>
<li>Next Letter</li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-20.html" target="_top">Frames</a></li>
<li><a href="index-20.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:V">
<!-- -->
</a>
<h2 class="title">V</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/BookTest.html#valueTest--">valueTest()</a></span> - Method in class libsys.<a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></dt>
<dd>
<div class="block">Test if the values are accurate</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserTest.html#valueTest--">valueTest()</a></span> - Method in class libsys.<a href="../libsys/UserTest.html" title="class in libsys">UserTest</a></dt>
<dd>
<div class="block">Test if the values are accurate</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-19.html">Prev Letter</a></li>
<li>Next Letter</li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-20.html" target="_top">Frames</a></li>
<li><a href="index-20.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 143
- 0
docs/index-files/index-3.html Bestand weergeven

@@ -0,0 +1,143 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>D-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="D-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-2.html">Prev Letter</a></li>
<li><a href="index-4.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-3.html" target="_top">Frames</a></li>
<li><a href="index-3.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:D">
<!-- -->
</a>
<h2 class="title">D</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#discardBtn">discardBtn</a></span> - Variable in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#discardBtnActionPerformed-java.awt.event.ActionEvent-">discardBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#doClose-boolean-">doClose(boolean)</a></span> - Method in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#doClose-boolean-">doClose(boolean)</a></span> - Method in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#doClose-int-">doClose(int)</a></span> - Method in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#doClose-int-">doClose(int)</a></span> - Method in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#doClose-int-">doClose(int)</a></span> - Method in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#doClose-int-">doClose(int)</a></span> - Method in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#doClose-int-">doClose(int)</a></span> - Method in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#dueDate">dueDate</a></span> - Variable in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#dueDateLbl">dueDateLbl</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-2.html">Prev Letter</a></li>
<li><a href="index-4.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-3.html" target="_top">Frames</a></li>
<li><a href="index-3.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 157
- 0
docs/index-files/index-4.html Bestand weergeven

@@ -0,0 +1,157 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>E-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="E-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-3.html">Prev Letter</a></li>
<li><a href="index-5.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-4.html" target="_top">Frames</a></li>
<li><a href="index-4.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:E">
<!-- -->
</a>
<h2 class="title">E</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#editBookBtn">editBookBtn</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#editBookBtnActionPerformed-java.awt.event.ActionEvent-">editBookBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/EditBookDialog.html" title="class in libsys"><span class="typeNameLink">EditBookDialog</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">UI for updating information in Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#EditBookDialog-java.awt.Frame-boolean-libsys.Book-">EditBookDialog(Frame, boolean, Book)</a></span> - Constructor for class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>
<div class="block">Create new EditBookDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#editUserBtn">editUserBtn</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#editUserBtnActionPerformed-java.awt.event.ActionEvent-">editUserBtnActionPerformed(ActionEvent)</a></span> - Method in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/EditUserDialog.html" title="class in libsys"><span class="typeNameLink">EditUserDialog</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">UI for updating information in User</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#EditUserDialog-java.awt.Frame-boolean-libsys.User-libsys.BookFactory-">EditUserDialog(Frame, boolean, User, BookFactory)</a></span> - Constructor for class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>
<div class="block">Creates new EditUserDialog</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#errorLbl">errorLbl</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#errorLbl">errorLbl</a></span> - Variable in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#exceptionTest--">exceptionTest()</a></span> - Method in class libsys.<a href="../libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></dt>
<dd>
<div class="block">Test exception cases and error handling of the class</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#exceptionTest--">exceptionTest()</a></span> - Method in class libsys.<a href="../libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></dt>
<dd>
<div class="block">Test exception cases and error handling of the class</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-3.html">Prev Letter</a></li>
<li><a href="index-5.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-4.html" target="_top">Frames</a></li>
<li><a href="index-4.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 125
- 0
docs/index-files/index-5.html Bestand weergeven

@@ -0,0 +1,125 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>F-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="F-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-4.html">Prev Letter</a></li>
<li><a href="index-6.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-5.html" target="_top">Frames</a></li>
<li><a href="index-5.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:F">
<!-- -->
</a>
<h2 class="title">F</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#fileIOTest--">fileIOTest()</a></span> - Method in class libsys.<a href="../libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></dt>
<dd>
<div class="block">Test the class in writing to and reading from files</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-4.html">Prev Letter</a></li>
<li><a href="index-6.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-5.html" target="_top">Frames</a></li>
<li><a href="index-5.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 245
- 0
docs/index-files/index-6.html Bestand weergeven

@@ -0,0 +1,245 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>G-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="G-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-5.html">Prev Letter</a></li>
<li><a href="index-7.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-6.html" target="_top">Frames</a></li>
<li><a href="index-6.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:G">
<!-- -->
</a>
<h2 class="title">G</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#get-java.lang.String-">get(String)</a></span> - Method in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Get the value associated to the field name</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#getBook-int-">getBook(int)</a></span> - Method in class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Looks for a Book with the given id</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#getBook-java.lang.String-">getBook(String)</a></span> - Method in class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>
<div class="block">Linear search through the array list for Book with the given Title</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#getBooksFilename--">getBooksFilename()</a></span> - Method in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>
<div class="block">Get the new Books file name</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#getDueDate--">getDueDate()</a></span> - Method in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Returns the due date of the Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#getId--">getId()</a></span> - Method in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Returns the id of the Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#getId--">getId()</a></span> - Method in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Gets id of this User</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#getKey-int-">getKey(int)</a></span> - Method in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>
<div class="block">Get the field name from that specific location in the array list</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#getLimit--">getLimit()</a></span> - Method in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>
<div class="block">Get the limit of the new User</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#getLimit--">getLimit()</a></span> - Method in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Gets limit of Book this User can borrow</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#getName--">getName()</a></span> - Method in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>
<div class="block">Get the name of the new User</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#getName--">getName()</a></span> - Method in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>
<div class="block">Gets name of this User</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#getNewLimit--">getNewLimit()</a></span> - Method in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>
<div class="block">Returns the limit from the limitTxtField</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#getNewName--">getNewName()</a></span> - Method in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>
<div class="block">Returns the name from the nameTxtField</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#getNewName--">getNewName()</a></span> - Method in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>
<div class="block">Returns the name from the nameTxtField</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>
<div class="block">Returns if the user selected "Save" or "Cancel"</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>
<div class="block">Returns if the user selected "Save" or "Cancel"</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>
<div class="block">Get the return status</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>
<div class="block">Get the return status</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>
<div class="block">Get the return status</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>
<div class="block">Get the return status</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#getReturnStatus--">getReturnStatus()</a></span> - Method in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>
<div class="block">Get the return status</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#getStatus--">getStatus()</a></span> - Method in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Returns the status of the Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#getStatus--">getStatus()</a></span> - Method in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>
<div class="block">Get the status of the new Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#getTitle--">getTitle()</a></span> - Method in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>
<div class="block">Returns the title of the Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#getTitle--">getTitle()</a></span> - Method in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>
<div class="block">Get the name of the new Book</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#getTitle--">getTitle()</a></span> - Method in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>
<div class="block">Get the new title for the MainGUi</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#getUser-java.lang.String-">getUser(String)</a></span> - Method in class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Looks for the User with the given name</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#getUser-int-">getUser(int)</a></span> - Method in class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>
<div class="block">Looks for a User with the given id</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#getUsersFilename--">getUsersFilename()</a></span> - Method in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>
<div class="block">Get the new Users file name</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#givenBookId">givenBookId</a></span> - Variable in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#givenBookId">givenBookId</a></span> - Variable in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-5.html">Prev Letter</a></li>
<li><a href="index-7.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-6.html" target="_top">Frames</a></li>
<li><a href="index-6.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 145
- 0
docs/index-files/index-7.html Bestand weergeven

@@ -0,0 +1,145 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>H-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="H-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-6.html">Prev Letter</a></li>
<li><a href="index-8.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-7.html" target="_top">Frames</a></li>
<li><a href="index-7.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:H">
<!-- -->
</a>
<h2 class="title">H</h2>
<dl>
<dt><a href="../libsys/Handler.html" title="class in libsys"><span class="typeNameLink">Handler</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Handles all the background operations of MainGUI, also contains both UserFactory and BookFactory</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/Handler.html#Handler--">Handler()</a></span> - Constructor for class libsys.<a href="../libsys/Handler.html" title="class in libsys">Handler</a></dt>
<dd>
<div class="block">Creates new empty Handler</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/HandlerTest.html#handler">handler</a></span> - Variable in class libsys.<a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#handler">handler</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#handler">handler</a></span> - Variable in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#handler">handler</a></span> - Variable in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../libsys/HandlerTest.html" title="class in libsys"><span class="typeNameLink">HandlerTest</span></a> - Class in <a href="../libsys/package-summary.html">libsys</a></dt>
<dd>
<div class="block">Test Handler related operations</div>
</dd>
<dt><span class="memberNameLink"><a href="../libsys/HandlerTest.html#HandlerTest-java.lang.String-">HandlerTest(String)</a></span> - Constructor for class libsys.<a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></dt>
<dd>
<div class="block">Test Handler related operations</div>
</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-6.html">Prev Letter</a></li>
<li><a href="index-8.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-7.html" target="_top">Frames</a></li>
<li><a href="index-7.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 161
- 0
docs/index-files/index-8.html Bestand weergeven

@@ -0,0 +1,161 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>I-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="I-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-7.html">Prev Letter</a></li>
<li><a href="index-9.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-8.html" target="_top">Frames</a></li>
<li><a href="index-8.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:I">
<!-- -->
</a>
<h2 class="title">I</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/Book.html#id">id</a></span> - Variable in class libsys.<a href="../libsys/Book.html" title="class in libsys">Book</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/BookFactory.html#id">id</a></span> - Variable in class libsys.<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#id">id</a></span> - Variable in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/User.html#id">id</a></span> - Variable in class libsys.<a href="../libsys/User.html" title="class in libsys">User</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/UserFactory.html#id">id</a></span> - Variable in class libsys.<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#idLbl">idLbl</a></span> - Variable in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#idLbl">idLbl</a></span> - Variable in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#init--">init()</a></span> - Method in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#init--">init()</a></span> - Method in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditBookDialog.html#initComponents--">initComponents()</a></span> - Method in class libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/EditUserDialog.html#initComponents--">initComponents()</a></span> - Method in class libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#initComponents--">initComponents()</a></span> - Method in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewBookDialog.html#initComponents--">initComponents()</a></span> - Method in class libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/NewUserDialog.html#initComponents--">initComponents()</a></span> - Method in class libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#initComponents--">initComponents()</a></span> - Method in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#initComponents--">initComponents()</a></span> - Method in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/SettingsDialog.html#initComponents--">initComponents()</a></span> - Method in class libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/RentDialog.html#invalidLabel">invalidLabel</a></span> - Variable in class libsys.<a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/ReturnDialog.html#invalidLabel">invalidLabel</a></span> - Variable in class libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../libsys/Settings.html#items">items</a></span> - Variable in class libsys.<a href="../libsys/Settings.html" title="class in libsys">Settings</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-7.html">Prev Letter</a></li>
<li><a href="index-9.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-8.html" target="_top">Frames</a></li>
<li><a href="index-8.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 123
- 0
docs/index-files/index-9.html Bestand weergeven

@@ -0,0 +1,123 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>J-Index (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="J-Index (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-8.html">Prev Letter</a></li>
<li><a href="index-10.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-9.html" target="_top">Frames</a></li>
<li><a href="index-9.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a name="I:J">
<!-- -->
</a>
<h2 class="title">J</h2>
<dl>
<dt><span class="memberNameLink"><a href="../libsys/MainGUI.html#jTabbedPane">jTabbedPane</a></span> - Variable in class libsys.<a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">B</a>&nbsp;<a href="index-2.html">C</a>&nbsp;<a href="index-3.html">D</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">F</a>&nbsp;<a href="index-6.html">G</a>&nbsp;<a href="index-7.html">H</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">K</a>&nbsp;<a href="index-11.html">L</a>&nbsp;<a href="index-12.html">M</a>&nbsp;<a href="index-13.html">N</a>&nbsp;<a href="index-14.html">O</a>&nbsp;<a href="index-15.html">P</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../libsys/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-8.html">Prev Letter</a></li>
<li><a href="index-10.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-9.html" target="_top">Frames</a></li>
<li><a href="index-9.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 2
- 3
docs/index.html Bestand weergeven

@@ -2,9 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LibrarySystem 1.0 API</title>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>LibrarySystem - BinHong Lee</title>
<script type="text/javascript">
tmpTargetPage = "" + window.location.search;
if (tmpTargetPage != "" && tmpTargetPage != "undefined")


+ 148
- 78
docs/libsys/Book.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:52 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Book (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:32 MST 2017 -->
<title>Book (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
@@ -13,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Book (LibrarySystem 1.0 API)";
parent.document.title="Book (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
@@ -40,10 +39,8 @@ var activeTableTab = "activeTableTab";
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Book.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
@@ -75,13 +72,13 @@ var activeTableTab = "activeTableTab";
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -97,7 +94,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>libsys.Book</li>
@@ -110,13 +107,45 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>public class <span class="typeNameLabel">Book</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
extends java.lang.Object</pre>
<div class="block">Book object</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#dueDate">dueDate</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#id">id</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#status">status</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#title">title</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
@@ -135,16 +164,16 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/Book.html#Book-int-java.lang.String-java.lang.String-int:A-">Book</a></span>(int&nbsp;id,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;status,
java.lang.String&nbsp;title,
java.lang.String&nbsp;status,
int[]&nbsp;dueDate)</code>
<div class="block">Create new Book with given id, title, status and dueDate (Usually used for initialization from database)</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/Book.html#Book-java.lang.String-int-java.lang.String-">Book</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/Book.html#Book-java.lang.String-int-java.lang.String-">Book</a></span>(java.lang.String&nbsp;title,
int&nbsp;id,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;status)</code>
java.lang.String&nbsp;status)</code>
<div class="block">Create new Book with given title, id and status (Usually used for new Book creation)</div>
</td>
</tr>
@@ -164,7 +193,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>int[]</code></td>
<td class="colFirst"><code>(package private) int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#getDueDate--">getDueDate</a></span>()</code>
<div class="block">Returns the due date of the Book</div>
</td>
@@ -176,13 +205,13 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#getStatus--">getStatus</a></span>()</code>
<div class="block">Returns the status of the Book</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#getTitle--">getTitle</a></span>()</code>
<div class="block">Returns the title of the Book</div>
</td>
@@ -194,20 +223,20 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colFirst"><code>(package private) boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#rent-int:A-">rent</a></span>(int[]&nbsp;dueDate)</code>
<div class="block">Call to rent book, return if renting is successful</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#returned--">returned</a></span>()</code>
<div class="block">Return the Book to the shelf</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#setTitle-java.lang.String-">setTitle</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title)</code>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#setTitle-java.lang.String-">setTitle</a></span>(java.lang.String&nbsp;title)</code>
<div class="block">Set the title to the given title</div>
</td>
</tr>
@@ -216,8 +245,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
@@ -227,6 +256,50 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="dueDate">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dueDate</h4>
<pre>private&nbsp;int[] dueDate</pre>
</li>
</ul>
<a name="id">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id</h4>
<pre>private&nbsp;int id</pre>
</li>
</ul>
<a name="status">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>status</h4>
<pre>private&nbsp;java.lang.String status</pre>
</li>
</ul>
<a name="title">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>title</h4>
<pre>private&nbsp;java.lang.String title</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
@@ -247,41 +320,41 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</dl>
</li>
</ul>
<a name="Book-java.lang.String-int-java.lang.String-">
<a name="Book-int-java.lang.String-java.lang.String-int:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Book</h4>
<pre>public&nbsp;Book(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
int&nbsp;id,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;status)</pre>
<div class="block">Create new Book with given title, id and status (Usually used for new Book creation)</div>
<pre>public&nbsp;Book(int&nbsp;id,
java.lang.String&nbsp;title,
java.lang.String&nbsp;status,
int[]&nbsp;dueDate)</pre>
<div class="block">Create new Book with given id, title, status and dueDate (Usually used for initialization from database)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>title</code> - Title of the Book</dd>
<dd><code>id</code> - Identification number of the Book</dd>
<dd><code>title</code> - Title of the Book</dd>
<dd><code>status</code> - Status of the Book</dd>
<dd><code>dueDate</code> - Due date of the Book</dd>
</dl>
</li>
</ul>
<a name="Book-int-java.lang.String-java.lang.String-int:A-">
<a name="Book-java.lang.String-int-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Book</h4>
<pre>public&nbsp;Book(int&nbsp;id,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;status,
int[]&nbsp;dueDate)</pre>
<div class="block">Create new Book with given id, title, status and dueDate (Usually used for initialization from database)</div>
<pre>public&nbsp;Book(java.lang.String&nbsp;title,
int&nbsp;id,
java.lang.String&nbsp;status)</pre>
<div class="block">Create new Book with given title, id and status (Usually used for new Book creation)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - Identification number of the Book</dd>
<dd><code>title</code> - Title of the Book</dd>
<dd><code>id</code> - Identification number of the Book</dd>
<dd><code>status</code> - Status of the Book</dd>
<dd><code>dueDate</code> - Due date of the Book</dd>
</dl>
</li>
</ul>
@@ -293,73 +366,75 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getTitle--">
<a name="getDueDate--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTitle</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getTitle()</pre>
<div class="block">Returns the title of the Book</div>
<h4>getDueDate</h4>
<pre>int[]&nbsp;getDueDate()</pre>
<div class="block">Returns the due date of the Book</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>title</dd>
<dd>due date ([yyyy][mm][dd])</dd>
</dl>
</li>
</ul>
<a name="getStatus--">
<a name="getId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatus</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getStatus()</pre>
<div class="block">Returns the status of the Book</div>
<h4>getId</h4>
<pre>public&nbsp;int&nbsp;getId()</pre>
<div class="block">Returns the id of the Book</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>status (AVAILABLE || RENTED || RESERVED || NOT AVAILABLE)</dd>
<dd>id</dd>
</dl>
</li>
</ul>
<a name="getId--">
<a name="getStatus--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getId</h4>
<pre>public&nbsp;int&nbsp;getId()</pre>
<div class="block">Returns the id of the Book</div>
<h4>getStatus</h4>
<pre>public&nbsp;java.lang.String&nbsp;getStatus()</pre>
<div class="block">Returns the status of the Book</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>id</dd>
<dd>status (AVAILABLE || RENTED || RESERVED || NOT AVAILABLE)</dd>
</dl>
</li>
</ul>
<a name="getDueDate--">
<a name="getTitle--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDueDate</h4>
<pre>public&nbsp;int[]&nbsp;getDueDate()</pre>
<div class="block">Returns the due date of the Book</div>
<h4>getTitle</h4>
<pre>public&nbsp;java.lang.String&nbsp;getTitle()</pre>
<div class="block">Returns the title of the Book</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>due date ([yyyy][mm][dd])</dd>
<dd>title</dd>
</dl>
</li>
</ul>
<a name="setTitle-java.lang.String-">
<a name="overdueFine-int:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTitle</h4>
<pre>public&nbsp;void&nbsp;setTitle(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title)</pre>
<div class="block">Set the title to the given title</div>
<h4>overdueFine</h4>
<pre>public&nbsp;double&nbsp;overdueFine(int[]&nbsp;currentDay)</pre>
<div class="block">Calculate the overdue fine</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>title</code> - The new title of the Book</dd>
<dd><code>currentDay</code> - Today's date</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Price of the fine</dd>
</dl>
</li>
</ul>
@@ -369,7 +444,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>rent</h4>
<pre>public&nbsp;boolean&nbsp;rent(int[]&nbsp;dueDate)</pre>
<pre>boolean&nbsp;rent(int[]&nbsp;dueDate)</pre>
<div class="block">Call to rent book, return if renting is successful</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -385,23 +460,21 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>returned</h4>
<pre>public&nbsp;void&nbsp;returned()</pre>
<pre>void&nbsp;returned()</pre>
<div class="block">Return the Book to the shelf</div>
</li>
</ul>
<a name="overdueFine-int:A-">
<a name="setTitle-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>overdueFine</h4>
<pre>public&nbsp;double&nbsp;overdueFine(int[]&nbsp;currentDay)</pre>
<div class="block">Calculate the overdue fine</div>
<h4>setTitle</h4>
<pre>public&nbsp;void&nbsp;setTitle(java.lang.String&nbsp;title)</pre>
<div class="block">Set the title to the given title</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>currentDay</code> - Today's date</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Price of the fine</dd>
<dd><code>title</code> - The new title of the Book</dd>
</dl>
</li>
</ul>
@@ -423,10 +496,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Book.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
@@ -458,13 +529,13 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -473,6 +544,5 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 141
- 56
docs/libsys/BookFactory.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:52 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BookFactory (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:32 MST 2017 -->
<title>BookFactory (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
@@ -13,13 +12,13 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="BookFactory (LibrarySystem 1.0 API)";
parent.document.title="BookFactory (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -40,17 +39,15 @@ var activeTableTab = "activeTableTab";
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/BookFactory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/Book.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/EditBookDialog.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li><a href="../libsys/BookFactoryTest.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/BookFactory.html" target="_top">Frames</a></li>
@@ -75,13 +72,13 @@ var activeTableTab = "activeTableTab";
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -97,7 +94,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>libsys.BookFactory</li>
@@ -110,13 +107,41 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>public class <span class="typeNameLabel">BookFactory</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
extends java.lang.Object</pre>
<div class="block">Handles all the Book(s)</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#bookFilename">bookFilename</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.util.List&lt;<a href="../libsys/Book.html" title="class in libsys">Book</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#books">books</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#id">id</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
@@ -134,7 +159,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#BookFactory-java.lang.String-">BookFactory</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;bookFilename)</code>
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#BookFactory-java.lang.String-">BookFactory</a></span>(java.lang.String&nbsp;bookFilename)</code>
<div class="block">Create a new BookFactory and fill it with information from a JSON file</div>
</td>
</tr>
@@ -161,30 +186,38 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../libsys/Book.html" title="class in libsys">Book</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#getBook-java.lang.String-">getBook</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title)</code>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#getBook-java.lang.String-">getBook</a></span>(java.lang.String&nbsp;title)</code>
<div class="block">Linear search through the array list for Book with the given Title</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../libsys/Book.html" title="class in libsys">Book</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#newBook-java.lang.String-java.lang.String-">newBook</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;status)</code>
<td class="colFirst"><code>(package private) <a href="../libsys/Book.html" title="class in libsys">Book</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#newBook-java.lang.String-java.lang.String-">newBook</a></span>(java.lang.String&nbsp;title,
java.lang.String&nbsp;status)</code>
<div class="block">Adds a new Book into this class</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#setBookFileName-java.lang.String-">setBookFileName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;bookFilename)</code>
<div class="block">Update the output filename for the object</div>
<td class="colFirst"><code>private <a href="../libsys/Book.html" title="class in libsys">Book</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#search-int-int-int-">search</a></span>(int&nbsp;index,
int&nbsp;start,
int&nbsp;end)</code>
<div class="block">Recursive binary search through the array list for the Book with the given id</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#setBookFileName-java.lang.String-">setBookFileName</a></span>(java.lang.String&nbsp;bookFilename)</code>
<div class="block">Update the output filename for the object</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#toJsonFile--">toJsonFile</a></span>()</code>
<div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "books.json")</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactory.html#update-libsys.Book-libsys.Book-">update</a></span>(<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;oldBook,
<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;newBook)</code>
@@ -196,8 +229,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
@@ -207,6 +240,41 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="bookFilename">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bookFilename</h4>
<pre>private&nbsp;java.lang.String bookFilename</pre>
</li>
</ul>
<a name="books">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>books</h4>
<pre>private&nbsp;java.util.List&lt;<a href="../libsys/Book.html" title="class in libsys">Book</a>&gt; books</pre>
</li>
</ul>
<a name="id">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>id</h4>
<pre>private&nbsp;int id</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
@@ -229,7 +297,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>BookFactory</h4>
<pre>public&nbsp;BookFactory(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;bookFilename)</pre>
<pre>public&nbsp;BookFactory(java.lang.String&nbsp;bookFilename)</pre>
<div class="block">Create a new BookFactory and fill it with information from a JSON file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -245,27 +313,35 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="toJsonFile--">
<a name="getBook-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toJsonFile</h4>
<pre>public&nbsp;void&nbsp;toJsonFile()</pre>
<div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "books.json")</div>
<h4>getBook</h4>
<pre>public&nbsp;<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;getBook(int&nbsp;index)</pre>
<div class="block">Looks for a Book with the given id</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - id of the Book to be found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Book with the given id</dd>
</dl>
</li>
</ul>
<a name="setBookFileName-java.lang.String-">
<a name="getBook-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBookFileName</h4>
<pre>public&nbsp;void&nbsp;setBookFileName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;bookFilename)</pre>
<div class="block">Update the output filename for the object</div>
<h4>getBook</h4>
<pre>public&nbsp;<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;getBook(java.lang.String&nbsp;title)</pre>
<div class="block">Linear search through the array list for Book with the given Title</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bookFilename</code> - The new filename</dd>
<dd><code>title</code> - Title of the Book to be found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Book with the given title</dd>
</dl>
</li>
</ul>
@@ -275,8 +351,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>newBook</h4>
<pre>public&nbsp;<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;newBook(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;status)</pre>
<pre><a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;newBook(java.lang.String&nbsp;title,
java.lang.String&nbsp;status)</pre>
<div class="block">Adds a new Book into this class</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -287,38 +363,50 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</dl>
</li>
</ul>
<a name="getBook-int-">
<a name="search-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBook</h4>
<pre>public&nbsp;<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;getBook(int&nbsp;index)</pre>
<div class="block">Looks for a Book with the given id</div>
<h4>search</h4>
<pre>private&nbsp;<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;search(int&nbsp;index,
int&nbsp;start,
int&nbsp;end)</pre>
<div class="block">Recursive binary search through the array list for the Book with the given id</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - id of the Book to be found</dd>
<dd><code>start</code> - Starting point to search</dd>
<dd><code>end</code> - Ending point to search</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Book with the given id</dd>
</dl>
</li>
</ul>
<a name="getBook-java.lang.String-">
<a name="setBookFileName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBook</h4>
<pre>public&nbsp;<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;getBook(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title)</pre>
<div class="block">Linear search through the array list for Book with the given Title</div>
<h4>setBookFileName</h4>
<pre>void&nbsp;setBookFileName(java.lang.String&nbsp;bookFilename)</pre>
<div class="block">Update the output filename for the object</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>title</code> - Title of the Book to be found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Book with the given title</dd>
<dd><code>bookFilename</code> - The new filename</dd>
</dl>
</li>
</ul>
<a name="toJsonFile--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toJsonFile</h4>
<pre>void&nbsp;toJsonFile()</pre>
<div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "books.json")</div>
</li>
</ul>
<a name="update-libsys.Book-libsys.Book-">
<!-- -->
</a>
@@ -353,17 +441,15 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/BookFactory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/Book.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/EditBookDialog.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li><a href="../libsys/BookFactoryTest.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/BookFactory.html" target="_top">Frames</a></li>
@@ -388,13 +474,13 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -403,6 +489,5 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 451
- 0
docs/libsys/BookFactoryTest.html Bestand weergeven

@@ -0,0 +1,451 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:32 MST 2017 -->
<title>BookFactoryTest (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="BookFactoryTest (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/BookFactory.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/BookTest.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/BookFactoryTest.html" target="_top">Frames</a></li>
<li><a href="BookFactoryTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">libsys</div>
<h2 title="Class BookFactoryTest" class="title">Class BookFactoryTest</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>junit.framework.Assert</li>
<li>
<ul class="inheritance">
<li>junit.framework.TestCase</li>
<li>
<ul class="inheritance">
<li>libsys.BookFactoryTest</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>junit.framework.Test</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">BookFactoryTest</span>
extends junit.framework.TestCase</pre>
<div class="block">Test BookFactory related operations</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#bookFactory">bookFactory</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#BookFactoryTest-java.lang.String-">BookFactoryTest</a></span>(java.lang.String&nbsp;testName)</code>
<div class="block">Test BookFactory related operations</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#exceptionTest--">exceptionTest</a></span>()</code>
<div class="block">Test exception cases and error handling of the class</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#newBookTest--">newBookTest</a></span>()</code>
<div class="block">Test the newBook function</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#outputAndInputTest--">outputAndInputTest</a></span>()</code>
<div class="block">Test the class in writing to and reading from files</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#setUp--">setUp</a></span>()</code>
<div class="block">Set up before testing</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static junit.framework.Test</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#suite--">suite</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#tearDown--">tearDown</a></span>()</code>
<div class="block">Delete files created during test</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookFactoryTest.html#testApp--">testApp</a></span>()</code>
<div class="block">Run all tests</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.TestCase">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.TestCase</h3>
<code>countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.Assert">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.Assert</h3>
<code>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="bookFactory">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>bookFactory</h4>
<pre>private&nbsp;<a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a> bookFactory</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="BookFactoryTest-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BookFactoryTest</h4>
<pre>public&nbsp;BookFactoryTest(java.lang.String&nbsp;testName)</pre>
<div class="block">Test BookFactory related operations</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>testName</code> - name of the test case</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="exceptionTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exceptionTest</h4>
<pre>private&nbsp;void&nbsp;exceptionTest()</pre>
<div class="block">Test exception cases and error handling of the class</div>
</li>
</ul>
<a name="newBookTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newBookTest</h4>
<pre>private&nbsp;void&nbsp;newBookTest()</pre>
<div class="block">Test the newBook function</div>
</li>
</ul>
<a name="outputAndInputTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outputAndInputTest</h4>
<pre>private&nbsp;void&nbsp;outputAndInputTest()</pre>
<div class="block">Test the class in writing to and reading from files</div>
</li>
</ul>
<a name="setUp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUp</h4>
<pre>public&nbsp;void&nbsp;setUp()
throws java.lang.Exception</pre>
<div class="block">Set up before testing</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setUp</code>&nbsp;in class&nbsp;<code>junit.framework.TestCase</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - Exception</dd>
</dl>
</li>
</ul>
<a name="suite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>suite</h4>
<pre>public static&nbsp;junit.framework.Test&nbsp;suite()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>suite of tests being tested</dd>
</dl>
</li>
</ul>
<a name="tearDown--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tearDown</h4>
<pre>public&nbsp;void&nbsp;tearDown()
throws java.lang.Exception</pre>
<div class="block">Delete files created during test</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>tearDown</code>&nbsp;in class&nbsp;<code>junit.framework.TestCase</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - Exception</dd>
</dl>
</li>
</ul>
<a name="testApp--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>testApp</h4>
<pre>public&nbsp;void&nbsp;testApp()</pre>
<div class="block">Run all tests</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/BookFactory.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/BookTest.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/BookFactoryTest.html" target="_top">Frames</a></li>
<li><a href="BookFactoryTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 473
- 0
docs/libsys/BookTest.html Bestand weergeven

@@ -0,0 +1,473 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:32 MST 2017 -->
<title>BookTest (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="BookTest (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":10,"i7":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/BookFactoryTest.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/EditBookDialog.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/BookTest.html" target="_top">Frames</a></li>
<li><a href="BookTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">libsys</div>
<h2 title="Class BookTest" class="title">Class BookTest</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>junit.framework.Assert</li>
<li>
<ul class="inheritance">
<li>junit.framework.TestCase</li>
<li>
<ul class="inheritance">
<li>libsys.BookTest</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>junit.framework.Test</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">BookTest</span>
extends junit.framework.TestCase</pre>
<div class="block">Test Book related operations</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../libsys/Book.html" title="class in libsys">Book</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#book1">book1</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../libsys/Book.html" title="class in libsys">Book</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#book2">book2</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#BookTest-java.lang.String-">BookTest</a></span>(java.lang.String&nbsp;testName)</code>
<div class="block">Test Book related operations</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#constructorTest--">constructorTest</a></span>()</code>
<div class="block">Test the functionality for all different types of constructor</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#rentTest--">rentTest</a></span>()</code>
<div class="block">Test the rent(int[]) function functionality</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#returnTest--">returnTest</a></span>()</code>
<div class="block">Test the returned() function functionality</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#setTitlesTest--">setTitlesTest</a></span>()</code>
<div class="block">Test the setTitles(String) functionality</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#setUp--">setUp</a></span>()</code>
<div class="block">Set up before testing</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static junit.framework.Test</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#suite--">suite</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#testApp--">testApp</a></span>()</code>
<div class="block">Run all tests</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/BookTest.html#valueTest--">valueTest</a></span>()</code>
<div class="block">Test if the values are accurate</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.TestCase">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.TestCase</h3>
<code>countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.Assert">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.Assert</h3>
<code>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="book1">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>book1</h4>
<pre>private&nbsp;<a href="../libsys/Book.html" title="class in libsys">Book</a> book1</pre>
</li>
</ul>
<a name="book2">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>book2</h4>
<pre>private&nbsp;<a href="../libsys/Book.html" title="class in libsys">Book</a> book2</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="BookTest-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BookTest</h4>
<pre>public&nbsp;BookTest(java.lang.String&nbsp;testName)</pre>
<div class="block">Test Book related operations</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>testName</code> - name of the test case</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="constructorTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>constructorTest</h4>
<pre>private&nbsp;void&nbsp;constructorTest()</pre>
<div class="block">Test the functionality for all different types of constructor</div>
</li>
</ul>
<a name="rentTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rentTest</h4>
<pre>private&nbsp;void&nbsp;rentTest()</pre>
<div class="block">Test the rent(int[]) function functionality</div>
</li>
</ul>
<a name="returnTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>returnTest</h4>
<pre>private&nbsp;void&nbsp;returnTest()</pre>
<div class="block">Test the returned() function functionality</div>
</li>
</ul>
<a name="setTitlesTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTitlesTest</h4>
<pre>private&nbsp;void&nbsp;setTitlesTest()</pre>
<div class="block">Test the setTitles(String) functionality</div>
</li>
</ul>
<a name="setUp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUp</h4>
<pre>public&nbsp;void&nbsp;setUp()
throws java.lang.Exception</pre>
<div class="block">Set up before testing</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setUp</code>&nbsp;in class&nbsp;<code>junit.framework.TestCase</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - Exception</dd>
</dl>
</li>
</ul>
<a name="suite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>suite</h4>
<pre>public static&nbsp;junit.framework.Test&nbsp;suite()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>suite of tests being tested</dd>
</dl>
</li>
</ul>
<a name="testApp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testApp</h4>
<pre>public&nbsp;void&nbsp;testApp()</pre>
<div class="block">Run all tests</div>
</li>
</ul>
<a name="valueTest--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>valueTest</h4>
<pre>private&nbsp;void&nbsp;valueTest()</pre>
<div class="block">Test if the values are accurate</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/BookFactoryTest.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/EditBookDialog.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/BookTest.html" target="_top">Frames</a></li>
<li><a href="BookTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 283
- 65
docs/libsys/EditBookDialog.html
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 346
- 76
docs/libsys/EditUserDialog.html
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 447
- 0
docs/libsys/Handler.html Bestand weergeven

@@ -0,0 +1,447 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:33 MST 2017 -->
<title>Handler (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Handler (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/EditUserDialog.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/HandlerTest.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/Handler.html" target="_top">Frames</a></li>
<li><a href="Handler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">libsys</div>
<h2 title="Class Handler" class="title">Class Handler</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>libsys.Handler</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>class <span class="typeNameLabel">Handler</span>
extends java.lang.Object</pre>
<div class="block">Handles all the background operations of MainGUI, also contains both UserFactory and BookFactory</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) <a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Handler.html#books">books</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.util.Calendar</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Handler.html#cal">cal</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) <a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Handler.html#users">users</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/Handler.html#Handler--">Handler</a></span>()</code>
<div class="block">Creates new empty Handler</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<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>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>(package private) java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Handler.html#bookIdsToTitlesString-int:A-">bookIdsToTitlesString</a></span>(int[]&nbsp;bookIDs)</code>
<div class="block">Create a String of all book titles with the given Book ids</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>(package private) boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Handler.html#borrowBook-libsys.User-libsys.Book-">borrowBook</a></span>(<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;user,
<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;book)</code>
<div class="block">Given User borrows the given Book</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>private int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Handler.html#calDueDate-int-">calDueDate</a></span>(int&nbsp;days)</code>
<div class="block">Calculating the due date</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>(package private) int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Handler.html#calDueDate-int-int:A-">calDueDate</a></span>(int&nbsp;days,
int[]&nbsp;date)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>private int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Handler.html#currentDay--">currentDay</a></span>()</code>
<div class="block">Returns the current date in an int array</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>(package private) boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Handler.html#returnBook-libsys.User-libsys.Book-">returnBook</a></span>(<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;user,
<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;book)</code>
<div class="block">Given User returns the given Book</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="books">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>books</h4>
<pre><a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a> books</pre>
</li>
</ul>
<a name="cal">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cal</h4>
<pre>private&nbsp;java.util.Calendar cal</pre>
</li>
</ul>
<a name="users">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>users</h4>
<pre><a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a> users</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Handler--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Handler</h4>
<pre>public&nbsp;Handler()</pre>
<div class="block">Creates new empty Handler</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="bookIdsToTitlesString-int:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bookIdsToTitlesString</h4>
<pre>java.lang.String&nbsp;bookIdsToTitlesString(int[]&nbsp;bookIDs)</pre>
<div class="block">Create a String of all book titles with the given Book ids</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bookIDs</code> - Array of Book ids</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>String of book titles separated with "; "</dd>
</dl>
</li>
</ul>
<a name="borrowBook-libsys.User-libsys.Book-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>borrowBook</h4>
<pre>boolean&nbsp;borrowBook(<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;user,
<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;book)</pre>
<div class="block">Given User borrows the given Book</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>user</code> - User borrowing the Book</dd>
<dd><code>book</code> - Book to be borrowed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>If the borrow operation is successful</dd>
</dl>
</li>
</ul>
<a name="calDueDate-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>calDueDate</h4>
<pre>private&nbsp;int[]&nbsp;calDueDate(int&nbsp;days)</pre>
<div class="block">Calculating the due date</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>days</code> - Amount of days to be borrowed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Amount of days added to the current day</dd>
</dl>
</li>
</ul>
<a name="calDueDate-int-int:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>calDueDate</h4>
<pre>int[]&nbsp;calDueDate(int&nbsp;days,
int[]&nbsp;date)</pre>
</li>
</ul>
<a name="currentDay--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>currentDay</h4>
<pre>private&nbsp;int[]&nbsp;currentDay()</pre>
<div class="block">Returns the current date in an int array</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>date in ([YYYY][MM][DD]) format</dd>
</dl>
</li>
</ul>
<a name="returnBook-libsys.User-libsys.Book-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>returnBook</h4>
<pre>boolean&nbsp;returnBook(<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;user,
<a href="../libsys/Book.html" title="class in libsys">Book</a>&nbsp;book)</pre>
<div class="block">Given User returns the given Book</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>user</code> - User returning the Book</dd>
<dd><code>book</code> - Book to be returned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>If the return operation is successful</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/EditUserDialog.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/HandlerTest.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/Handler.html" target="_top">Frames</a></li>
<li><a href="Handler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 467
- 0
docs/libsys/HandlerTest.html Bestand weergeven

@@ -0,0 +1,467 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:33 MST 2017 -->
<title>HandlerTest (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HandlerTest (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":10,"i7":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/Handler.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/Main.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/HandlerTest.html" target="_top">Frames</a></li>
<li><a href="HandlerTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">libsys</div>
<h2 title="Class HandlerTest" class="title">Class HandlerTest</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>junit.framework.Assert</li>
<li>
<ul class="inheritance">
<li>junit.framework.TestCase</li>
<li>
<ul class="inheritance">
<li>libsys.HandlerTest</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>junit.framework.Test</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">HandlerTest</span>
extends junit.framework.TestCase</pre>
<div class="block">Test Handler related operations</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../libsys/Handler.html" title="class in libsys">Handler</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/HandlerTest.html#handler">handler</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/HandlerTest.html#HandlerTest-java.lang.String-">HandlerTest</a></span>(java.lang.String&nbsp;testName)</code>
<div class="block">Test Handler related operations</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/HandlerTest.html#bookIdsToTitlesStringTest--">bookIdsToTitlesStringTest</a></span>()</code>
<div class="block">Test the bookIdsToTitlesString function</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/HandlerTest.html#borrowBookTest--">borrowBookTest</a></span>()</code>
<div class="block">Test the borrowBook function</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/HandlerTest.html#calDueDateTest--">calDueDateTest</a></span>()</code>
<div class="block">Test the calDueDate function</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/HandlerTest.html#returnBookTest--">returnBookTest</a></span>()</code>
<div class="block">Test the returnBook function</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/HandlerTest.html#setUp--">setUp</a></span>()</code>
<div class="block">Set up before testing</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static junit.framework.Test</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/HandlerTest.html#suite--">suite</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/HandlerTest.html#tearDown--">tearDown</a></span>()</code>
<div class="block">Delete files after testing</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/HandlerTest.html#testApp--">testApp</a></span>()</code>
<div class="block">Run all tests</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.TestCase">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.TestCase</h3>
<code>countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.Assert">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.Assert</h3>
<code>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="handler">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>handler</h4>
<pre>private&nbsp;<a href="../libsys/Handler.html" title="class in libsys">Handler</a> handler</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="HandlerTest-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HandlerTest</h4>
<pre>public&nbsp;HandlerTest(java.lang.String&nbsp;testName)</pre>
<div class="block">Test Handler related operations</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>testName</code> - name of the test case</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="bookIdsToTitlesStringTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bookIdsToTitlesStringTest</h4>
<pre>private&nbsp;void&nbsp;bookIdsToTitlesStringTest()</pre>
<div class="block">Test the bookIdsToTitlesString function</div>
</li>
</ul>
<a name="borrowBookTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>borrowBookTest</h4>
<pre>private&nbsp;void&nbsp;borrowBookTest()</pre>
<div class="block">Test the borrowBook function</div>
</li>
</ul>
<a name="calDueDateTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>calDueDateTest</h4>
<pre>private&nbsp;void&nbsp;calDueDateTest()</pre>
<div class="block">Test the calDueDate function</div>
</li>
</ul>
<a name="returnBookTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>returnBookTest</h4>
<pre>private&nbsp;void&nbsp;returnBookTest()</pre>
<div class="block">Test the returnBook function</div>
</li>
</ul>
<a name="setUp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUp</h4>
<pre>public&nbsp;void&nbsp;setUp()
throws java.lang.Exception</pre>
<div class="block">Set up before testing</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setUp</code>&nbsp;in class&nbsp;<code>junit.framework.TestCase</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - Exception</dd>
</dl>
</li>
</ul>
<a name="suite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>suite</h4>
<pre>public static&nbsp;junit.framework.Test&nbsp;suite()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>suite of tests being tested</dd>
</dl>
</li>
</ul>
<a name="tearDown--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tearDown</h4>
<pre>public&nbsp;void&nbsp;tearDown()
throws java.lang.Exception</pre>
<div class="block">Delete files after testing</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>tearDown</code>&nbsp;in class&nbsp;<code>junit.framework.TestCase</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - Exception</dd>
</dl>
</li>
</ul>
<a name="testApp--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>testApp</h4>
<pre>public&nbsp;void&nbsp;testApp()</pre>
<div class="block">Run all tests</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/Handler.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/Main.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/HandlerTest.html" target="_top">Frames</a></li>
<li><a href="HandlerTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 81
- 24
docs/libsys/Main.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:53 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Main (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:33 MST 2017 -->
<title>Main (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
@@ -13,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Main (LibrarySystem 1.0 API)";
parent.document.title="Main (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
@@ -40,16 +39,14 @@ var activeTableTab = "activeTableTab";
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Main.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/EditUserDialog.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/HandlerTest.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/MainGUI.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
@@ -75,13 +72,13 @@ var activeTableTab = "activeTableTab";
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -97,7 +94,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>libsys.Main</li>
@@ -110,13 +107,41 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>public class <span class="typeNameLabel">Main</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
extends java.lang.Object</pre>
<div class="block">Main class</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Main.html#bookFilename">bookFilename</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) static <a href="../libsys/Settings.html" title="class in libsys">Settings</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Main.html#settings">settings</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Main.html#userFilename">userFilename</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
@@ -148,7 +173,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Main.html#main-java.lang.String:A-">main</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;args)</code>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Main.html#main-java.lang.String:A-">main</a></span>(java.lang.String[]&nbsp;args)</code>
<div class="block">Start the applicationn</div>
</td>
</tr>
@@ -157,8 +182,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
@@ -168,6 +193,41 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="bookFilename">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bookFilename</h4>
<pre>static&nbsp;java.lang.String bookFilename</pre>
</li>
</ul>
<a name="settings">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>settings</h4>
<pre>static&nbsp;<a href="../libsys/Settings.html" title="class in libsys">Settings</a> settings</pre>
</li>
</ul>
<a name="userFilename">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>userFilename</h4>
<pre>static&nbsp;java.lang.String userFilename</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
@@ -197,7 +257,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>main</h4>
<pre>public static&nbsp;void&nbsp;main(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;args)</pre>
<pre>public static&nbsp;void&nbsp;main(java.lang.String[]&nbsp;args)</pre>
<div class="block">Start the applicationn</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -223,16 +283,14 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Main.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/EditUserDialog.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/HandlerTest.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/MainGUI.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
@@ -258,13 +316,13 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -273,6 +331,5 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 641
- 64
docs/libsys/MainGUI.html
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 278
- 73
docs/libsys/NewBookDialog.html
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 280
- 75
docs/libsys/NewUserDialog.html
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 231
- 62
docs/libsys/RentDialog.html
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 244
- 62
docs/libsys/ReturnDialog.html
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 152
- 67
docs/libsys/Settings.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:53 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Settings (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>Settings (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
@@ -13,13 +12,13 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Settings (LibrarySystem 1.0 API)";
parent.document.title="Settings (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -40,10 +39,8 @@ var activeTableTab = "activeTableTab";
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Settings.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
@@ -75,13 +72,13 @@ var activeTableTab = "activeTableTab";
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -97,7 +94,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>libsys.Settings</li>
@@ -110,13 +107,41 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>public class <span class="typeNameLabel">Settings</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
extends java.lang.Object</pre>
<div class="block">Handles all settings related operations and background processing of SettingsDialog</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.HashMap&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#items">items</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.util.ArrayList&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#keys">keys</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#settingsFileName">settingsFileName</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
@@ -129,7 +154,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/Settings.html#Settings-java.lang.String-">Settings</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;settingsFileName)</code>
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/Settings.html#Settings-java.lang.String-">Settings</a></span>(java.lang.String&nbsp;settingsFileName)</code>
<div class="block">Creates new Settings importing information from the given file name</div>
</td>
</tr>
@@ -149,54 +174,63 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#get-java.lang.String-">get</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</code>
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#get-java.lang.String-">get</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Get the value associated to the field name</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colFirst"><code>(package private) java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#getKey-int-">getKey</a></span>(int&nbsp;location)</code>
<div class="block">Get the field name from that specific location in the array list</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#setBooksFilename-java.lang.String-">setBooksFilename</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newBooksFilename)</code>
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#setBooksFilename-java.lang.String-">setBooksFilename</a></span>(java.lang.String&nbsp;newBooksFilename)</code>
<div class="block">Change the file name for the Books</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#setDefault--">setDefault</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#setTitle-java.lang.String-">setTitle</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newTitle)</code>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#setTitle-java.lang.String-">setTitle</a></span>(java.lang.String&nbsp;newTitle)</code>
<div class="block">Change the title of the application</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#setUsersFilename-java.lang.String-">setUsersFilename</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newUsersFilename)</code>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#setUsersFilename-java.lang.String-">setUsersFilename</a></span>(java.lang.String&nbsp;newUsersFilename)</code>
<div class="block">Change the file name for the Users</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#size--">size</a></span>()</code>
<div class="block">Amount of fields in the settings</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#toFile--">toFile</a></span>()</code>
<div class="block">Save the settings to the given input file</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Settings.html#update-java.lang.String-java.lang.String-">update</a></span>(java.lang.String&nbsp;key,
java.lang.String&nbsp;newValue)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
@@ -206,6 +240,41 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="items">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>items</h4>
<pre>private&nbsp;java.util.HashMap&lt;java.lang.String,java.lang.String&gt; items</pre>
</li>
</ul>
<a name="keys">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keys</h4>
<pre>private&nbsp;java.util.ArrayList&lt;java.lang.String&gt; keys</pre>
</li>
</ul>
<a name="settingsFileName">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>settingsFileName</h4>
<pre>private&nbsp;java.lang.String settingsFileName</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
@@ -218,7 +287,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>Settings</h4>
<pre>public&nbsp;Settings(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;settingsFileName)</pre>
<pre>public&nbsp;Settings(java.lang.String&nbsp;settingsFileName)</pre>
<div class="block">Creates new Settings importing information from the given file name</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -234,27 +303,19 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="toFile--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toFile</h4>
<pre>public&nbsp;void&nbsp;toFile()</pre>
<div class="block">Save the settings to the given input file</div>
</li>
</ul>
<a name="size--">
<a name="get-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre>public&nbsp;int&nbsp;size()</pre>
<div class="block">Amount of fields in the settings</div>
<h4>get</h4>
<pre>public&nbsp;java.lang.String&nbsp;get(java.lang.String&nbsp;key)</pre>
<div class="block">Get the value associated to the field name</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - Field name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Amount of keys</dd>
<dd>Field value</dd>
</dl>
</li>
</ul>
@@ -264,7 +325,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getKey</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getKey(int&nbsp;location)</pre>
<pre>java.lang.String&nbsp;getKey(int&nbsp;location)</pre>
<div class="block">Get the field name from that specific location in the array list</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -274,29 +335,36 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</dl>
</li>
</ul>
<a name="get-java.lang.String-">
<a name="setBooksFilename-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;get(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
<div class="block">Get the value associated to the field name</div>
<h4>setBooksFilename</h4>
<pre>void&nbsp;setBooksFilename(java.lang.String&nbsp;newBooksFilename)</pre>
<div class="block">Change the file name for the Books</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - Field name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Field value</dd>
<dd><code>newBooksFilename</code> - New file name for Books</dd>
</dl>
</li>
</ul>
<a name="setDefault--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefault</h4>
<pre>private&nbsp;void&nbsp;setDefault()</pre>
</li>
</ul>
<a name="setTitle-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTitle</h4>
<pre>public&nbsp;void&nbsp;setTitle(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newTitle)</pre>
<pre>public&nbsp;void&nbsp;setTitle(java.lang.String&nbsp;newTitle)</pre>
<div class="block">Change the title of the application</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -310,7 +378,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>setUsersFilename</h4>
<pre>public&nbsp;void&nbsp;setUsersFilename(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newUsersFilename)</pre>
<pre>void&nbsp;setUsersFilename(java.lang.String&nbsp;newUsersFilename)</pre>
<div class="block">Change the file name for the Users</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -318,20 +386,40 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</dl>
</li>
</ul>
<a name="setBooksFilename-java.lang.String-">
<a name="size--">
<!-- -->
</a>
<ul class="blockListLast">
<ul class="blockList">
<li class="blockList">
<h4>setBooksFilename</h4>
<pre>public&nbsp;void&nbsp;setBooksFilename(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newBooksFilename)</pre>
<div class="block">Change the file name for the Books</div>
<h4>size</h4>
<pre>public&nbsp;int&nbsp;size()</pre>
<div class="block">Amount of fields in the settings</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newBooksFilename</code> - New file name for Books</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Amount of keys</dd>
</dl>
</li>
</ul>
<a name="toFile--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toFile</h4>
<pre>private&nbsp;void&nbsp;toFile()</pre>
<div class="block">Save the settings to the given input file</div>
</li>
</ul>
<a name="update-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>update</h4>
<pre>private&nbsp;void&nbsp;update(java.lang.String&nbsp;key,
java.lang.String&nbsp;newValue)</pre>
</li>
</ul>
</li>
</ul>
</li>
@@ -350,10 +438,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Settings.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
@@ -385,13 +471,13 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -400,6 +486,5 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 343
- 86
docs/libsys/SettingsDialog.html
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 444
- 0
docs/libsys/SettingsTest.html Bestand weergeven

@@ -0,0 +1,444 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>SettingsTest (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SettingsTest (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/SettingsDialog.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/User.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/SettingsTest.html" target="_top">Frames</a></li>
<li><a href="SettingsTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">libsys</div>
<h2 title="Class SettingsTest" class="title">Class SettingsTest</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>junit.framework.Assert</li>
<li>
<ul class="inheritance">
<li>junit.framework.TestCase</li>
<li>
<ul class="inheritance">
<li>libsys.SettingsTest</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>junit.framework.Test</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">SettingsTest</span>
extends junit.framework.TestCase</pre>
<div class="block">Test Settings related operations</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../libsys/Settings.html" title="class in libsys">Settings</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/SettingsTest.html#settings">settings</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/SettingsTest.html#SettingsTest-java.lang.String-">SettingsTest</a></span>(java.lang.String&nbsp;testName)</code>
<div class="block">Test Settings related operations</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/SettingsTest.html#constructorTest--">constructorTest</a></span>()</code>
<div class="block">Test the constructor</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/SettingsTest.html#setBooksFilenameTest--">setBooksFilenameTest</a></span>()</code>
<div class="block">Test the setBooksFilename function</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/SettingsTest.html#setTitleTest--">setTitleTest</a></span>()</code>
<div class="block">Test the setTitle function</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/SettingsTest.html#setUsersFilenameTest--">setUsersFilenameTest</a></span>()</code>
<div class="block">Test the setUsersFilename function</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static junit.framework.Test</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/SettingsTest.html#suite--">suite</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/SettingsTest.html#tearDown--">tearDown</a></span>()</code>
<div class="block">Delete test files</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/SettingsTest.html#testApp--">testApp</a></span>()</code>
<div class="block">Run all tests</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.TestCase">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.TestCase</h3>
<code>countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.Assert">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.Assert</h3>
<code>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="settings">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>settings</h4>
<pre>private&nbsp;<a href="../libsys/Settings.html" title="class in libsys">Settings</a> settings</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SettingsTest-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SettingsTest</h4>
<pre>public&nbsp;SettingsTest(java.lang.String&nbsp;testName)</pre>
<div class="block">Test Settings related operations</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>testName</code> - name of the test case</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="constructorTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>constructorTest</h4>
<pre>private&nbsp;void&nbsp;constructorTest()</pre>
<div class="block">Test the constructor</div>
</li>
</ul>
<a name="setBooksFilenameTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBooksFilenameTest</h4>
<pre>private&nbsp;void&nbsp;setBooksFilenameTest()</pre>
<div class="block">Test the setBooksFilename function</div>
</li>
</ul>
<a name="setTitleTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTitleTest</h4>
<pre>private&nbsp;void&nbsp;setTitleTest()</pre>
<div class="block">Test the setTitle function</div>
</li>
</ul>
<a name="setUsersFilenameTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUsersFilenameTest</h4>
<pre>private&nbsp;void&nbsp;setUsersFilenameTest()</pre>
<div class="block">Test the setUsersFilename function</div>
</li>
</ul>
<a name="suite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>suite</h4>
<pre>public static&nbsp;junit.framework.Test&nbsp;suite()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>suite of tests being tested</dd>
</dl>
</li>
</ul>
<a name="tearDown--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tearDown</h4>
<pre>public&nbsp;void&nbsp;tearDown()
throws java.lang.Exception</pre>
<div class="block">Delete test files</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>tearDown</code>&nbsp;in class&nbsp;<code>junit.framework.TestCase</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - Exception</dd>
</dl>
</li>
</ul>
<a name="testApp--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>testApp</h4>
<pre>public&nbsp;void&nbsp;testApp()</pre>
<div class="block">Run all tests</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/SettingsDialog.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/User.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/SettingsTest.html" target="_top">Frames</a></li>
<li><a href="SettingsTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 151
- 81
docs/libsys/User.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>User (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>User (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
@@ -13,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="User (LibrarySystem 1.0 API)";
parent.document.title="User (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
@@ -40,16 +39,14 @@ var activeTableTab = "activeTableTab";
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/User.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/SettingsDialog.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/SettingsTest.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/UserFactory.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
@@ -75,13 +72,13 @@ var activeTableTab = "activeTableTab";
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -97,7 +94,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>libsys.User</li>
@@ -110,13 +107,45 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>public class <span class="typeNameLabel">User</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
extends java.lang.Object</pre>
<div class="block">User object</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.List&lt;java.lang.Integer&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#books">books</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#id">id</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#limit">limit</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#name">name</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
@@ -129,17 +158,17 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/User.html#User-java.lang.String-int-int-">User</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/User.html#User-java.lang.String-int-int-">User</a></span>(java.lang.String&nbsp;name,
int&nbsp;id,
int&nbsp;limit)</code>
<div class="block">Creates a new User with name, id and limit (usually used to add new User)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/User.html#User-java.lang.String-int-int-java.util.ArrayList-">User</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/User.html#User-java.lang.String-int-int-java.util.ArrayList-">User</a></span>(java.lang.String&nbsp;name,
int&nbsp;id,
int&nbsp;limit,
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;books)</code>
java.util.ArrayList&lt;java.lang.Integer&gt;&nbsp;books)</code>
<div class="block">Creates a new User with name, id, limit and books (usually used to initialize from database)</div>
</td>
</tr>
@@ -165,7 +194,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colFirst"><code>(package private) boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#borrowNewBook-int-">borrowNewBook</a></span>(int&nbsp;id)</code>
<div class="block">User borrows a Book</div>
</td>
@@ -183,13 +212,13 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#getName--">getName</a></span>()</code>
<div class="block">Gets name of this User</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colFirst"><code>(package private) boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#returnBook-int-">returnBook</a></span>(int&nbsp;id)</code>
<div class="block">User returns a Book</div>
</td>
@@ -202,7 +231,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#setName-java.lang.String-">setName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#setName-java.lang.String-">setName</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Change name of this User</div>
</td>
</tr>
@@ -217,8 +246,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
@@ -228,6 +257,50 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="books">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>books</h4>
<pre>private&nbsp;java.util.List&lt;java.lang.Integer&gt; books</pre>
</li>
</ul>
<a name="id">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id</h4>
<pre>private&nbsp;int id</pre>
</li>
</ul>
<a name="limit">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>limit</h4>
<pre>private&nbsp;int limit</pre>
</li>
</ul>
<a name="name">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>name</h4>
<pre>private&nbsp;java.lang.String name</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
@@ -240,7 +313,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>User</h4>
<pre>public&nbsp;User(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<pre>public&nbsp;User(java.lang.String&nbsp;name,
int&nbsp;id,
int&nbsp;limit)</pre>
<div class="block">Creates a new User with name, id and limit (usually used to add new User)</div>
@@ -258,10 +331,10 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>User</h4>
<pre>public&nbsp;User(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<pre>public&nbsp;User(java.lang.String&nbsp;name,
int&nbsp;id,
int&nbsp;limit,
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;books)</pre>
java.util.ArrayList&lt;java.lang.Integer&gt;&nbsp;books)</pre>
<div class="block">Creates a new User with name, id, limit and books (usually used to initialize from database)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -280,17 +353,33 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getName--">
<a name="bookStatus--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getName()</pre>
<div class="block">Gets name of this User</div>
<h4>bookStatus</h4>
<pre>public&nbsp;int[]&nbsp;bookStatus()</pre>
<div class="block">Get Book ids of the books</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Name</dd>
<dd>Array of Book ids borrowed by this User</dd>
</dl>
</li>
</ul>
<a name="borrowNewBook-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>borrowNewBook</h4>
<pre>boolean&nbsp;borrowNewBook(int&nbsp;id)</pre>
<div class="block">User borrows a Book</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - id of the Book to tbe borrowed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>If the borrowing operation is successful</dd>
</dl>
</li>
</ul>
@@ -322,91 +411,75 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</dl>
</li>
</ul>
<a name="setName-java.lang.String-">
<a name="getName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setName</h4>
<pre>public&nbsp;void&nbsp;setName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Change name of this User</div>
<h4>getName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getName()</pre>
<div class="block">Gets name of this User</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - New name of the User</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Name</dd>
</dl>
</li>
</ul>
<a name="setLimit-int-">
<a name="returnBook-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLimit</h4>
<pre>public&nbsp;void&nbsp;setLimit(int&nbsp;limit)</pre>
<div class="block">Change limit of this User</div>
<h4>returnBook</h4>
<pre>boolean&nbsp;returnBook(int&nbsp;id)</pre>
<div class="block">User returns a Book</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>limit</code> - New limit of the User</dd>
</dl>
</li>
</ul>
<a name="status--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>status</h4>
<pre>public&nbsp;boolean&nbsp;status()</pre>
<div class="block">Check status of the User</div>
<dl>
<dd><code>id</code> - id of the Book to be returned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>If the User is already at the borrowing limit</dd>
<dd>If the returning operation is successful</dd>
</dl>
</li>
</ul>
<a name="bookStatus--">
<a name="setLimit-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bookStatus</h4>
<pre>public&nbsp;int[]&nbsp;bookStatus()</pre>
<div class="block">Get Book ids of the books</div>
<h4>setLimit</h4>
<pre>public&nbsp;void&nbsp;setLimit(int&nbsp;limit)</pre>
<div class="block">Change limit of this User</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Array of Book ids borrowed by this User</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>limit</code> - New limit of the User</dd>
</dl>
</li>
</ul>
<a name="borrowNewBook-int-">
<a name="setName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>borrowNewBook</h4>
<pre>public&nbsp;boolean&nbsp;borrowNewBook(int&nbsp;id)</pre>
<div class="block">User borrows a Book</div>
<h4>setName</h4>
<pre>public&nbsp;void&nbsp;setName(java.lang.String&nbsp;name)</pre>
<div class="block">Change name of this User</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - id of the Book to tbe borrowed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>If the borrowing operation is successful</dd>
<dd><code>name</code> - New name of the User</dd>
</dl>
</li>
</ul>
<a name="returnBook-int-">
<a name="status--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>returnBook</h4>
<pre>public&nbsp;boolean&nbsp;returnBook(int&nbsp;id)</pre>
<div class="block">User returns a Book</div>
<h4>status</h4>
<pre>public&nbsp;boolean&nbsp;status()</pre>
<div class="block">Check status of the User</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - id of the Book to be returned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>If the returning operation is successful</dd>
<dd>If the User is already at the borrowing limit</dd>
</dl>
</li>
</ul>
@@ -428,16 +501,14 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/User.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/SettingsDialog.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/SettingsTest.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/UserFactory.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
@@ -463,13 +534,13 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -478,6 +549,5 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 143
- 58
docs/libsys/UserFactory.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>UserFactory (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>UserFactory (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
@@ -13,13 +12,13 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UserFactory (LibrarySystem 1.0 API)";
parent.document.title="UserFactory (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -40,17 +39,15 @@ var activeTableTab = "activeTableTab";
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/UserFactory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/User.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
<li><a href="../libsys/UserFactoryTest.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/UserFactory.html" target="_top">Frames</a></li>
@@ -75,13 +72,13 @@ var activeTableTab = "activeTableTab";
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -97,7 +94,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>libsys.UserFactory</li>
@@ -110,13 +107,41 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>public class <span class="typeNameLabel">UserFactory</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
extends java.lang.Object</pre>
<div class="block">Handles all the User(s)</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#id">id</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#userFilename">userFilename</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.List&lt;<a href="../libsys/User.html" title="class in libsys">User</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#users">users</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
@@ -134,7 +159,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#UserFactory-java.lang.String-">UserFactory</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userFilename)</code>
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#UserFactory-java.lang.String-">UserFactory</a></span>(java.lang.String&nbsp;userFilename)</code>
<div class="block">Create a new UserFactory and fill it with information from a JSON file</div>
</td>
</tr>
@@ -154,37 +179,45 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colFirst"><code>(package private) <a href="../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#getUser-int-">getUser</a></span>(int&nbsp;index)</code>
<div class="block">Looks for a User with the given id</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#getUser-java.lang.String-">getUser</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#getUser-java.lang.String-">getUser</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Looks for the User with the given name</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#newUser-java.lang.String-int-">newUser</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<td class="colFirst"><code>(package private) <a href="../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#newUser-java.lang.String-int-">newUser</a></span>(java.lang.String&nbsp;name,
int&nbsp;limit)</code>
<div class="block">Adds a new User into this class</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#setUserFileName-java.lang.String-">setUserFileName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userFilename)</code>
<div class="block">Update the output filename for the object</div>
<td class="colFirst"><code>private <a href="../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#search-int-int-int-">search</a></span>(int&nbsp;index,
int&nbsp;start,
int&nbsp;end)</code>
<div class="block">Recursive binary search through the array list for the User with the given id</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#setUserFileName-java.lang.String-">setUserFileName</a></span>(java.lang.String&nbsp;userFilename)</code>
<div class="block">Update the output filename for the object</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#toJsonFile--">toJsonFile</a></span>()</code>
<div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "users.json")</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactory.html#update-libsys.User-libsys.User-">update</a></span>(<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;oldUser,
<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;newUser)</code>
@@ -196,8 +229,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
@@ -207,6 +240,41 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="id">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id</h4>
<pre>private&nbsp;int id</pre>
</li>
</ul>
<a name="userFilename">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>userFilename</h4>
<pre>private&nbsp;java.lang.String userFilename</pre>
</li>
</ul>
<a name="users">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>users</h4>
<pre>private&nbsp;java.util.List&lt;<a href="../libsys/User.html" title="class in libsys">User</a>&gt; users</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
@@ -229,7 +297,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>UserFactory</h4>
<pre>public&nbsp;UserFactory(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userFilename)</pre>
<pre>public&nbsp;UserFactory(java.lang.String&nbsp;userFilename)</pre>
<div class="block">Create a new UserFactory and fill it with information from a JSON file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -245,27 +313,35 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="toJsonFile--">
<a name="getUser-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toJsonFile</h4>
<pre>public&nbsp;void&nbsp;toJsonFile()</pre>
<div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "users.json")</div>
<h4>getUser</h4>
<pre><a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;getUser(int&nbsp;index)</pre>
<div class="block">Looks for a User with the given id</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - id of the User to be found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>User with the given id</dd>
</dl>
</li>
</ul>
<a name="setUserFileName-java.lang.String-">
<a name="getUser-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserFileName</h4>
<pre>public&nbsp;void&nbsp;setUserFileName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userFilename)</pre>
<div class="block">Update the output filename for the object</div>
<h4>getUser</h4>
<pre>public&nbsp;<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;getUser(java.lang.String&nbsp;name)</pre>
<div class="block">Looks for the User with the given name</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userFilename</code> - The new filename</dd>
<dd><code>name</code> - Name of the User to be found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>User with the given name</dd>
</dl>
</li>
</ul>
@@ -275,8 +351,8 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>newUser</h4>
<pre>public&nbsp;<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;newUser(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
int&nbsp;limit)</pre>
<pre><a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;newUser(java.lang.String&nbsp;name,
int&nbsp;limit)</pre>
<div class="block">Adds a new User into this class</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -287,38 +363,50 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
</dl>
</li>
</ul>
<a name="getUser-java.lang.String-">
<a name="search-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUser</h4>
<pre>public&nbsp;<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;getUser(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Looks for the User with the given name</div>
<h4>search</h4>
<pre>private&nbsp;<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;search(int&nbsp;index,
int&nbsp;start,
int&nbsp;end)</pre>
<div class="block">Recursive binary search through the array list for the User with the given id</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Name of the User to be found</dd>
<dd><code>index</code> - id of the User to be found</dd>
<dd><code>start</code> - Starting point to search</dd>
<dd><code>end</code> - Ending point to search</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>User with the given name</dd>
<dd>User with the given id</dd>
</dl>
</li>
</ul>
<a name="getUser-int-">
<a name="setUserFileName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUser</h4>
<pre>public&nbsp;<a href="../libsys/User.html" title="class in libsys">User</a>&nbsp;getUser(int&nbsp;index)</pre>
<div class="block">Looks for a User with the given id</div>
<h4>setUserFileName</h4>
<pre>void&nbsp;setUserFileName(java.lang.String&nbsp;userFilename)</pre>
<div class="block">Update the output filename for the object</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - id of the User to be found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>User with the given id</dd>
<dd><code>userFilename</code> - The new filename</dd>
</dl>
</li>
</ul>
<a name="toJsonFile--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toJsonFile</h4>
<pre>void&nbsp;toJsonFile()</pre>
<div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "users.json")</div>
</li>
</ul>
<a name="update-libsys.User-libsys.User-">
<!-- -->
</a>
@@ -353,17 +441,15 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/UserFactory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/User.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
<li><a href="../libsys/UserFactoryTest.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/UserFactory.html" target="_top">Frames</a></li>
@@ -388,13 +474,13 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
@@ -403,6 +489,5 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 451
- 0
docs/libsys/UserFactoryTest.html Bestand weergeven

@@ -0,0 +1,451 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>UserFactoryTest (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UserFactoryTest (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/UserFactory.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/UserTest.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/UserFactoryTest.html" target="_top">Frames</a></li>
<li><a href="UserFactoryTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">libsys</div>
<h2 title="Class UserFactoryTest" class="title">Class UserFactoryTest</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>junit.framework.Assert</li>
<li>
<ul class="inheritance">
<li>junit.framework.TestCase</li>
<li>
<ul class="inheritance">
<li>libsys.UserFactoryTest</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>junit.framework.Test</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">UserFactoryTest</span>
extends junit.framework.TestCase</pre>
<div class="block">Test UserFactory related operations</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#userFactory">userFactory</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#UserFactoryTest-java.lang.String-">UserFactoryTest</a></span>(java.lang.String&nbsp;testName)</code>
<div class="block">Test UserFactory related operations</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#exceptionTest--">exceptionTest</a></span>()</code>
<div class="block">Test exception cases and error handling of the class</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#fileIOTest--">fileIOTest</a></span>()</code>
<div class="block">Test the class in writing to and reading from files</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#newUserTest--">newUserTest</a></span>()</code>
<div class="block">Test the newUser function</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#setUp--">setUp</a></span>()</code>
<div class="block">Set up before testing</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static junit.framework.Test</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#suite--">suite</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#tearDown--">tearDown</a></span>()</code>
<div class="block">Delete files created during test</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserFactoryTest.html#testApp--">testApp</a></span>()</code>
<div class="block">Run all tests</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.TestCase">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.TestCase</h3>
<code>countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.Assert">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.Assert</h3>
<code>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="userFactory">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>userFactory</h4>
<pre>private&nbsp;<a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a> userFactory</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="UserFactoryTest-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>UserFactoryTest</h4>
<pre>public&nbsp;UserFactoryTest(java.lang.String&nbsp;testName)</pre>
<div class="block">Test UserFactory related operations</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>testName</code> - name of the test case</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="exceptionTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exceptionTest</h4>
<pre>private&nbsp;void&nbsp;exceptionTest()</pre>
<div class="block">Test exception cases and error handling of the class</div>
</li>
</ul>
<a name="fileIOTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fileIOTest</h4>
<pre>private&nbsp;void&nbsp;fileIOTest()</pre>
<div class="block">Test the class in writing to and reading from files</div>
</li>
</ul>
<a name="newUserTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newUserTest</h4>
<pre>private&nbsp;void&nbsp;newUserTest()</pre>
<div class="block">Test the newUser function</div>
</li>
</ul>
<a name="setUp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUp</h4>
<pre>public&nbsp;void&nbsp;setUp()
throws java.lang.Exception</pre>
<div class="block">Set up before testing</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setUp</code>&nbsp;in class&nbsp;<code>junit.framework.TestCase</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - Exception</dd>
</dl>
</li>
</ul>
<a name="suite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>suite</h4>
<pre>public static&nbsp;junit.framework.Test&nbsp;suite()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>suite of tests being tested</dd>
</dl>
</li>
</ul>
<a name="tearDown--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tearDown</h4>
<pre>public&nbsp;void&nbsp;tearDown()
throws java.lang.Exception</pre>
<div class="block">Delete files created during test</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>tearDown</code>&nbsp;in class&nbsp;<code>junit.framework.TestCase</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - Exception</dd>
</dl>
</li>
</ul>
<a name="testApp--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>testApp</h4>
<pre>public&nbsp;void&nbsp;testApp()</pre>
<div class="block">Run all tests</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/UserFactory.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/UserTest.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/UserFactoryTest.html" target="_top">Frames</a></li>
<li><a href="UserFactoryTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 441
- 0
docs/libsys/UserTest.html Bestand weergeven

@@ -0,0 +1,441 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>UserTest (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UserTest (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":10,"i5":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/UserFactoryTest.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/UserTest.html" target="_top">Frames</a></li>
<li><a href="UserTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">libsys</div>
<h2 title="Class UserTest" class="title">Class UserTest</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>junit.framework.Assert</li>
<li>
<ul class="inheritance">
<li>junit.framework.TestCase</li>
<li>
<ul class="inheritance">
<li>libsys.UserTest</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>junit.framework.Test</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">UserTest</span>
extends junit.framework.TestCase</pre>
<div class="block">Test User related operations</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserTest.html#user1">user1</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserTest.html#user2">user2</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../libsys/UserTest.html#UserTest-java.lang.String-">UserTest</a></span>(java.lang.String&nbsp;testName)</code>
<div class="block">Test User related operations</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserTest.html#bookInteractionTest--">bookInteractionTest</a></span>()</code>
<div class="block">Test all functions related to Book</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserTest.html#setterTest--">setterTest</a></span>()</code>
<div class="block">Test the setter functions</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserTest.html#setUp--">setUp</a></span>()</code>
<div class="block">Set up before testing</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static junit.framework.Test</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserTest.html#suite--">suite</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserTest.html#testApp--">testApp</a></span>()</code>
<div class="block">Run all tests</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/UserTest.html#valueTest--">valueTest</a></span>()</code>
<div class="block">Test if the values are accurate</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.TestCase">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.TestCase</h3>
<code>countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.junit.framework.Assert">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;junit.framework.Assert</h3>
<code>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="user1">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>user1</h4>
<pre>private&nbsp;<a href="../libsys/User.html" title="class in libsys">User</a> user1</pre>
</li>
</ul>
<a name="user2">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>user2</h4>
<pre>private&nbsp;<a href="../libsys/User.html" title="class in libsys">User</a> user2</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="UserTest-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>UserTest</h4>
<pre>public&nbsp;UserTest(java.lang.String&nbsp;testName)</pre>
<div class="block">Test User related operations</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>testName</code> - name of the test case</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="bookInteractionTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bookInteractionTest</h4>
<pre>private&nbsp;void&nbsp;bookInteractionTest()</pre>
<div class="block">Test all functions related to Book</div>
</li>
</ul>
<a name="setterTest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setterTest</h4>
<pre>private&nbsp;void&nbsp;setterTest()</pre>
<div class="block">Test the setter functions</div>
</li>
</ul>
<a name="setUp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUp</h4>
<pre>public&nbsp;void&nbsp;setUp()
throws java.lang.Exception</pre>
<div class="block">Set up before testing</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setUp</code>&nbsp;in class&nbsp;<code>junit.framework.TestCase</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - Exception</dd>
</dl>
</li>
</ul>
<a name="suite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>suite</h4>
<pre>public static&nbsp;junit.framework.Test&nbsp;suite()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>suite of the tests being tested</dd>
</dl>
</li>
</ul>
<a name="testApp--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testApp</h4>
<pre>public&nbsp;void&nbsp;testApp()</pre>
<div class="block">Run all tests</div>
</li>
</ul>
<a name="valueTest--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>valueTest</h4>
<pre>private&nbsp;void&nbsp;valueTest()</pre>
<div class="block">Test if the values are accurate</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/UserFactoryTest.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/UserTest.html" target="_top">Frames</a></li>
<li><a href="UserTest.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

+ 0
- 195
docs/libsys/class-use/Book.html Bestand weergeven

@@ -1,195 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.Book (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.Book (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/Book.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/Book.html" target="_top">Frames</a></li>
<li><a href="Book.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.Book" class="title">Uses of Class<br>libsys.Book</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="libsys">
<!-- -->
</a>
<h3>Uses of <a href="../../libsys/Book.html" title="class in libsys">Book</a> in <a href="../../libsys/package-summary.html">libsys</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../libsys/package-summary.html">libsys</a> that return <a href="../../libsys/Book.html" title="class in libsys">Book</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../libsys/Book.html" title="class in libsys">Book</a></code></td>
<td class="colLast"><span class="typeNameLabel">BookFactory.</span><code><span class="memberNameLink"><a href="../../libsys/BookFactory.html#getBook-int-">getBook</a></span>(int&nbsp;index)</code>
<div class="block">Looks for a Book with the given id</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../libsys/Book.html" title="class in libsys">Book</a></code></td>
<td class="colLast"><span class="typeNameLabel">BookFactory.</span><code><span class="memberNameLink"><a href="../../libsys/BookFactory.html#getBook-java.lang.String-">getBook</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title)</code>
<div class="block">Linear search through the array list for Book with the given Title</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../libsys/Book.html" title="class in libsys">Book</a></code></td>
<td class="colLast"><span class="typeNameLabel">BookFactory.</span><code><span class="memberNameLink"><a href="../../libsys/BookFactory.html#newBook-java.lang.String-java.lang.String-">newBook</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;status)</code>
<div class="block">Adds a new Book into this class</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../libsys/package-summary.html">libsys</a> with parameters of type <a href="../../libsys/Book.html" title="class in libsys">Book</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">BookFactory.</span><code><span class="memberNameLink"><a href="../../libsys/BookFactory.html#update-libsys.Book-libsys.Book-">update</a></span>(<a href="../../libsys/Book.html" title="class in libsys">Book</a>&nbsp;oldBook,
<a href="../../libsys/Book.html" title="class in libsys">Book</a>&nbsp;newBook)</code>
<div class="block">Replacing a Book in the array list with a new Book</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../libsys/package-summary.html">libsys</a> with parameters of type <a href="../../libsys/Book.html" title="class in libsys">Book</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../libsys/EditBookDialog.html#EditBookDialog-java.awt.Frame-boolean-libsys.Book-">EditBookDialog</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt">Frame</a>&nbsp;parent,
boolean&nbsp;modal,
<a href="../../libsys/Book.html" title="class in libsys">Book</a>&nbsp;book)</code>
<div class="block">Create new EditBookDialog</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/Book.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/Book.html" target="_top">Frames</a></li>
<li><a href="Book.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 152
docs/libsys/class-use/BookFactory.html Bestand weergeven

@@ -1,152 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.BookFactory (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.BookFactory (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/BookFactory.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/BookFactory.html" target="_top">Frames</a></li>
<li><a href="BookFactory.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.BookFactory" class="title">Uses of Class<br>libsys.BookFactory</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="libsys">
<!-- -->
</a>
<h3>Uses of <a href="../../libsys/BookFactory.html" title="class in libsys">BookFactory</a> in <a href="../../libsys/package-summary.html">libsys</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../libsys/package-summary.html">libsys</a> with parameters of type <a href="../../libsys/BookFactory.html" title="class in libsys">BookFactory</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../libsys/EditUserDialog.html#EditUserDialog-java.awt.Frame-boolean-libsys.User-libsys.BookFactory-">EditUserDialog</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt">Frame</a>&nbsp;parent,
boolean&nbsp;modal,
<a href="../../libsys/User.html" title="class in libsys">User</a>&nbsp;user,
<a href="../../libsys/BookFactory.html" title="class in libsys">BookFactory</a>&nbsp;books)</code>
<div class="block">Creates new EditUserDialog</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/BookFactory.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/BookFactory.html" target="_top">Frames</a></li>
<li><a href="BookFactory.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/libsys/class-use/EditBookDialog.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.EditBookDialog (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.EditBookDialog (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/EditBookDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/EditBookDialog.html" target="_top">Frames</a></li>
<li><a href="EditBookDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.EditBookDialog" class="title">Uses of Class<br>libsys.EditBookDialog</h2>
</div>
<div class="classUseContainer">No usage of libsys.EditBookDialog</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/EditBookDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/EditBookDialog.html" target="_top">Frames</a></li>
<li><a href="EditBookDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/libsys/class-use/EditUserDialog.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.EditUserDialog (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.EditUserDialog (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/EditUserDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/EditUserDialog.html" target="_top">Frames</a></li>
<li><a href="EditUserDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.EditUserDialog" class="title">Uses of Class<br>libsys.EditUserDialog</h2>
</div>
<div class="classUseContainer">No usage of libsys.EditUserDialog</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/EditUserDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/EditUserDialog.html" target="_top">Frames</a></li>
<li><a href="EditUserDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/libsys/class-use/Main.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.Main (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.Main (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/Main.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/Main.html" target="_top">Frames</a></li>
<li><a href="Main.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.Main" class="title">Uses of Class<br>libsys.Main</h2>
</div>
<div class="classUseContainer">No usage of libsys.Main</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/Main.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/Main.html" target="_top">Frames</a></li>
<li><a href="Main.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/libsys/class-use/MainGUI.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.MainGUI (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.MainGUI (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/MainGUI.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/MainGUI.html" target="_top">Frames</a></li>
<li><a href="MainGUI.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.MainGUI" class="title">Uses of Class<br>libsys.MainGUI</h2>
</div>
<div class="classUseContainer">No usage of libsys.MainGUI</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/MainGUI.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/MainGUI.html" target="_top">Frames</a></li>
<li><a href="MainGUI.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/libsys/class-use/NewBookDialog.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.NewBookDialog (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.NewBookDialog (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/NewBookDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/NewBookDialog.html" target="_top">Frames</a></li>
<li><a href="NewBookDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.NewBookDialog" class="title">Uses of Class<br>libsys.NewBookDialog</h2>
</div>
<div class="classUseContainer">No usage of libsys.NewBookDialog</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/NewBookDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/NewBookDialog.html" target="_top">Frames</a></li>
<li><a href="NewBookDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/libsys/class-use/NewUserDialog.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.NewUserDialog (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.NewUserDialog (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/NewUserDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/NewUserDialog.html" target="_top">Frames</a></li>
<li><a href="NewUserDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.NewUserDialog" class="title">Uses of Class<br>libsys.NewUserDialog</h2>
</div>
<div class="classUseContainer">No usage of libsys.NewUserDialog</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/NewUserDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/NewUserDialog.html" target="_top">Frames</a></li>
<li><a href="NewUserDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/libsys/class-use/RentDialog.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.RentDialog (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.RentDialog (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/RentDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/RentDialog.html" target="_top">Frames</a></li>
<li><a href="RentDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.RentDialog" class="title">Uses of Class<br>libsys.RentDialog</h2>
</div>
<div class="classUseContainer">No usage of libsys.RentDialog</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/RentDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/RentDialog.html" target="_top">Frames</a></li>
<li><a href="RentDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/libsys/class-use/ReturnDialog.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.ReturnDialog (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.ReturnDialog (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/ReturnDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/ReturnDialog.html" target="_top">Frames</a></li>
<li><a href="ReturnDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.ReturnDialog" class="title">Uses of Class<br>libsys.ReturnDialog</h2>
</div>
<div class="classUseContainer">No usage of libsys.ReturnDialog</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/ReturnDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/ReturnDialog.html" target="_top">Frames</a></li>
<li><a href="ReturnDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 157
docs/libsys/class-use/Settings.html Bestand weergeven

@@ -1,157 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.Settings (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.Settings (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/Settings.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/Settings.html" target="_top">Frames</a></li>
<li><a href="Settings.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.Settings" class="title">Uses of Class<br>libsys.Settings</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="libsys">
<!-- -->
</a>
<h3>Uses of <a href="../../libsys/Settings.html" title="class in libsys">Settings</a> in <a href="../../libsys/package-summary.html">libsys</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../libsys/package-summary.html">libsys</a> with parameters of type <a href="../../libsys/Settings.html" title="class in libsys">Settings</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../libsys/MainGUI.html#MainGUI-libsys.Handler-libsys.Settings-">MainGUI</a></span>(libsys.Handler&nbsp;handler,
<a href="../../libsys/Settings.html" title="class in libsys">Settings</a>&nbsp;settings)</code>
<div class="block">Creates a new MainGUI</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../libsys/SettingsDialog.html#SettingsDialog-java.awt.Frame-boolean-libsys.Settings-">SettingsDialog</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt">Frame</a>&nbsp;parent,
boolean&nbsp;modal,
<a href="../../libsys/Settings.html" title="class in libsys">Settings</a>&nbsp;preset)</code>
<div class="block">Creates new SettingsDialog</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/Settings.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/Settings.html" target="_top">Frames</a></li>
<li><a href="Settings.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/libsys/class-use/SettingsDialog.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.SettingsDialog (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.SettingsDialog (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/SettingsDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/SettingsDialog.html" target="_top">Frames</a></li>
<li><a href="SettingsDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.SettingsDialog" class="title">Uses of Class<br>libsys.SettingsDialog</h2>
</div>
<div class="classUseContainer">No usage of libsys.SettingsDialog</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/SettingsDialog.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/SettingsDialog.html" target="_top">Frames</a></li>
<li><a href="SettingsDialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 196
docs/libsys/class-use/User.html Bestand weergeven

@@ -1,196 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.User (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.User (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/User.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/User.html" target="_top">Frames</a></li>
<li><a href="User.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.User" class="title">Uses of Class<br>libsys.User</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="libsys">
<!-- -->
</a>
<h3>Uses of <a href="../../libsys/User.html" title="class in libsys">User</a> in <a href="../../libsys/package-summary.html">libsys</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../libsys/package-summary.html">libsys</a> that return <a href="../../libsys/User.html" title="class in libsys">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserFactory.</span><code><span class="memberNameLink"><a href="../../libsys/UserFactory.html#getUser-int-">getUser</a></span>(int&nbsp;index)</code>
<div class="block">Looks for a User with the given id</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserFactory.</span><code><span class="memberNameLink"><a href="../../libsys/UserFactory.html#getUser-java.lang.String-">getUser</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Looks for the User with the given name</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../libsys/User.html" title="class in libsys">User</a></code></td>
<td class="colLast"><span class="typeNameLabel">UserFactory.</span><code><span class="memberNameLink"><a href="../../libsys/UserFactory.html#newUser-java.lang.String-int-">newUser</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
int&nbsp;limit)</code>
<div class="block">Adds a new User into this class</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../libsys/package-summary.html">libsys</a> with parameters of type <a href="../../libsys/User.html" title="class in libsys">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">UserFactory.</span><code><span class="memberNameLink"><a href="../../libsys/UserFactory.html#update-libsys.User-libsys.User-">update</a></span>(<a href="../../libsys/User.html" title="class in libsys">User</a>&nbsp;oldUser,
<a href="../../libsys/User.html" title="class in libsys">User</a>&nbsp;newUser)</code>
<div class="block">Replacing a User in the array list with a new User</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../libsys/package-summary.html">libsys</a> with parameters of type <a href="../../libsys/User.html" title="class in libsys">User</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../libsys/EditUserDialog.html#EditUserDialog-java.awt.Frame-boolean-libsys.User-libsys.BookFactory-">EditUserDialog</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt">Frame</a>&nbsp;parent,
boolean&nbsp;modal,
<a href="../../libsys/User.html" title="class in libsys">User</a>&nbsp;user,
<a href="../../libsys/BookFactory.html" title="class in libsys">BookFactory</a>&nbsp;books)</code>
<div class="block">Creates new EditUserDialog</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/User.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/User.html" target="_top">Frames</a></li>
<li><a href="User.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 124
docs/libsys/class-use/UserFactory.html Bestand weergeven

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class libsys.UserFactory (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class libsys.UserFactory (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/UserFactory.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/UserFactory.html" target="_top">Frames</a></li>
<li><a href="UserFactory.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class libsys.UserFactory" class="title">Uses of Class<br>libsys.UserFactory</h2>
</div>
<div class="classUseContainer">No usage of libsys.UserFactory</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../libsys/package-summary.html">Package</a></li>
<li><a href="../../libsys/UserFactory.html" title="class in libsys">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?libsys/class-use/UserFactory.html" target="_top">Frames</a></li>
<li><a href="UserFactory.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 10
- 4
docs/libsys/package-frame.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>libsys (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>libsys (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
@@ -16,8 +15,12 @@
<ul title="Classes">
<li><a href="Book.html" title="class in libsys" target="classFrame">Book</a></li>
<li><a href="BookFactory.html" title="class in libsys" target="classFrame">BookFactory</a></li>
<li><a href="BookFactoryTest.html" title="class in libsys" target="classFrame">BookFactoryTest</a></li>
<li><a href="BookTest.html" title="class in libsys" target="classFrame">BookTest</a></li>
<li><a href="EditBookDialog.html" title="class in libsys" target="classFrame">EditBookDialog</a></li>
<li><a href="EditUserDialog.html" title="class in libsys" target="classFrame">EditUserDialog</a></li>
<li><a href="Handler.html" title="class in libsys" target="classFrame">Handler</a></li>
<li><a href="HandlerTest.html" title="class in libsys" target="classFrame">HandlerTest</a></li>
<li><a href="Main.html" title="class in libsys" target="classFrame">Main</a></li>
<li><a href="MainGUI.html" title="class in libsys" target="classFrame">MainGUI</a></li>
<li><a href="NewBookDialog.html" title="class in libsys" target="classFrame">NewBookDialog</a></li>
@@ -26,8 +29,11 @@
<li><a href="ReturnDialog.html" title="class in libsys" target="classFrame">ReturnDialog</a></li>
<li><a href="Settings.html" title="class in libsys" target="classFrame">Settings</a></li>
<li><a href="SettingsDialog.html" title="class in libsys" target="classFrame">SettingsDialog</a></li>
<li><a href="SettingsTest.html" title="class in libsys" target="classFrame">SettingsTest</a></li>
<li><a href="User.html" title="class in libsys" target="classFrame">User</a></li>
<li><a href="UserFactory.html" title="class in libsys" target="classFrame">UserFactory</a></li>
<li><a href="UserFactoryTest.html" title="class in libsys" target="classFrame">UserFactoryTest</a></li>
<li><a href="UserTest.html" title="class in libsys" target="classFrame">UserTest</a></li>
</ul>
</div>
</body>


+ 91
- 27
docs/libsys/package-summary.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>libsys (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>libsys (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
@@ -13,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="libsys (LibrarySystem 1.0 API)";
parent.document.title="libsys (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
@@ -34,10 +33,8 @@
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
@@ -84,59 +81,129 @@
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/Book.html" title="class in libsys">Book</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Book object</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/BookFactory.html" title="class in libsys">BookFactory</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Handles all the Book(s)</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/BookFactoryTest.html" title="class in libsys">BookFactoryTest</a></td>
<td class="colLast">
<div class="block">Test BookFactory related operations</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/BookTest.html" title="class in libsys">BookTest</a></td>
<td class="colLast">
<div class="block">Test Book related operations</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">UI for updating information in Book</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/EditUserDialog.html" title="class in libsys">EditUserDialog</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">UI for updating information in User</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/Handler.html" title="class in libsys">Handler</a></td>
<td class="colLast">
<div class="block">Handles all the background operations of MainGUI, also contains both UserFactory and BookFactory</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/HandlerTest.html" title="class in libsys">HandlerTest</a></td>
<td class="colLast">
<div class="block">Test Handler related operations</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/Main.html" title="class in libsys">Main</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Main class</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/MainGUI.html" title="class in libsys">MainGUI</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Main Graphic User Interface</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">UI for creating a new Book</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">UI for creating a new User</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">UI for User renting a Book</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/ReturnDialog.html" title="class in libsys">ReturnDialog</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">UI for User returning a Book</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/Settings.html" title="class in libsys">Settings</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Handles all settings related operations and background processing of SettingsDialog</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/SettingsDialog.html" title="class in libsys">SettingsDialog</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">UI for updating all the informations in Settings</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/User.html" title="class in libsys">User</a></td>
<td class="colLast">&nbsp;</td>
<td class="colFirst"><a href="../libsys/SettingsTest.html" title="class in libsys">SettingsTest</a></td>
<td class="colLast">
<div class="block">Test Settings related operations</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/User.html" title="class in libsys">User</a></td>
<td class="colLast">
<div class="block">User object</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></td>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Handles all the User(s)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/UserFactoryTest.html" title="class in libsys">UserFactoryTest</a></td>
<td class="colLast">
<div class="block">Test UserFactory related operations</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/UserTest.html" title="class in libsys">UserTest</a></td>
<td class="colLast">
<div class="block">Test User related operations</div>
</td>
</tr>
</tbody>
</table>
@@ -154,10 +221,8 @@
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
@@ -189,6 +254,5 @@
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 29
- 20
docs/libsys/package-tree.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>libsys Class Hierarchy (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>libsys Class Hierarchy (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
@@ -13,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="libsys Class Hierarchy (LibrarySystem 1.0 API)";
parent.document.title="libsys Class Hierarchy (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
@@ -34,10 +33,8 @@
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
@@ -75,19 +72,33 @@
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
<li type="circle">java.lang.Object
<ul>
<li type="circle">junit.framework.Assert
<ul>
<li type="circle">junit.framework.TestCase (implements junit.framework.Test)
<ul>
<li type="circle">libsys.<a href="../libsys/BookFactoryTest.html" title="class in libsys"><span class="typeNameLink">BookFactoryTest</span></a></li>
<li type="circle">libsys.<a href="../libsys/BookTest.html" title="class in libsys"><span class="typeNameLink">BookTest</span></a></li>
<li type="circle">libsys.<a href="../libsys/HandlerTest.html" title="class in libsys"><span class="typeNameLink">HandlerTest</span></a></li>
<li type="circle">libsys.<a href="../libsys/SettingsTest.html" title="class in libsys"><span class="typeNameLink">SettingsTest</span></a></li>
<li type="circle">libsys.<a href="../libsys/UserFactoryTest.html" title="class in libsys"><span class="typeNameLink">UserFactoryTest</span></a></li>
<li type="circle">libsys.<a href="../libsys/UserTest.html" title="class in libsys"><span class="typeNameLink">UserTest</span></a></li>
</ul>
</li>
</ul>
</li>
<li type="circle">libsys.<a href="../libsys/Book.html" title="class in libsys"><span class="typeNameLink">Book</span></a></li>
<li type="circle">libsys.<a href="../libsys/BookFactory.html" title="class in libsys"><span class="typeNameLink">BookFactory</span></a></li>
<li type="circle">java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt"><span class="typeNameLink">Component</span></a> (implements java.awt.image.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ImageObserver.html?is-external=true" title="class or interface in java.awt.image">ImageObserver</a>, java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/MenuContainer.html?is-external=true" title="class or interface in java.awt">MenuContainer</a>, java.io.<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
<li type="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
<ul>
<li type="circle">java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Container.html?is-external=true" title="class or interface in java.awt"><span class="typeNameLink">Container</span></a>
<li type="circle">java.awt.Container
<ul>
<li type="circle">java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Window.html?is-external=true" title="class or interface in java.awt"><span class="typeNameLink">Window</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/6/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility">Accessible</a>)
<li type="circle">java.awt.Window (implements javax.accessibility.Accessible)
<ul>
<li type="circle">java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Dialog.html?is-external=true" title="class or interface in java.awt"><span class="typeNameLink">Dialog</span></a>
<li type="circle">java.awt.Dialog
<ul>
<li type="circle">javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JDialog.html?is-external=true" title="class or interface in javax.swing"><span class="typeNameLink">JDialog</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/6/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility">Accessible</a>, javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing">RootPaneContainer</a>, javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/WindowConstants.html?is-external=true" title="class or interface in javax.swing">WindowConstants</a>)
<li type="circle">javax.swing.JDialog (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants)
<ul>
<li type="circle">libsys.<a href="../libsys/EditBookDialog.html" title="class in libsys"><span class="typeNameLink">EditBookDialog</span></a></li>
<li type="circle">libsys.<a href="../libsys/EditUserDialog.html" title="class in libsys"><span class="typeNameLink">EditUserDialog</span></a></li>
@@ -100,9 +111,9 @@
</li>
</ul>
</li>
<li type="circle">java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt"><span class="typeNameLink">Frame</span></a> (implements java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/MenuContainer.html?is-external=true" title="class or interface in java.awt">MenuContainer</a>)
<li type="circle">java.awt.Frame (implements java.awt.MenuContainer)
<ul>
<li type="circle">javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JFrame.html?is-external=true" title="class or interface in javax.swing"><span class="typeNameLink">JFrame</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/6/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility">Accessible</a>, javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing">RootPaneContainer</a>, javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/WindowConstants.html?is-external=true" title="class or interface in javax.swing">WindowConstants</a>)
<li type="circle">javax.swing.JFrame (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants)
<ul>
<li type="circle">libsys.<a href="../libsys/MainGUI.html" title="class in libsys"><span class="typeNameLink">MainGUI</span></a></li>
</ul>
@@ -115,6 +126,7 @@
</li>
</ul>
</li>
<li type="circle">libsys.<a href="../libsys/Handler.html" title="class in libsys"><span class="typeNameLink">Handler</span></a></li>
<li type="circle">libsys.<a href="../libsys/Main.html" title="class in libsys"><span class="typeNameLink">Main</span></a></li>
<li type="circle">libsys.<a href="../libsys/Settings.html" title="class in libsys"><span class="typeNameLink">Settings</span></a></li>
<li type="circle">libsys.<a href="../libsys/User.html" title="class in libsys"><span class="typeNameLink">User</span></a></li>
@@ -134,10 +146,8 @@
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
@@ -169,6 +179,5 @@
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 0
- 151
docs/libsys/package-use.html Bestand weergeven

@@ -1,151 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Package libsys (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Package libsys (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Use</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/package-use.html" target="_top">Frames</a></li>
<li><a href="package-use.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Uses of Package libsys" class="title">Uses of Package<br>libsys</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList"><a name="libsys">
<!-- -->
</a>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../libsys/package-summary.html">libsys</a> used by <a href="../libsys/package-summary.html">libsys</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="../libsys/class-use/Book.html#libsys">Book</a>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../libsys/class-use/BookFactory.html#libsys">BookFactory</a>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="../libsys/class-use/Settings.html#libsys">Settings</a>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../libsys/class-use/User.html#libsys">User</a>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Use</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/package-use.html" target="_top">Frames</a></li>
<li><a href="package-use.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 29
- 20
docs/overview-tree.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class Hierarchy (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>Class Hierarchy (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
@@ -13,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Class Hierarchy (LibrarySystem 1.0 API)";
parent.document.title="Class Hierarchy (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
@@ -34,10 +33,8 @@
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
@@ -79,19 +76,33 @@
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
<li type="circle">java.lang.Object
<ul>
<li type="circle">junit.framework.Assert
<ul>
<li type="circle">junit.framework.TestCase (implements junit.framework.Test)
<ul>
<li type="circle">libsys.<a href="libsys/BookFactoryTest.html" title="class in libsys"><span class="typeNameLink">BookFactoryTest</span></a></li>
<li type="circle">libsys.<a href="libsys/BookTest.html" title="class in libsys"><span class="typeNameLink">BookTest</span></a></li>
<li type="circle">libsys.<a href="libsys/HandlerTest.html" title="class in libsys"><span class="typeNameLink">HandlerTest</span></a></li>
<li type="circle">libsys.<a href="libsys/SettingsTest.html" title="class in libsys"><span class="typeNameLink">SettingsTest</span></a></li>
<li type="circle">libsys.<a href="libsys/UserFactoryTest.html" title="class in libsys"><span class="typeNameLink">UserFactoryTest</span></a></li>
<li type="circle">libsys.<a href="libsys/UserTest.html" title="class in libsys"><span class="typeNameLink">UserTest</span></a></li>
</ul>
</li>
</ul>
</li>
<li type="circle">libsys.<a href="libsys/Book.html" title="class in libsys"><span class="typeNameLink">Book</span></a></li>
<li type="circle">libsys.<a href="libsys/BookFactory.html" title="class in libsys"><span class="typeNameLink">BookFactory</span></a></li>
<li type="circle">java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt"><span class="typeNameLink">Component</span></a> (implements java.awt.image.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ImageObserver.html?is-external=true" title="class or interface in java.awt.image">ImageObserver</a>, java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/MenuContainer.html?is-external=true" title="class or interface in java.awt">MenuContainer</a>, java.io.<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
<li type="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
<ul>
<li type="circle">java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Container.html?is-external=true" title="class or interface in java.awt"><span class="typeNameLink">Container</span></a>
<li type="circle">java.awt.Container
<ul>
<li type="circle">java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Window.html?is-external=true" title="class or interface in java.awt"><span class="typeNameLink">Window</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/6/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility">Accessible</a>)
<li type="circle">java.awt.Window (implements javax.accessibility.Accessible)
<ul>
<li type="circle">java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Dialog.html?is-external=true" title="class or interface in java.awt"><span class="typeNameLink">Dialog</span></a>
<li type="circle">java.awt.Dialog
<ul>
<li type="circle">javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JDialog.html?is-external=true" title="class or interface in javax.swing"><span class="typeNameLink">JDialog</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/6/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility">Accessible</a>, javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing">RootPaneContainer</a>, javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/WindowConstants.html?is-external=true" title="class or interface in javax.swing">WindowConstants</a>)
<li type="circle">javax.swing.JDialog (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants)
<ul>
<li type="circle">libsys.<a href="libsys/EditBookDialog.html" title="class in libsys"><span class="typeNameLink">EditBookDialog</span></a></li>
<li type="circle">libsys.<a href="libsys/EditUserDialog.html" title="class in libsys"><span class="typeNameLink">EditUserDialog</span></a></li>
@@ -104,9 +115,9 @@
</li>
</ul>
</li>
<li type="circle">java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt"><span class="typeNameLink">Frame</span></a> (implements java.awt.<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/MenuContainer.html?is-external=true" title="class or interface in java.awt">MenuContainer</a>)
<li type="circle">java.awt.Frame (implements java.awt.MenuContainer)
<ul>
<li type="circle">javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JFrame.html?is-external=true" title="class or interface in javax.swing"><span class="typeNameLink">JFrame</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/6/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility">Accessible</a>, javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing">RootPaneContainer</a>, javax.swing.<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/WindowConstants.html?is-external=true" title="class or interface in javax.swing">WindowConstants</a>)
<li type="circle">javax.swing.JFrame (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants)
<ul>
<li type="circle">libsys.<a href="libsys/MainGUI.html" title="class in libsys"><span class="typeNameLink">MainGUI</span></a></li>
</ul>
@@ -119,6 +130,7 @@
</li>
</ul>
</li>
<li type="circle">libsys.<a href="libsys/Handler.html" title="class in libsys"><span class="typeNameLink">Handler</span></a></li>
<li type="circle">libsys.<a href="libsys/Main.html" title="class in libsys"><span class="typeNameLink">Main</span></a></li>
<li type="circle">libsys.<a href="libsys/Settings.html" title="class in libsys"><span class="typeNameLink">Settings</span></a></li>
<li type="circle">libsys.<a href="libsys/User.html" title="class in libsys"><span class="typeNameLink">User</span></a></li>
@@ -138,10 +150,8 @@
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
@@ -173,6 +183,5 @@
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 104
- 110
docs/serialized-form.html Bestand weergeven

@@ -2,10 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Serialized Form (LibrarySystem 1.0 API)</title>
<meta name="date" content="2017-06-04">
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 05 21:49:34 MST 2017 -->
<title>Serialized Form (LibrarySystem - BinHong Lee)</title>
<meta name="date" content="2017-06-05">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
@@ -13,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Serialized Form (LibrarySystem 1.0 API)";
parent.document.title="Serialized Form (LibrarySystem - BinHong Lee)";
}
}
catch(err) {
@@ -34,10 +33,8 @@
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="libsys/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
@@ -80,42 +77,42 @@
<li class="blockList"><a name="libsys.EditBookDialog">
<!-- -->
</a>
<h3>Class <a href="libsys/EditBookDialog.html" title="class in libsys">libsys.EditBookDialog</a> extends <a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JDialog.html?is-external=true" title="class or interface in javax.swing">JDialog</a> implements Serializable</h3>
<h3>Class <a href="libsys/EditBookDialog.html" title="class in libsys">libsys.EditBookDialog</a> extends javax.swing.JDialog implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>cancelBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> cancelBtn</pre>
<pre>javax.swing.JButton cancelBtn</pre>
</li>
<li class="blockList">
<h4>dueDateLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> dueDateLbl</pre>
<pre>javax.swing.JLabel dueDateLbl</pre>
</li>
<li class="blockList">
<h4>idLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> idLbl</pre>
<pre>javax.swing.JLabel idLbl</pre>
</li>
<li class="blockList">
<h4>nameLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> nameLbl</pre>
<pre>javax.swing.JLabel nameLbl</pre>
</li>
<li class="blockList">
<h4>nameTxtField</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> nameTxtField</pre>
<pre>javax.swing.JTextField nameTxtField</pre>
</li>
<li class="blockList">
<h4>saveBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> saveBtn</pre>
<pre>javax.swing.JButton saveBtn</pre>
</li>
<li class="blockList">
<h4>statusLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> statusLbl</pre>
<pre>javax.swing.JLabel statusLbl</pre>
</li>
<li class="blockList">
<h4>titleLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> titleLbl</pre>
<pre>javax.swing.JLabel titleLbl</pre>
</li>
<li class="blockList">
<h4>book</h4>
@@ -123,7 +120,7 @@
</li>
<li class="blockList">
<h4>newName</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> newName</pre>
<pre>java.lang.String newName</pre>
</li>
<li class="blockListLast">
<h4>returnStatus</h4>
@@ -136,50 +133,50 @@
<li class="blockList"><a name="libsys.EditUserDialog">
<!-- -->
</a>
<h3>Class <a href="libsys/EditUserDialog.html" title="class in libsys">libsys.EditUserDialog</a> extends <a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JDialog.html?is-external=true" title="class or interface in javax.swing">JDialog</a> implements Serializable</h3>
<h3>Class <a href="libsys/EditUserDialog.html" title="class in libsys">libsys.EditUserDialog</a> extends javax.swing.JDialog implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>booksLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> booksLbl</pre>
<pre>javax.swing.JLabel booksLbl</pre>
</li>
<li class="blockList">
<h4>cancelBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> cancelBtn</pre>
<pre>javax.swing.JButton cancelBtn</pre>
</li>
<li class="blockList">
<h4>errorLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> errorLbl</pre>
<pre>javax.swing.JLabel errorLbl</pre>
</li>
<li class="blockList">
<h4>idLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> idLbl</pre>
<pre>javax.swing.JLabel idLbl</pre>
</li>
<li class="blockList">
<h4>limitLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> limitLbl</pre>
<pre>javax.swing.JLabel limitLbl</pre>
</li>
<li class="blockList">
<h4>limitTxtField</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> limitTxtField</pre>
<pre>javax.swing.JTextField limitTxtField</pre>
</li>
<li class="blockList">
<h4>nameLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> nameLbl</pre>
<pre>javax.swing.JLabel nameLbl</pre>
</li>
<li class="blockList">
<h4>nameTxtField</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> nameTxtField</pre>
<pre>javax.swing.JTextField nameTxtField</pre>
</li>
<li class="blockList">
<h4>saveBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> saveBtn</pre>
<pre>javax.swing.JButton saveBtn</pre>
</li>
<li class="blockList">
<h4>titleLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> titleLbl</pre>
<pre>javax.swing.JLabel titleLbl</pre>
</li>
<li class="blockList">
<h4>user</h4>
@@ -195,7 +192,7 @@
</li>
<li class="blockList">
<h4>newName</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> newName</pre>
<pre>java.lang.String newName</pre>
</li>
<li class="blockListLast">
<h4>newLimit</h4>
@@ -208,14 +205,14 @@
<li class="blockList"><a name="libsys.MainGUI">
<!-- -->
</a>
<h3>Class <a href="libsys/MainGUI.html" title="class in libsys">libsys.MainGUI</a> extends <a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JFrame.html?is-external=true" title="class or interface in javax.swing">JFrame</a> implements Serializable</h3>
<h3>Class <a href="libsys/MainGUI.html" title="class in libsys">libsys.MainGUI</a> extends javax.swing.JFrame implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>handler</h4>
<pre>libsys.Handler handler</pre>
<pre><a href="libsys/Handler.html" title="class in libsys">Handler</a> handler</pre>
</li>
<li class="blockList">
<h4>settings</h4>
@@ -239,107 +236,107 @@
</li>
<li class="blockList">
<h4>bookDueDate</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> bookDueDate</pre>
<pre>javax.swing.JLabel bookDueDate</pre>
</li>
<li class="blockList">
<h4>bookID</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> bookID</pre>
<pre>javax.swing.JLabel bookID</pre>
</li>
<li class="blockList">
<h4>bookMgtLabel</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> bookMgtLabel</pre>
<pre>javax.swing.JLabel bookMgtLabel</pre>
</li>
<li class="blockList">
<h4>bookPanel</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JPanel.html?is-external=true" title="class or interface in javax.swing">JPanel</a> bookPanel</pre>
<pre>javax.swing.JPanel bookPanel</pre>
</li>
<li class="blockList">
<h4>bookSearch</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> bookSearch</pre>
<pre>javax.swing.JTextField bookSearch</pre>
</li>
<li class="blockList">
<h4>bookSearchBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> bookSearchBtn</pre>
<pre>javax.swing.JButton bookSearchBtn</pre>
</li>
<li class="blockList">
<h4>bookStatus</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> bookStatus</pre>
<pre>javax.swing.JLabel bookStatus</pre>
</li>
<li class="blockList">
<h4>bookTitle</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> bookTitle</pre>
<pre>javax.swing.JLabel bookTitle</pre>
</li>
<li class="blockList">
<h4>createBookBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> createBookBtn</pre>
<pre>javax.swing.JButton createBookBtn</pre>
</li>
<li class="blockList">
<h4>createUserBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> createUserBtn</pre>
<pre>javax.swing.JButton createUserBtn</pre>
</li>
<li class="blockList">
<h4>editBookBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> editBookBtn</pre>
<pre>javax.swing.JButton editBookBtn</pre>
</li>
<li class="blockList">
<h4>editUserBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> editUserBtn</pre>
<pre>javax.swing.JButton editUserBtn</pre>
</li>
<li class="blockList">
<h4>jTabbedPane</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTabbedPane.html?is-external=true" title="class or interface in javax.swing">JTabbedPane</a> jTabbedPane</pre>
<pre>javax.swing.JTabbedPane jTabbedPane</pre>
</li>
<li class="blockList">
<h4>mainPanel</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JPanel.html?is-external=true" title="class or interface in javax.swing">JPanel</a> mainPanel</pre>
<pre>javax.swing.JPanel mainPanel</pre>
</li>
<li class="blockList">
<h4>nameLabel</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> nameLabel</pre>
<pre>javax.swing.JLabel nameLabel</pre>
</li>
<li class="blockList">
<h4>rentBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> rentBtn</pre>
<pre>javax.swing.JButton rentBtn</pre>
</li>
<li class="blockList">
<h4>returnBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> returnBtn</pre>
<pre>javax.swing.JButton returnBtn</pre>
</li>
<li class="blockList">
<h4>settingsBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> settingsBtn</pre>
<pre>javax.swing.JButton settingsBtn</pre>
</li>
<li class="blockList">
<h4>userBooks</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> userBooks</pre>
<pre>javax.swing.JLabel userBooks</pre>
</li>
<li class="blockList">
<h4>userID</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> userID</pre>
<pre>javax.swing.JLabel userID</pre>
</li>
<li class="blockList">
<h4>userLimit</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> userLimit</pre>
<pre>javax.swing.JLabel userLimit</pre>
</li>
<li class="blockList">
<h4>userMgtLabel</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> userMgtLabel</pre>
<pre>javax.swing.JLabel userMgtLabel</pre>
</li>
<li class="blockList">
<h4>userName</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> userName</pre>
<pre>javax.swing.JLabel userName</pre>
</li>
<li class="blockList">
<h4>userPanel</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JPanel.html?is-external=true" title="class or interface in javax.swing">JPanel</a> userPanel</pre>
<pre>javax.swing.JPanel userPanel</pre>
</li>
<li class="blockList">
<h4>userSearch</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> userSearch</pre>
<pre>javax.swing.JTextField userSearch</pre>
</li>
<li class="blockListLast">
<h4>userSearchBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> userSearchBtn</pre>
<pre>javax.swing.JButton userSearchBtn</pre>
</li>
</ul>
</li>
@@ -348,38 +345,38 @@
<li class="blockList"><a name="libsys.NewBookDialog">
<!-- -->
</a>
<h3>Class <a href="libsys/NewBookDialog.html" title="class in libsys">libsys.NewBookDialog</a> extends <a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JDialog.html?is-external=true" title="class or interface in javax.swing">JDialog</a> implements Serializable</h3>
<h3>Class <a href="libsys/NewBookDialog.html" title="class in libsys">libsys.NewBookDialog</a> extends javax.swing.JDialog implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>cancelBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> cancelBtn</pre>
<pre>javax.swing.JButton cancelBtn</pre>
</li>
<li class="blockList">
<h4>createBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> createBtn</pre>
<pre>javax.swing.JButton createBtn</pre>
</li>
<li class="blockList">
<h4>statusComboBox</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JComboBox.html?is-external=true" title="class or interface in javax.swing">JComboBox</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JComboBox.html?is-external=true" title="class or interface in javax.swing">E</a>&gt; statusComboBox</pre>
<pre>javax.swing.JComboBox&lt;E&gt; statusComboBox</pre>
</li>
<li class="blockList">
<h4>statusLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> statusLbl</pre>
<pre>javax.swing.JLabel statusLbl</pre>
</li>
<li class="blockList">
<h4>title</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> title</pre>
<pre>javax.swing.JLabel title</pre>
</li>
<li class="blockList">
<h4>titleLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> titleLbl</pre>
<pre>javax.swing.JLabel titleLbl</pre>
</li>
<li class="blockList">
<h4>titleTxtField</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> titleTxtField</pre>
<pre>javax.swing.JTextField titleTxtField</pre>
</li>
<li class="blockList">
<h4>returnStatus</h4>
@@ -387,15 +384,15 @@
</li>
<li class="blockList">
<h4>name</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name</pre>
<pre>java.lang.String name</pre>
</li>
<li class="blockList">
<h4>status</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> status</pre>
<pre>java.lang.String status</pre>
</li>
<li class="blockListLast">
<h4>statusOptions</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] statusOptions</pre>
<pre>java.lang.String[] statusOptions</pre>
</li>
</ul>
</li>
@@ -404,42 +401,42 @@
<li class="blockList"><a name="libsys.NewUserDialog">
<!-- -->
</a>
<h3>Class <a href="libsys/NewUserDialog.html" title="class in libsys">libsys.NewUserDialog</a> extends <a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JDialog.html?is-external=true" title="class or interface in javax.swing">JDialog</a> implements Serializable</h3>
<h3>Class <a href="libsys/NewUserDialog.html" title="class in libsys">libsys.NewUserDialog</a> extends javax.swing.JDialog implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>cancelBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> cancelBtn</pre>
<pre>javax.swing.JButton cancelBtn</pre>
</li>
<li class="blockList">
<h4>createBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> createBtn</pre>
<pre>javax.swing.JButton createBtn</pre>
</li>
<li class="blockList">
<h4>errorLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> errorLbl</pre>
<pre>javax.swing.JLabel errorLbl</pre>
</li>
<li class="blockList">
<h4>limitLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> limitLbl</pre>
<pre>javax.swing.JLabel limitLbl</pre>
</li>
<li class="blockList">
<h4>limitTxtField</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> limitTxtField</pre>
<pre>javax.swing.JTextField limitTxtField</pre>
</li>
<li class="blockList">
<h4>nameLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> nameLbl</pre>
<pre>javax.swing.JLabel nameLbl</pre>
</li>
<li class="blockList">
<h4>nameTxtField</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> nameTxtField</pre>
<pre>javax.swing.JTextField nameTxtField</pre>
</li>
<li class="blockList">
<h4>title</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> title</pre>
<pre>javax.swing.JLabel title</pre>
</li>
<li class="blockList">
<h4>returnStatus</h4>
@@ -447,7 +444,7 @@
</li>
<li class="blockList">
<h4>name</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name</pre>
<pre>java.lang.String name</pre>
</li>
<li class="blockListLast">
<h4>limit</h4>
@@ -460,34 +457,34 @@
<li class="blockList"><a name="libsys.RentDialog">
<!-- -->
</a>
<h3>Class <a href="libsys/RentDialog.html" title="class in libsys">libsys.RentDialog</a> extends <a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JDialog.html?is-external=true" title="class or interface in javax.swing">JDialog</a> implements Serializable</h3>
<h3>Class <a href="libsys/RentDialog.html" title="class in libsys">libsys.RentDialog</a> extends javax.swing.JDialog implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>handler</h4>
<pre>libsys.Handler handler</pre>
<pre><a href="libsys/Handler.html" title="class in libsys">Handler</a> handler</pre>
</li>
<li class="blockList">
<h4>cancelButton</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> cancelButton</pre>
<pre>javax.swing.JButton cancelButton</pre>
</li>
<li class="blockList">
<h4>givenBookId</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> givenBookId</pre>
<pre>javax.swing.JTextField givenBookId</pre>
</li>
<li class="blockList">
<h4>invalidLabel</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> invalidLabel</pre>
<pre>javax.swing.JLabel invalidLabel</pre>
</li>
<li class="blockList">
<h4>label</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> label</pre>
<pre>javax.swing.JLabel label</pre>
</li>
<li class="blockList">
<h4>okButton</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> okButton</pre>
<pre>javax.swing.JButton okButton</pre>
</li>
<li class="blockListLast">
<h4>returnStatus</h4>
@@ -500,14 +497,14 @@
<li class="blockList"><a name="libsys.ReturnDialog">
<!-- -->
</a>
<h3>Class <a href="libsys/ReturnDialog.html" title="class in libsys">libsys.ReturnDialog</a> extends <a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JDialog.html?is-external=true" title="class or interface in javax.swing">JDialog</a> implements Serializable</h3>
<h3>Class <a href="libsys/ReturnDialog.html" title="class in libsys">libsys.ReturnDialog</a> extends javax.swing.JDialog implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>handler</h4>
<pre>libsys.Handler handler</pre>
<pre><a href="libsys/Handler.html" title="class in libsys">Handler</a> handler</pre>
</li>
<li class="blockList">
<h4>id</h4>
@@ -515,23 +512,23 @@
</li>
<li class="blockList">
<h4>cancelButton</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> cancelButton</pre>
<pre>javax.swing.JButton cancelButton</pre>
</li>
<li class="blockList">
<h4>givenBookId</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> givenBookId</pre>
<pre>javax.swing.JTextField givenBookId</pre>
</li>
<li class="blockList">
<h4>invalidLabel</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> invalidLabel</pre>
<pre>javax.swing.JLabel invalidLabel</pre>
</li>
<li class="blockList">
<h4>label</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> label</pre>
<pre>javax.swing.JLabel label</pre>
</li>
<li class="blockList">
<h4>okButton</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> okButton</pre>
<pre>javax.swing.JButton okButton</pre>
</li>
<li class="blockListLast">
<h4>returnStatus</h4>
@@ -544,46 +541,46 @@
<li class="blockList"><a name="libsys.SettingsDialog">
<!-- -->
</a>
<h3>Class <a href="libsys/SettingsDialog.html" title="class in libsys">libsys.SettingsDialog</a> extends <a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JDialog.html?is-external=true" title="class or interface in javax.swing">JDialog</a> implements Serializable</h3>
<h3>Class <a href="libsys/SettingsDialog.html" title="class in libsys">libsys.SettingsDialog</a> extends javax.swing.JDialog implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>booksFilenameLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> booksFilenameLbl</pre>
<pre>javax.swing.JLabel booksFilenameLbl</pre>
</li>
<li class="blockList">
<h4>booksFilenameTxt</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> booksFilenameTxt</pre>
<pre>javax.swing.JTextField booksFilenameTxt</pre>
</li>
<li class="blockList">
<h4>discardBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> discardBtn</pre>
<pre>javax.swing.JButton discardBtn</pre>
</li>
<li class="blockList">
<h4>saveBtn</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JButton.html?is-external=true" title="class or interface in javax.swing">JButton</a> saveBtn</pre>
<pre>javax.swing.JButton saveBtn</pre>
</li>
<li class="blockList">
<h4>settingsLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> settingsLbl</pre>
<pre>javax.swing.JLabel settingsLbl</pre>
</li>
<li class="blockList">
<h4>titleLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> titleLbl</pre>
<pre>javax.swing.JLabel titleLbl</pre>
</li>
<li class="blockList">
<h4>titleTxtField</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> titleTxtField</pre>
<pre>javax.swing.JTextField titleTxtField</pre>
</li>
<li class="blockList">
<h4>usersFilenameLbl</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing">JLabel</a> usersFilenameLbl</pre>
<pre>javax.swing.JLabel usersFilenameLbl</pre>
</li>
<li class="blockList">
<h4>usersFilenameTxt</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/javax/swing/JTextField.html?is-external=true" title="class or interface in javax.swing">JTextField</a> usersFilenameTxt</pre>
<pre>javax.swing.JTextField usersFilenameTxt</pre>
</li>
<li class="blockList">
<h4>returnStatus</h4>
@@ -591,15 +588,15 @@
</li>
<li class="blockList">
<h4>title</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> title</pre>
<pre>java.lang.String title</pre>
</li>
<li class="blockList">
<h4>usersFilename</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> usersFilename</pre>
<pre>java.lang.String usersFilename</pre>
</li>
<li class="blockList">
<h4>booksFilename</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> booksFilename</pre>
<pre>java.lang.String booksFilename</pre>
</li>
<li class="blockListLast">
<h4>preset</h4>
@@ -624,10 +621,8 @@
<ul class="navList" title="Navigation">
<li><a href="libsys/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="libsys/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
@@ -659,6 +654,5 @@
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 6
- 4
src/main/java/libsys/Book.java Bestand weergeven

@@ -4,6 +4,9 @@ package libsys;
* Last edited : 6/4/2017
*/

/**
* Book object
*/
public class Book
{
private String title;
@@ -85,7 +88,7 @@ public class Book
* Returns the due date of the Book
* @return due date ([yyyy][mm][dd])
*/
public int[] getDueDate()
int[] getDueDate()
{
return dueDate;
}
@@ -104,7 +107,7 @@ public class Book
* @param dueDate The new due date of the Book
* @return if renting is successful
*/
public boolean rent(int[] dueDate)
boolean rent(int[] dueDate)
{
//Check if the book is available to be rented
if(!"AVAILABLE".equals(status))
@@ -122,7 +125,7 @@ public class Book
/**
* Return the Book to the shelf
*/
public void returned()
void returned()
{
//Update book status
status = "AVAILABLE";
@@ -136,7 +139,6 @@ public class Book
public double overdueFine(int[] currentDay)
{
double fine;
boolean monChange = false;

if(currentDay[0] < dueDate[0] || (currentDay[0] == dueDate[0] && currentDay[1] < dueDate[1]) || (currentDay[0] == dueDate[0] && currentDay[1] == dueDate[1] && currentDay[2] <= dueDate[2]))
{


+ 19
- 28
src/main/java/libsys/BookFactory.java Bestand weergeven

@@ -6,16 +6,15 @@ package libsys;

import java.util.List;
import java.util.ArrayList;
import org.json.JSONString;
import org.json.JSONObject;
import org.json.JSONTokener;
import org.json.JSONArray;
import java.io.FileInputStream;
import java.io.PrintWriter;
import java.io.File;
import java.util.Enumeration;
import java.io.Serializable;

/**
* Handles all the Book(s)
*/
public class BookFactory
{
private List<Book> books = new ArrayList<Book>();
@@ -43,17 +42,15 @@ public class BookFactory
JSONObject obj = new JSONObject(new JSONTokener(in));
String [] ids = JSONObject.getNames(obj);

for (int i = 0; i < ids.length; i++)
{
JSONObject jsonBook = obj.getJSONObject(ids[i]);
int id = Integer.parseInt(ids[i]);
for (String id1 : ids) {
JSONObject jsonBook = obj.getJSONObject(id1);
int id = Integer.parseInt(id1);
String title = jsonBook.getString("Title");
String status = jsonBook.getString("Status");
JSONArray jsonDueDate = jsonBook.getJSONArray("Due Date");
int [] dueDate = new int[jsonDueDate.length()];
int[] dueDate = new int[jsonDueDate.length()];

for (int j = 0; j < jsonDueDate.length(); j++)
{
for (int j = 0; j < jsonDueDate.length(); j++) {
dueDate[j] = jsonDueDate.optInt(j);
}
books.add(new Book(id, title, status, dueDate));
@@ -73,20 +70,18 @@ public class BookFactory
/**
* Output the data into a JSON file replacing the input file (or if filename not given, "books.json")
*/
public void toJsonFile()
void toJsonFile()
{
try
{
PrintWriter out = new PrintWriter(bookFilename);
JSONObject booksObj = new JSONObject();
for (int i = 0; i < books.size(); i++)
{
Book book = books.get(i);
JSONObject bookObj = new JSONObject();
bookObj.put("Title", book.getTitle());
bookObj.put("Status", book.getStatus());
bookObj.put("Due Date", book.getDueDate());
booksObj.put(Integer.toString(book.getId()), bookObj);
for (Book book : books) {
JSONObject bookObj = new JSONObject();
bookObj.put("Title", book.getTitle());
bookObj.put("Status", book.getStatus());
bookObj.put("Due Date", book.getDueDate());
booksObj.put(Integer.toString(book.getId()), bookObj);
}
out.println(booksObj.toString(4));
out.close();
@@ -102,7 +97,7 @@ public class BookFactory
* Update the output filename for the object
* @param bookFilename The new filename
*/
public void setBookFileName(String bookFilename)
void setBookFileName(String bookFilename)
{
this.bookFilename = bookFilename;
}
@@ -113,7 +108,7 @@ public class BookFactory
* @param status Status of the Book
* @return The new Book that is just created
*/
public Book newBook(String title, String status)
Book newBook(String title, String status)
{
Book temp = new Book(title, id, status);
books.add(temp);
@@ -176,12 +171,8 @@ public class BookFactory
*/
public Book getBook(String title)
{
for (int i = 0; i < books.size(); i++)
{
Book temp = books.get(i);

if(temp.getTitle() == title)
{
for (Book temp : books) {
if (temp.getTitle().equals(title)) {
return temp;
}
}


+ 3
- 0
src/main/java/libsys/EditBookDialog.java Bestand weergeven

@@ -4,6 +4,9 @@ package libsys;
* Last edited : 6/4/2017
*/

/**
* UI for updating information in Book
*/
@SuppressWarnings({"unchecked", "serial"})
public class EditBookDialog extends javax.swing.JDialog {



+ 3
- 0
src/main/java/libsys/EditUserDialog.java Bestand weergeven

@@ -4,6 +4,9 @@ package libsys;
* Last edited : 6/4/2017
*/

/**
* UI for updating information in User
*/
@SuppressWarnings({"unchecked", "serial"})
public class EditUserDialog extends javax.swing.JDialog {



+ 55
- 54
src/main/java/libsys/Handler.java Bestand weergeven

@@ -5,14 +5,16 @@ package libsys;
*/

import java.util.Calendar;
import org.json.JSONObject;
import java.util.concurrent.atomic.AtomicReference;

/**
* Handles all the background operations of MainGUI, also contains both UserFactory and BookFactory
*/
class Handler
{
Exception BookNotFound = new Exception("Error 404 : Book not found");
BookFactory books;
UserFactory users;
Calendar cal = Calendar.getInstance();
private Calendar cal = Calendar.getInstance();

/**
* Creates new empty Handler
@@ -28,15 +30,15 @@ class Handler
* @param book Book to be borrowed
* @return If the borrow operation is successful
*/
public boolean borrowBook(User user, Book book)
boolean borrowBook(User user, Book book)
{
User newUser = user;
Book newBook = book;
AtomicReference<User> newUser = new AtomicReference<User>(user);
AtomicReference<Book> newBook = new AtomicReference<Book>(book);

if(("AVAILABLE".equals(book.getStatus())) && newUser.status() && newBook.rent(calDueDate(10)) && newUser.borrowNewBook(book.getId()))
if(("AVAILABLE".equals(book.getStatus())) && newUser.get().status() && newBook.get().rent(calDueDate(10)) && newUser.get().borrowNewBook(book.getId()))
{
books.update(book, newBook);
users.update(user, newUser);
books.update(book, newBook.get());
users.update(user, newUser.get());

return true;
}
@@ -50,17 +52,17 @@ class Handler
* @param book Book to be returned
* @return If the return operation is successful
*/
public boolean returnBook(User user, Book book)
boolean returnBook(User user, Book book)
{
User newUser = user;
Book newBook = book;
AtomicReference<User> newUser = new AtomicReference<User>(user);
AtomicReference<Book> newBook = new AtomicReference<Book>(book);

if(newUser.returnBook(book.getId()))
if(newUser.get().returnBook(book.getId()))
{
book.returned();

books.update(book, newBook);
users.update(user, newUser);
books.update(book, newBook.get());
users.update(user, newUser.get());

return true;
}
@@ -73,73 +75,73 @@ class Handler
* @param days Amount of days to be borrowed
* @return Amount of days added to the current day
*/
public int[] calDueDate(int days)
private int[] calDueDate(int days)
{
int[] dueDate = currentDay();
return calDueDate(days, currentDay());
}

int[] calDueDate(int days, int[] date)
{
for (int i = 0; i < days; i++)
{
if(dueDate[2] < 28)
if(date[2] < 28)
{
dueDate[2]++;
date[2]++;
}
else if(dueDate[1] == 12)
else if(date[1] == 12 && date[2] == 31)
{
if(dueDate[2] == 31)
{
dueDate[0]++;
dueDate[1] = 1;
dueDate[2] = 1;
}
date[0]++;
date[1] = 1;
date[2] = 1;
}
else if(dueDate[1] == 2)
else if(date[1] == 2)
{
if((dueDate[0] % 4) == 0)
if((date[0] % 4) == 0)
{
if(dueDate[2] == 29)
if(date[2] == 29)
{
dueDate[1]++;
dueDate[2] = 1;
date[1]++;
date[2] = 1;
}
else
{
dueDate[2]++;
date[2]++;
}
}
else if(dueDate[2] == 28)
else if(date[2] == 28)
{
dueDate[1]++;
dueDate[2] = 1;
date[1]++;
date[2] = 1;
}
else
{
dueDate[2]++;
date[2]++;
}
}
else if(dueDate[1] == 4 || dueDate[1] == 6 || dueDate[1] == 9 || dueDate[1] == 11)
else if(date[1] == 4 || date[1] == 6 || date[1] == 9 || date[1] == 11)
{
if(dueDate[2] == 30)
if(date[2] == 30)
{
dueDate[1]++;
dueDate[2] = 1;
date[1]++;
date[2] = 1;
}
else
{
dueDate[2]++;
date[2]++;
}
}
else if(dueDate[2] == 31)
else if(date[2] == 31)
{
dueDate[1]++;
dueDate[2] = 1;
date[1]++;
date[2] = 1;
}
else
{
dueDate[2]++;
date[2]++;
}
}

return dueDate;
return date;
}

/**
@@ -160,18 +162,17 @@ class Handler
/**
* Create a String of all book titles with the given Book ids
* @param bookIDs Array of Book ids
* @return String of book titles seperated with "; "
* @return String of book titles separated with "; "
*/
public String bookIdsToTitlesString(int[] bookIDs)
String bookIdsToTitlesString(int[] bookIDs)
{
String titlesString = "";
StringBuilder titlesString = new StringBuilder();

for (int i = 0; i < bookIDs.length; i++)
{
titlesString += books.getBook(bookIDs[i]).getTitle();
titlesString += "; ";
for (int bookID : bookIDs) {
titlesString.append(books.getBook(bookID).getTitle());
titlesString.append("; ");
}

return titlesString;
return titlesString.toString();
}
}

+ 3
- 0
src/main/java/libsys/Main.java Bestand weergeven

@@ -4,6 +4,9 @@ package libsys;
* Last edited : 6/4/2017
*/

/**
* Main class
*/
public class Main
{
static Settings settings = new Settings("settings.txt");


+ 3
- 0
src/main/java/libsys/MainGUI.java Bestand weergeven

@@ -8,6 +8,9 @@ import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.concurrent.CountDownLatch;

/**
* Main Graphic User Interface
*/
@SuppressWarnings({"unchecked", "serial"})
public class MainGUI extends javax.swing.JFrame
{


+ 3
- 0
src/main/java/libsys/NewBookDialog.java Bestand weergeven

@@ -4,6 +4,9 @@ package libsys;
* Last edited : 6/4/2017
*/

/**
* UI for creating a new Book
*/
@SuppressWarnings({"unchecked", "serial", "rawtypes"})
public class NewBookDialog extends javax.swing.JDialog {



+ 3
- 0
src/main/java/libsys/NewUserDialog.java Bestand weergeven

@@ -4,6 +4,9 @@ package libsys;
* Last edited : 6/4/2017
*/

/**
* UI for creating a new User
*/
@SuppressWarnings({"unchecked", "serial"})
public class NewUserDialog extends javax.swing.JDialog {



+ 3
- 0
src/main/java/libsys/RentDialog.java Bestand weergeven

@@ -12,6 +12,9 @@ import javax.swing.InputMap;
import javax.swing.JComponent;
import javax.swing.KeyStroke;

/**
* UI for User renting a Book
*/
@SuppressWarnings({"unchecked", "serial"})
public class RentDialog extends javax.swing.JDialog {



+ 3
- 0
src/main/java/libsys/ReturnDialog.java Bestand weergeven

@@ -12,6 +12,9 @@ import javax.swing.InputMap;
import javax.swing.JComponent;
import javax.swing.KeyStroke;

/**
* UI for User returning a Book
*/
@SuppressWarnings({"unchecked", "serial"})
public class ReturnDialog extends javax.swing.JDialog {



+ 9
- 7
src/main/java/libsys/Settings.java Bestand weergeven

@@ -10,6 +10,9 @@ import java.io.PrintWriter;
import java.util.HashMap;
import java.util.ArrayList;

/**
* Handles all settings related operations and background processing of SettingsDialog
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class Settings
{
@@ -46,14 +49,13 @@ public class Settings
/**
* Save the settings to the given input file
*/
public void toFile()
private void toFile()
{
try
{
PrintWriter out = new PrintWriter(settingsFileName);
for (int i = 0; i < keys.size(); i++)
{
out.println(keys.get(i) + ":" + items.get(keys.get(i)));
for (String key : keys) {
out.println(key + ":" + items.get(key));
}
out.close();
}
@@ -78,7 +80,7 @@ public class Settings
* @param location Location of the field in the array list
* @return The field name
*/
public String getKey(int location)
String getKey(int location)
{
return keys.get(location);
}
@@ -106,7 +108,7 @@ public class Settings
* Change the file name for the Users
* @param newUsersFilename New file name for Users
*/
public void setUsersFilename(String newUsersFilename)
void setUsersFilename(String newUsersFilename)
{
update("Users Filename", newUsersFilename);
}
@@ -115,7 +117,7 @@ public class Settings
* Change the file name for the Books
* @param newBooksFilename New file name for Books
*/
public void setBooksFilename(String newBooksFilename)
void setBooksFilename(String newBooksFilename)
{
update("Books Filename", newBooksFilename);
}


+ 3
- 0
src/main/java/libsys/SettingsDialog.java Bestand weergeven

@@ -4,6 +4,9 @@ package libsys;
* Last edited : 6/4/2017
*/

/**
* UI for updating all the informations in Settings
*/
@SuppressWarnings("serial")
public class SettingsDialog extends javax.swing.JDialog {



+ 7
- 8
src/main/java/libsys/User.java Bestand weergeven

@@ -6,6 +6,9 @@ package libsys;

import java.util.*;

/**
* User object
*/
public class User
{
private String name;
@@ -92,12 +95,8 @@ public class User
*/
public boolean status()
{
if (books.size() < limit)
{
return true;
}
return books.size() < limit;

return false;
}

/**
@@ -110,7 +109,7 @@ public class User

for (int i = 0; i < books.size(); i++)
{
currentBooks[i] = books.get(i).intValue();
currentBooks[i] = books.get(i);
}

return currentBooks;
@@ -121,7 +120,7 @@ public class User
* @param id id of the Book to tbe borrowed
* @return If the borrowing operation is successful
*/
public boolean borrowNewBook(int id)
boolean borrowNewBook(int id)
{
if (status())
{
@@ -139,7 +138,7 @@ public class User
* @param id id of the Book to be returned
* @return If the returning operation is successful
*/
public boolean returnBook(int id)
boolean returnBook(int id)
{
for (int i = 0; i < books.size(); i++)
{


+ 24
- 32
src/main/java/libsys/UserFactory.java Bestand weergeven

@@ -4,18 +4,18 @@ package libsys;
* Last edited : 6/4/2017
*/

import java.util.List;
import java.util.ArrayList;
import org.json.JSONString;
import org.json.JSONArray;
import org.json.JSONObject;
import org.json.JSONTokener;
import org.json.JSONArray;
import java.io.FileInputStream;
import java.io.PrintWriter;
import java.io.File;
import java.util.Enumeration;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
* Handles all the User(s)
*/
public class UserFactory
{
private List<User> users = new ArrayList<User>();
@@ -28,7 +28,7 @@ public class UserFactory
public UserFactory()
{
id = 0;
userFilename = "users,json";
userFilename = "users.json";
}

/**
@@ -43,17 +43,15 @@ public class UserFactory
JSONObject obj = new JSONObject(new JSONTokener(in));
String [] ids = JSONObject.getNames(obj);

for (int i = 0; i < ids.length; i++)
{
JSONObject jsonUser = obj.getJSONObject(ids[i]);
int id = Integer.parseInt(ids[i]);
for (String id1 : ids) {
JSONObject jsonUser = obj.getJSONObject(id1);
int id = Integer.parseInt(id1);
String name = jsonUser.getString("Name");
int limit = jsonUser.getInt("Limit");

JSONArray jsonBooks = jsonUser.getJSONArray("Books");
ArrayList<Integer> books = new ArrayList<Integer>();
for (int j = 0; j < jsonBooks.length(); j++)
{
for (int j = 0; j < jsonBooks.length(); j++) {
books.add(Integer.parseInt(jsonBooks.get(j).toString()));
}

@@ -74,20 +72,18 @@ public class UserFactory
/**
* Output the data into a JSON file replacing the input file (or if filename not given, "users.json")
*/
public void toJsonFile()
void toJsonFile()
{
try
{
PrintWriter out = new PrintWriter(userFilename);
JSONObject usersObj = new JSONObject();
for (int i = 0; i < users.size(); i++)
{
User user = users.get(i);
JSONObject userObj = new JSONObject();
userObj.put("Name", user.getName());
userObj.put("Limit", user.getLimit());
userObj.put("Books", user.bookStatus());
usersObj.put(Integer.toString(user.getId()), userObj);
for (User user : users) {
JSONObject userObj = new JSONObject();
userObj.put("Name", user.getName());
userObj.put("Limit", user.getLimit());
userObj.put("Books", user.bookStatus());
usersObj.put(Integer.toString(user.getId()), userObj);
}
out.println(usersObj.toString(4));
out.close();
@@ -103,7 +99,7 @@ public class UserFactory
* Update the output filename for the object
* @param userFilename The new filename
*/
public void setUserFileName(String userFilename)
void setUserFileName(String userFilename)
{
this.userFilename = userFilename;
}
@@ -114,7 +110,7 @@ public class UserFactory
* @param limit Limit of Book the User can borrow
* @return The new User that is just created
*/
public User newUser(String name, int limit)
User newUser(String name, int limit)
{
User temp = new User(name, id, limit);
users.add(temp);
@@ -132,12 +128,8 @@ public class UserFactory
*/
public User getUser(String name)
{
for (int i = 0; i < users.size(); i++)
{
User temp = users.get(i);

if(temp.getName() == name)
{
for (User temp : users) {
if (temp.getName().equals(name)) {
return temp;
}
}
@@ -150,7 +142,7 @@ public class UserFactory
* @param index id of the User to be found
* @return User with the given id
*/
public User getUser(int index)
User getUser(int index)
{
return search(index, 0, users.size() - 1);
}


+ 123
- 0
src/test/java/libsys/BookFactoryTest.java Bestand weergeven

@@ -0,0 +1,123 @@
package libsys;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import java.io.File;

/**
* Test BookFactory related operations
*/
public class BookFactoryTest extends TestCase
{
private BookFactory bookFactory;

/**
* Test BookFactory related operations
* @param testName name of the test case
*/
public BookFactoryTest(String testName)
{
super(testName);
}

/**
* @return suite of tests being tested
*/
public static Test suite()
{
return new TestSuite(BookFactoryTest.class);
}

/**
* Set up before testing
* @throws Exception Exception
*/
public void setUp() throws Exception
{
super.setUp();
bookFactory = new BookFactory();
bookFactory.setBookFileName("testBookFactory.json");
}

/**
* Run all tests
*/
public void testApp()
{
newBookTest();
outputAndInputTest();
exceptionTest();
}

/**
* Test the newBook function
*/
private void newBookTest()
{
Book book1 = bookFactory.newBook("Whole new Book", "AVAILABLE");
assertTrue("Book ID is 0", book1.getId() == 0);
assertTrue("Book title is \"Whole new Book\"", book1.getTitle().equals(bookFactory.getBook(0).getTitle()));
assertTrue("Book status is \"AVAILABLE\"", book1.getStatus().equals(bookFactory.getBook(0).getStatus()));
assertTrue("Comparing Book with to the Book in BookFactory", bookFactory.getBook(0).equals(book1));
}

/**
* Test the class in writing to and reading from files
*/
private void outputAndInputTest()
{
String filename = "someTestFile.json";
bookFactory.setBookFileName(filename);
bookFactory.toJsonFile();
BookFactory newBookFactory = new BookFactory(filename);
assertTrue("newBookFactory : Book title is \"Whole new Book\"", newBookFactory.getBook(0).getTitle().equals("Whole new Book"));
assertTrue("newBookFactory : Book status is \"AVAILABLE\"", newBookFactory.getBook(0).getStatus().equals("AVAILABLE"));
}

/**
* Test exception cases and error handling of the class
*/
private void exceptionTest()
{
BookFactory anotherBookFactory = new BookFactory("noSuchFile.json");
assertTrue("Check ID for new Book of non-existent import file", anotherBookFactory.newBook("Some book", "NOT AVAILABLE").getId() == 0);

try
{
anotherBookFactory.getBook(20);
assert false;
}
catch (Exception e)
{
assert true;
}
}

/**
* Delete files created during test
* @throws Exception Exception
*/
public void tearDown() throws Exception
{
super.tearDown();
File file = new File("noSuchFile.json");
if(!file.delete())
{
System.out.println("noSuchFile.json is not found / deleted");
}

file = new File("someTestFile.json");
if(!file.delete())
{
System.out.println("someTestFile.json is not found / deleted");
}

file = new File("testBookFactory.json");
if(!file.delete())
{
System.out.println("testBookFactory.json is not found / deleted");
}
}
}

+ 126
- 0
src/test/java/libsys/BookTest.java Bestand weergeven

@@ -0,0 +1,126 @@
package libsys;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* Test Book related operations
*/
public class BookTest extends TestCase
{
private Book book1;
private Book book2;

/**
* Test Book related operations
* @param testName name of the test case
*/
public BookTest(String testName)
{
super(testName);
}

/**
* @return suite of tests being tested
*/
public static Test suite()
{
return new TestSuite(BookTest.class);
}

/**
* Run all tests
*/
public void testApp()
{
valueTest();
rentTest();
returnTest();
setTitlesTest();
constructorTest();
}

/**
* Set up before testing
* @throws Exception Exception
*/
public void setUp() throws Exception
{
super.setUp();
book1 = new Book("Book1", 10, "AVAILABLE");
book2 = new Book("Book2", 12, "NOT AVAILABLE");
}

/**
* Test if the values are accurate
*/
private void valueTest()
{
assertEquals("Title is \"Book1\"", book1.getTitle(), "Book1");
assertEquals("Status is \"AVAILABLE\"", book1.getStatus(), "AVAILABLE");
assertEquals("Book id is 10", book1.getId(), 10);
assertEquals("Title is \"Book2\"", book2.getTitle(), "Book2");
assertEquals("Status is \"NOT AVAILABLE\"", book2.getStatus(), "NOT AVAILABLE");
assertEquals("Book id is 12", book2.getId(), 12);
}

/**
* Test the rent(int[]) function functionality
*/
private void rentTest()
{
int[] date = new int[]{2018, 10, 5};
assertTrue("Rent should be successful", book1.rent(date));
assertEquals("Book status is \"RENTED\"", book1.getStatus(), "RENTED");
assertEquals("Book due date is 2018/10/5",book1.getDueDate(), date);
assertFalse("Book2 is not rent-able", book2.rent(date));
}

/**
* Test the returned() function functionality
*/
private void returnTest()
{
book1.returned();
assertTrue("Book1 is \"AVAILABLE\"", book1.getStatus().equals("AVAILABLE"));
}

/**
* Test the setTitles(String) functionality
*/
private void setTitlesTest()
{
String newBook1Title = "New Book 1";
book1.setTitle(newBook1Title);
assertEquals("Title is \"New Book 1\"", book1.getTitle(), newBook1Title);
String newBook2Title = "New Book 2";
book2.setTitle(newBook2Title);
assertEquals("Title is \"New Book 2\"", book2.getTitle(), newBook2Title);
}

/**
* Test the functionality for all different types of constructor
*/
private void constructorTest()
{
Book testBook1 = new Book(10);
Book testBook2 = new Book("Test Title", 20, "RESERVED");
Book testBook3 = new Book(15, "Test Title 2", "RENTED", (new int[]{2019, 3, 23}));

assertTrue("Book1 id is 10", testBook1.getId() == 10);
assertEquals("Book1 status is \"NOT AVAILABLE\"", testBook1.getStatus(), "NOT AVAILABLE");

assertEquals("Book2 title is \"Test Title\"", testBook2.getTitle(), "Test Title");
assertEquals("Book2 id is 20", testBook2.getId(), 20);
assertEquals("Book2 status is \"RESERVED\"", testBook2.getStatus(), "RESERVED");

assertEquals("Book3 title is \"Test Title 2\"", testBook3.getTitle(), "Test Title 2");
assertEquals("Book3 id is 15", testBook3.getId(), 15);
assertEquals("Book3 status is \"RENTED\"", testBook3.getStatus(), "RENTED");
int[] dueDate = testBook3.getDueDate();
assertEquals("Book3 due date year is 2019", dueDate[0], 2019);
assertEquals("Book3 due date month is 3", dueDate[1], 3);
assertEquals("Book3 due date day is 23", dueDate[2], 23);
}
}

+ 170
- 0
src/test/java/libsys/HandlerTest.java Bestand weergeven

@@ -0,0 +1,170 @@
package libsys;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import java.io.File;

/**
* Test Handler related operations
*/
public class HandlerTest extends TestCase
{
private Handler handler = new Handler();

/**
* Test Handler related operations
* @param testName name of the test case
*/
public HandlerTest(String testName)
{
super(testName);
}

/**
* @return suite of tests being tested
*/
public static Test suite()
{
return new TestSuite(HandlerTest.class);
}

/**
* Run all tests
*/
public void testApp()
{
borrowBookTest();
returnBookTest();
calDueDateTest();
bookIdsToTitlesStringTest();
}

/**
* Set up before testing
* @throws Exception Exception
*/
public void setUp() throws Exception
{
super.setUp();
handler.users = new UserFactory();
handler.users.setUserFileName("usersTest.json");
handler.books = new BookFactory();
handler.books.setBookFileName("booksTest.json");
handler.users.newUser("User1", 2);
handler.users.newUser("User2", 1);
handler.users.newUser("User3", 1);
handler.books.newBook("Book1", "AVAILABLE");
handler.books.newBook("Book2", "AVAILABLE");
handler.books.newBook("Book3", "NOT AVAILABLE");
handler.books.newBook("Book4", "AVAILABLE");
}

/**
* Delete files after testing
* @throws Exception Exception
*/
public void tearDown() throws Exception
{
super.tearDown();
File file = new File("usersTest.json");
if(!file.delete())
System.out.println("usersTest.json not deleted");
file = new File("booksTest.json");
if(!file.delete())
System.out.println("booksTest.json not deleted");
}

/**
* Test the borrowBook function
*/
private void borrowBookTest()
{
assertTrue("User1 borrows Book1 successful (Book is AVAILABLE, User status is True)", handler.borrowBook(handler.users.getUser(0), handler.books.getBook(0)));
assertEquals("Book1 is now RENTED", handler.books.getBook(0).getStatus(), "RENTED");
assertTrue("User2 borrows Book2 successful (Book is AVAILABLE, User status is True)", handler.borrowBook(handler.users.getUser(1), handler.books.getBook(1)));
assertEquals("Book2 is now RENTED", handler.books.getBook(1).getStatus(), "RENTED");
assertFalse("User3 borrows Book3 unsuccessful (Book is NOT AVAILABLE, User status is True)", handler.borrowBook(handler.users.getUser(2), handler.books.getBook(2)));
assertEquals("Book3 is still NOT AVAILABLE", handler.books.getBook(2).getStatus(), "NOT AVAILABLE");
assertFalse("User3 borrows Book1 unsuccessful (Book is RENTED, User status is True)", handler.borrowBook(handler.users.getUser(2), handler.books.getBook(0)));
assertFalse("User2 borrows Book4 unsuccessful (Book is AVAILABLE, User status is False)", handler.borrowBook(handler.users.getUser(1), handler.books.getBook(3)));
assertEquals("Book4 is still AVAILABLE", handler.books.getBook(3).getStatus(), "AVAILABLE");
assertFalse("User2 borrows Book3 unsuccessful (Book is NOT AVAILABLE, User status is False)", handler.borrowBook(handler.users.getUser(1), handler.books.getBook(2)));
assertEquals("Book3 is still NOT AVAILABLE", handler.books.getBook(2).getStatus(), "NOT AVAILABLE");
assertFalse("User2 borrows Book1 unsuccessful (Book is RENTED, User status is False)", handler.borrowBook(handler.users.getUser(1), handler.books.getBook(0)));
}

/**
* Test the returnBook function
*/
private void returnBookTest()
{
assertFalse("User2 returns Book1 unsuccessful (Not renter of the Book)", handler.returnBook(handler.users.getUser(1), handler.books.getBook(0)));
assertFalse("User3 returns Book3 unsuccessful (Not renter of the Book, Book NOT AVAILABLE", handler.returnBook(handler.users.getUser(2), handler.books.getBook(2)));
assertTrue("User1 returns Book1 successful (User is renter, Book is rented)", handler.returnBook(handler.users.getUser(0), handler.books.getBook(0)));
assertEquals("Book1 is now AVAILABLE", handler.books.getBook(0).getStatus(), "AVAILABLE");
assertFalse("User3 returns Book2 unsuccessful (Not renter of the Book", handler.returnBook(handler.users.getUser(2), handler.books.getBook(1)));
assertFalse("User3 returns Book4 unsuccessful (Not renter of the Book, Book is AVAILABLE", handler.returnBook(handler.users.getUser(2), handler.books.getBook(3)));
assertTrue("User2 returns Book2 successful (User is renter, Book is rented)", handler.returnBook(handler.users.getUser(1), handler.books.getBook(1)));
assertEquals("Book2 is now AVAILABLE", handler.books.getBook(1).getStatus(), "AVAILABLE");
}

/**
* Test the calDueDate function
*/
private void calDueDateTest()
{
int[] date1 = new int[]{2017, 10, 10};
int[] date2 = new int[]{2017, 2, 26};
int[] date3 = new int[]{2017, 4, 20};
int[] date4 = new int[]{2017, 8, 30};
int[] date5 = new int[]{2017, 12, 29};
int[] date6 = new int[]{2012, 2, 25};

int[] temp = handler.calDueDate(10, date1);
assertEquals("Basic addition year", temp[0], 2017);
assertEquals("Basic addition month", temp[1], 10);
assertEquals("Basic addition day", temp[2], 20);

temp = handler.calDueDate(5, date2);
assertEquals("Cross February year", temp[0], 2017);
assertEquals("Cross February month", temp[1], 3);
assertEquals("Cross February day", temp[2], 3);

temp = handler.calDueDate(15, date3);
assertEquals("Cross 30-days-month year", temp[0], 2017);
assertEquals("Cross 30-days-month month", temp[1], 5);
assertEquals("Cross 30-days-month day", temp[2], 5);

temp = handler.calDueDate(10, date4);
assertEquals("Cross 31-days-month year", temp[0], 2017);
assertEquals("Cross 31-days-month month", temp[1], 9);
assertEquals("Cross 31-days-month day", temp[2], 9);

temp = handler.calDueDate(10, date5);
assertEquals("Cross year year", temp[0], 2018);
assertEquals("Cross year month", temp[1], 1);
assertEquals("Cross year day", temp[2], 8);

temp = handler.calDueDate(5, date6);
assertEquals("Cross leap-year February year", temp[0], 2012);
assertEquals("Cross leap-year February month", temp[1], 3);
assertEquals("Cross leap-year February day", temp[2], 1);
}

/**
* Test the bookIdsToTitlesString function
*/
private void bookIdsToTitlesStringTest()
{
int[] bookIds = new int[]{3};
assertEquals("Get String of 1 bookId", handler.bookIdsToTitlesString(bookIds), "Book4; ");

bookIds = new int[]{0, 1, 2};
assertEquals("Get String of 3 bookIds", handler.bookIdsToTitlesString(bookIds), "Book1; Book2; Book3; ");

bookIds = new int[]{2, 1, 0};
assertEquals("Get String of 3 bookIds reversed", handler.bookIdsToTitlesString(bookIds), "Book3; Book2; Book1; ");
}
}

+ 96
- 0
src/test/java/libsys/SettingsTest.java Bestand weergeven

@@ -0,0 +1,96 @@
package libsys;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import java.io.File;

/**
* Test Settings related operations
*/
public class SettingsTest extends TestCase
{
private Settings settings;

/**
* Test Settings related operations
* @param testName name of the test case
*/
public SettingsTest(String testName)
{
super(testName);
}

/**
* @return suite of tests being tested
*/
public static Test suite()
{
return new TestSuite(SettingsTest.class);
}

/**
* Run all tests
*/
public void testApp()
{
constructorTest();
setTitleTest();
setUsersFilenameTest();
setBooksFilenameTest();
}

/**
* Test the constructor
*/
private void constructorTest()
{
settings = new Settings("noSuchFile.txt");
assertEquals("Default title", settings.get(settings.getKey(0)), "Welcome to the library");
assertEquals("Default users filename", settings.get(settings.getKey(1)), "users.json");
assertEquals("Default books filename", settings.get(settings.getKey(2)), "books.json");
}

/**
* Test the setTitle function
*/
private void setTitleTest()
{
String newTitle = "New Title";
settings.setTitle(newTitle);
assertEquals("Set settings title to \"New Title\"", settings.get(settings.getKey(0)), newTitle);
}

/**
* Test the setUsersFilename function
*/
private void setUsersFilenameTest()
{
String newUsersFilename = "newUsersFilename";
settings.setUsersFilename(newUsersFilename);
assertEquals("Set settings usersFilename to \"newUsersFilename\"", settings.get(settings.getKey(1)), newUsersFilename);
}

/**
* Test the setBooksFilename function
*/
private void setBooksFilenameTest()
{
String newBooksFilename = "newBooksFilename";
settings.setBooksFilename(newBooksFilename);
assertEquals("Set settings booksFilename to \"newBooksFilename\"", settings.get(settings.getKey(2)), newBooksFilename);
}

/**
* Delete test files
* @throws Exception Exception
*/
public void tearDown() throws Exception
{
super.tearDown();
File file = new File("noSuchFile.txt");
if (!file.delete())
System.out.println("noSuchFile.txt was not deleted");
}
}

+ 134
- 0
src/test/java/libsys/UserFactoryTest.java Bestand weergeven

@@ -0,0 +1,134 @@
package libsys;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import java.io.File;

/**
* Test UserFactory related operations
*/
public class UserFactoryTest extends TestCase
{
private UserFactory userFactory;

/**
* Test UserFactory related operations
* @param testName name of the test case
*/
public UserFactoryTest(String testName)
{
super(testName);
}

/**
* @return suite of tests being tested
*/
public static Test suite()
{
return new TestSuite(UserFactoryTest.class);
}

/**
* Set up before testing
* @throws Exception Exception
*/
public void setUp() throws Exception
{
super.setUp();
userFactory = new UserFactory();
userFactory.setUserFileName("testUserFactory.json");
}

/**
* Run all tests
*/
public void testApp()
{
newUserTest();
fileIOTest();
exceptionTest();
}

/**
* Test the newUser function
*/
private void newUserTest()
{
User user1 = userFactory.newUser("User1", 10);
User user2 = userFactory.newUser("User2", 3);
assertEquals("User1 is the same User object as the one in userFactory", user1, userFactory.getUser(0));
assertEquals("User2 is the same User object as the one in userFactory", user2, userFactory.getUser(1));
assertEquals("Name of User1 in userFactory is the same as returned", user1, userFactory.getUser("User1"));
assertEquals("Name of User2 in userFactory is the same as returned", user2, userFactory.getUser("User2"));
assertEquals("Name of User1 is \"User1\"", user1.getName(), "User1");
assertEquals("Name of User2 is \"User2\"", user2.getName(), "User2");
assertEquals("Name of User1 in userFactory is \"User1\"", userFactory.getUser(0).getName(), "User1");
assertEquals("Name of User1 in userFactory is \"User1\"", userFactory.getUser(1).getName(), "User2");
assertEquals("Limit of User1 is 10", user1.getLimit(), 10);
assertEquals("Limit of User2 is 3", user2.getLimit(), 3);
assertEquals("Limit of User1 in userFactory is 10", userFactory.getUser(0).getLimit(), 10);
assertEquals("Limit of User2 in userFactory is 3", userFactory.getUser(1).getLimit(), 3);
}

/**
* Test the class in writing to and reading from files
*/
private void fileIOTest()
{
String filename = "someTestFile.json";
userFactory.setUserFileName(filename);
userFactory.toJsonFile();
UserFactory newUserFactory = new UserFactory(filename);
assertEquals("newUserFactory : Name of User1 is \"User1\"", newUserFactory.getUser(0).getName(), "User1");
assertEquals("newUserFactory : Name of User2 is \"User2\"", newUserFactory.getUser(1).getName(), "User2");
assertEquals("newUserFactory : Name of User1 is 10", newUserFactory.getUser(0).getLimit(), 10);
assertEquals("newUserFactory : Name of User2 is 3", newUserFactory.getUser(1).getLimit(), 3);
}

/**
* Test exception cases and error handling of the class
*/
private void exceptionTest()
{
UserFactory anotherUserFactory = new UserFactory("noSuchFile.json");
assertEquals("Check ID of new User of non-existent import file", anotherUserFactory.newUser("Some person", 1).getId(), 0);

try
{
anotherUserFactory.getUser(1);
assert false;
}
catch (Exception e)
{
assert true;
}
}

/**
* Delete files created during test
* @throws Exception Exception
*/
public void tearDown() throws Exception
{
super.tearDown();
File file = new File("testUserFactory.json");
if(!file.delete())
{
System.out.println("testUserFactory.json is not found / deleted");
}

file = new File("noSuchFile.json");
if(!file.delete())
{
System.out.println("noSuchFile.json is not found / deleted");
}

file = new File("someTestFile.json");
if(!file.delete())
{
System.out.println("someTestFile.json is not found / deleted");
}
}
}

+ 108
- 0
src/test/java/libsys/UserTest.java Bestand weergeven

@@ -0,0 +1,108 @@
package libsys;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import java.util.ArrayList;

/**
* Test User related operations
*/
public class UserTest extends TestCase
{
private User user1;
private User user2;

/**
* Test User related operations
* @param testName name of the test case
*/
public UserTest(String testName)
{
super(testName);
}

/**
* @return suite of the tests being tested
*/
public static Test suite()
{
return new TestSuite(UserTest.class);
}

/**
* Run all tests
*/
public void testApp()
{
valueTest();
setterTest();
bookInteractionTest();
}

/**
* Set up before testing
* @throws Exception Exception
*/
public void setUp() throws Exception
{
super.setUp();
user1 = new User("User1", 0, 10, new ArrayList<Integer>());
ArrayList<Integer> user2List = new ArrayList<Integer>();
user2List.add(0);
user2 = new User("User2", 2, 8, user2List);
}

/**
* Test if the values are accurate
*/
private void valueTest()
{
assertEquals("Name is \"User1\"", user1.getName(), "User1");
assertEquals("id is 0", user1.getId(), 0);
assertEquals("Limit is 10", user1.getLimit(), 10);
int[] bookIds = user1.bookStatus();
assertEquals("Book list is empty", bookIds.length, 0);

assertEquals("Name is \"User2\"", user2.getName(), "User2");
assertEquals("id is 2", user2.getId(), 2);
assertEquals("Limit is 8", user2.getLimit(), 8);
bookIds = user2.bookStatus();
assertEquals("Book list is empty", bookIds.length, 1);
assertEquals("Book id is 0", bookIds[0], 0);
}

/**
* Test the setter functions
*/
private void setterTest()
{
String newName = "New User 1";
user1.setName(newName);
assertEquals("New name for User1 is \"New User 1\"", user1.getName(), newName);
user1.setLimit(1);
assertEquals("New limit for User1 is 8", user1.getLimit(), 1);

newName = "New User 2";
user2.setName(newName);
assertEquals("New name for User2 is \"New User 2\"", user2.getName(), newName);
user2.setLimit(3);
assertEquals("New limit for User2 is 3", user2.getLimit(), 3);
}

/**
* Test all functions related to Book
*/
private void bookInteractionTest()
{
assertTrue(user1.borrowNewBook(3));
int[] bookIds = user1.bookStatus();
assertEquals("User1 is now borrowing Book3", bookIds[0], 3);
assertFalse("User1 reached the limit", user1.status());
assertFalse("User1 failed to return Book2 that was not borrowed", user1.returnBook(2));
assertTrue("User1 return Book3", user1.returnBook(3));
assertTrue("User1 can now borrow book", user1.status());
assertEquals("User1 is not borrowing anything", user1.bookStatus().length, 0);
}
}

+ 0
- 38
src/test/java/libsys/test.java Bestand weergeven

@@ -1,38 +0,0 @@
package libsys;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* Unit test for simple App.
*/
public class test
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public test( String testName )
{
super( testName );
}

/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( test.class );
}

/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}

Laden…
Annuleren
Opslaan