Procházet zdrojové kódy

Documentations are now all in javadocs (through Maven Apache)

master
BinHong Lee před 7 roky
rodič
revize
65c9bec312
61 změnil soubory, kde provedl 11731 přidání a 445 odebrání
  1. +0
    -2
      docs/_config.yml
  2. +33
    -0
      docs/allclasses-frame.html
  3. +33
    -0
      docs/allclasses-noframe.html
  4. +124
    -0
      docs/constant-values.html
  5. +124
    -0
      docs/deprecated-list.html
  6. +225
    -0
      docs/help-doc.html
  7. +507
    -0
      docs/index-all.html
  8. +73
    -0
      docs/index.html
  9. +0
    -95
      docs/index.md
  10. +478
    -0
      docs/libsys/Book.html
  11. +408
    -0
      docs/libsys/BookFactory.html
  12. +465
    -0
      docs/libsys/EditBookDialog.html
  13. +488
    -0
      docs/libsys/EditUserDialog.html
  14. +278
    -0
      docs/libsys/Main.html
  15. +408
    -0
      docs/libsys/MainGUI.html
  16. +484
    -0
      docs/libsys/NewBookDialog.html
  17. +484
    -0
      docs/libsys/NewUserDialog.html
  18. +445
    -0
      docs/libsys/RentDialog.html
  19. +448
    -0
      docs/libsys/ReturnDialog.html
  20. +405
    -0
      docs/libsys/Settings.html
  21. +507
    -0
      docs/libsys/SettingsDialog.html
  22. +483
    -0
      docs/libsys/User.html
  23. +408
    -0
      docs/libsys/UserFactory.html
  24. +195
    -0
      docs/libsys/class-use/Book.html
  25. +152
    -0
      docs/libsys/class-use/BookFactory.html
  26. +124
    -0
      docs/libsys/class-use/EditBookDialog.html
  27. +124
    -0
      docs/libsys/class-use/EditUserDialog.html
  28. +124
    -0
      docs/libsys/class-use/Main.html
  29. +124
    -0
      docs/libsys/class-use/MainGUI.html
  30. +124
    -0
      docs/libsys/class-use/NewBookDialog.html
  31. +124
    -0
      docs/libsys/class-use/NewUserDialog.html
  32. +124
    -0
      docs/libsys/class-use/RentDialog.html
  33. +124
    -0
      docs/libsys/class-use/ReturnDialog.html
  34. +157
    -0
      docs/libsys/class-use/Settings.html
  35. +124
    -0
      docs/libsys/class-use/SettingsDialog.html
  36. +196
    -0
      docs/libsys/class-use/User.html
  37. +124
    -0
      docs/libsys/class-use/UserFactory.html
  38. +34
    -0
      docs/libsys/package-frame.html
  39. +194
    -0
      docs/libsys/package-summary.html
  40. +174
    -0
      docs/libsys/package-tree.html
  41. +151
    -0
      docs/libsys/package-use.html
  42. +178
    -0
      docs/overview-tree.html
  43. +1
    -0
      docs/package-list
  44. +30
    -0
      docs/script.js
  45. +664
    -0
      docs/serialized-form.html
  46. +574
    -0
      docs/stylesheet.css
  47. +52
    -12
      src/main/java/libsys/Book.java
  48. +55
    -4
      src/main/java/libsys/BookFactory.java
  49. +22
    -4
      src/main/java/libsys/EditBookDialog.java
  50. +26
    -11
      src/main/java/libsys/EditUserDialog.java
  51. +31
    -2
      src/main/java/libsys/Handler.java
  52. +6
    -2
      src/main/java/libsys/Main.java
  53. +16
    -8
      src/main/java/libsys/MainGUI.java
  54. +18
    -54
      src/main/java/libsys/NewBookDialog.java
  55. +17
    -49
      src/main/java/libsys/NewUserDialog.java
  56. +16
    -59
      src/main/java/libsys/RentDialog.java
  57. +20
    -62
      src/main/java/libsys/ReturnDialog.java
  58. +46
    -8
      src/main/java/libsys/Settings.java
  59. +33
    -61
      src/main/java/libsys/SettingsDialog.java
  60. +53
    -2
      src/main/java/libsys/User.java
  61. +72
    -10
      src/main/java/libsys/UserFactory.java

+ 0
- 2
docs/_config.yml Zobrazit soubor

@@ -1,2 +0,0 @@
title: Library System
theme: jekyll-theme-dinky

+ 33
- 0
docs/allclasses-frame.html Zobrazit soubor

@@ -0,0 +1,33 @@
<!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>All Classes (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>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<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/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/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>
<li><a href="libsys/NewUserDialog.html" title="class in libsys" target="classFrame">NewUserDialog</a></li>
<li><a href="libsys/RentDialog.html" title="class in libsys" target="classFrame">RentDialog</a></li>
<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/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>
</ul>
</div>
</body>
</html>

+ 33
- 0
docs/allclasses-noframe.html Zobrazit soubor

@@ -0,0 +1,33 @@
<!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>All Classes (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>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<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/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/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>
<li><a href="libsys/NewUserDialog.html" title="class in libsys">NewUserDialog</a></li>
<li><a href="libsys/RentDialog.html" title="class in libsys">RentDialog</a></li>
<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/User.html" title="class in libsys">User</a></li>
<li><a href="libsys/UserFactory.html" title="class in libsys">UserFactory</a></li>
</ul>
</div>
</body>
</html>

+ 124
- 0
docs/constant-values.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>Constant Field Values (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="Constant Field Values (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><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?constant-values.html" target="_top">Frames</a></li>
<li><a href="constant-values.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="Constant Field Values" class="title">Constant Field Values</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><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?constant-values.html" target="_top">Frames</a></li>
<li><a href="constant-values.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>

+ 124
- 0
docs/deprecated-list.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 225
- 0
docs/help-doc.html Zobrazit soubor

@@ -0,0 +1,225 @@
<!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>API Help (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="API Help (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><a href="index-all.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
<li><a href="help-doc.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 class="title">How This API Document Is Organized</h1>
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<h2>Package</h2>
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
<ul>
<li>Interfaces (italic)</li>
<li>Classes</li>
<li>Enums</li>
<li>Exceptions</li>
<li>Errors</li>
<li>Annotation Types</li>
</ul>
</li>
<li class="blockList">
<h2>Class/Interface</h2>
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
<ul>
<li>Class inheritance diagram</li>
<li>Direct Subclasses</li>
<li>All Known Subinterfaces</li>
<li>All Known Implementing Classes</li>
<li>Class/interface declaration</li>
<li>Class/interface description</li>
</ul>
<ul>
<li>Nested Class Summary</li>
<li>Field Summary</li>
<li>Constructor Summary</li>
<li>Method Summary</li>
</ul>
<ul>
<li>Field Detail</li>
<li>Constructor Detail</li>
<li>Method Detail</li>
</ul>
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
</li>
<li class="blockList">
<h2>Annotation Type</h2>
<p>Each annotation type has its own separate page with the following sections:</p>
<ul>
<li>Annotation Type declaration</li>
<li>Annotation Type description</li>
<li>Required Element Summary</li>
<li>Optional Element Summary</li>
<li>Element Detail</li>
</ul>
</li>
<li class="blockList">
<h2>Enum</h2>
<p>Each enum has its own separate page with the following sections:</p>
<ul>
<li>Enum declaration</li>
<li>Enum description</li>
<li>Enum Constant Summary</li>
<li>Enum Constant Detail</li>
</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>
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
</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>
</li>
<li class="blockList">
<h2>Prev/Next</h2>
<p>These links take you to the next or previous class, interface, package, or related page.</p>
</li>
<li class="blockList">
<h2>Frames/No Frames</h2>
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
</li>
<li class="blockList">
<h2>All Classes</h2>
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
</li>
<li class="blockList">
<h2>Serialized Form</h2>
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
</li>
<li class="blockList">
<h2>Constant Field Values</h2>
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
</li>
</ul>
<span class="emphasizedPhrase">This help file applies to API documentation generated using the standard doclet.</span></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><a href="index-all.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
<li><a href="help-doc.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>

+ 507
- 0
docs/index-all.html Zobrazit soubor

@@ -0,0 +1,507 @@
<!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>

+ 73
- 0
docs/index.html Zobrazit soubor

@@ -0,0 +1,73 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.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>LibrarySystem 1.0 API</title>
<script type="text/javascript">
tmpTargetPage = "" + window.location.search;
if (tmpTargetPage != "" && tmpTargetPage != "undefined")
tmpTargetPage = tmpTargetPage.substring(1);
if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage)))
tmpTargetPage = "undefined";
targetPage = tmpTargetPage;
function validURL(url) {
try {
url = decodeURIComponent(url);
}
catch (error) {
return false;
}
var pos = url.indexOf(".html");
if (pos == -1 || pos != url.length - 5)
return false;
var allowNumber = false;
var allowSep = false;
var seenDot = false;
for (var i = 0; i < url.length - 5; i++) {
var ch = url.charAt(i);
if ('a' <= ch && ch <= 'z' ||
'A' <= ch && ch <= 'Z' ||
ch == '$' ||
ch == '_' ||
ch.charCodeAt(0) > 127) {
allowNumber = true;
allowSep = true;
} else if ('0' <= ch && ch <= '9'
|| ch == '-') {
if (!allowNumber)
return false;
} else if (ch == '/' || ch == '.') {
if (!allowSep)
return false;
allowNumber = false;
allowSep = false;
if (ch == '.')
seenDot = true;
if (ch == '/' && seenDot)
return false;
} else {
return false;
}
}
return true;
}
function loadFrames() {
if (targetPage != "" && targetPage != "undefined")
top.classFrame.location = top.targetPage;
}
</script>
</head>
<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
<frame src="libsys/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
<noframes>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<h2>Frame Alert</h2>
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="libsys/package-summary.html">Non-frame version</a>.</p>
</noframes>
</frameset>
</html>

+ 0
- 95
docs/index.md Zobrazit soubor

@@ -1,95 +0,0 @@
# Documentations

## Table of Content

- [Main](#main)
- [Book](#book)
- [Book Factory](#book-factory)
- [User](#user)
- [User Factory](#user-factory)

# Main

## Functions

| Return | Method | Description |
|:-------|:-------|:------------|
| boolean | borrowBook(User user, Book book) | Return if the borrow of the book on both `BookFactory` and `UserFactory` is successful
| boolean | returnBook(User user, Book book) | Return if the return of the book on both `BookFactory` and `UserFactory` is successful
| int[] | calDueDate(int days) | Calculate the due date from the current date according to user's permission
| int[] | currentDay() | Returns the current date in an array form |

# Book

## Constructors

| Method | Description |
|:-------|:------------|
| Book(int id) | Create a book with a specific id |
| Book(String title, int id) | Create a book with specific id and title |

## Functions

| Return | Method | Description |
|:-------|:-------|:------------|
| String | getTitle() | Returns the title of the book |
| String | getStatus() | Returns the status of the book |
| String | getId() | Returns the id of the book |
| void | setTitle() | Set the title of the book |
| boolean | rent(int[] dueDate) | Returns if the rent action is successful and set the due date to the given input |
| void | returned() | Return the book |
| double | overdueFine(int[] currentDay) | Calculate and return the amount of fine to be charged<br>(Fine rate is 0.25 per day; Max fine is 5) |

# Book Factory

## Constructors

| Method | Description |
|:-------|:------------|
| BookFactory() | Creates an empty BookFactory |

## Functions

| Return | Method | Description |
|:-------|:-------|:------------|
| Book | newBook(String title) | Creates a new Book with the given title and returns it |
| Book | getBook(int index) | Returns the book of the given index if it exist, else throw null pointer exception |
| Book | getBook(String title) | Returns the book of the given title if it exist, else throw null pointer exception |
| void | update(Book newbook) | Replaces the existing book of the same id with this new one |

# User

## Constructors

| Method | Description |
|:-------|:------------|
| User(String name, int id, int limit) | Create a new User with given name, id and limit |

## Functions

| Return | Method | Description |
|:-------|:-------|:------------|
| String | getName() | Returns the name of the user |
| int | getId() | Returns id of the user |
| void | setName() | Set the name of the user |
| boolean | status() | Check if the user reached the limit of amount of books the user can borrow |
| List<Integer> | bookStatus() | Return a list consisting of book ids for all the books rented by the user |
| boolean | borrowNewBook(int id) | Check if the user status if true then add the id to the list of the books borrowed by the user |
| boolean | returnBook(int id) | Check if the book is borrowed by the user then remove it from the list |

# User Factory

## Constructors

| Method | Description |
|:-------|:------------|
| UserFactory() | Creates a new empty factory |

## Functions

| Return | Method | Description |
|:-------|:-------|:------------|
| User | newUser(String name, int limit) | Creates a new user and returns the created user |
| User | getUser(String name) | Gets the user with the given name from the factory |
| User | getUser(int index) | Gets the user with the given id from the factory |
| void | update(User oldUser, User newUser) | Update by replacing the existing user with the new one |

+ 478
- 0
docs/libsys/Book.html Zobrazit soubor

@@ -0,0 +1,478 @@
<!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: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">
<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="Book (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":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="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="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../libsys/BookFactory.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 Book" class="title">Class Book</h2>
</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>
<ul class="inheritance">
<li>libsys.Book</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<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>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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/Book.html#Book-int-">Book</a></span>(int&nbsp;id)</code>
<div class="block">Create new Book with given id (Usually used as placeholders)</div>
</td>
</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,
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,
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>
<div class="block">Create new Book with given title, id and status (Usually used for new Book creation)</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>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>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#getId--">getId</a></span>()</code>
<div class="block">Returns the id of the Book</div>
</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="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="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>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/Book.html#overdueFine-int:A-">overdueFine</a></span>(int[]&nbsp;currentDay)</code>
<div class="block">Calculate the overdue fine</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>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="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>
<div class="block">Set the title to the given title</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.<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>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Book-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Book</h4>
<pre>public&nbsp;Book(int&nbsp;id)</pre>
<div class="block">Create new Book with given id (Usually used as placeholders)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - Identification number of the Book</dd>
</dl>
</li>
</ul>
<a name="Book-java.lang.String-int-java.lang.String-">
<!-- -->
</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>
<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>status</code> - Status of the Book</dd>
</dl>
</li>
</ul>
<a name="Book-int-java.lang.String-java.lang.String-int:A-">
<!-- -->
</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>
<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>status</code> - Status of the Book</dd>
<dd><code>dueDate</code> - Due date of the Book</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="getTitle--">
<!-- -->
</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>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>title</dd>
</dl>
</li>
</ul>
<a name="getStatus--">
<!-- -->
</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>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>status (AVAILABLE || RENTED || RESERVED || NOT AVAILABLE)</dd>
</dl>
</li>
</ul>
<a name="getId--">
<!-- -->
</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>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>id</dd>
</dl>
</li>
</ul>
<a name="getDueDate--">
<!-- -->
</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>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>due date ([yyyy][mm][dd])</dd>
</dl>
</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;title)</pre>
<div class="block">Set the title to the given title</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>title</code> - The new title of the Book</dd>
</dl>
</li>
</ul>
<a name="rent-int:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rent</h4>
<pre>public&nbsp;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>
<dd><code>dueDate</code> - The new due date of the Book</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>if renting is successful</dd>
</dl>
</li>
</ul>
<a name="returned--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>returned</h4>
<pre>public&nbsp;void&nbsp;returned()</pre>
<div class="block">Return the Book to the shelf</div>
</li>
</ul>
<a name="overdueFine-int:A-">
<!-- -->
</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>
<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>
</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="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="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../libsys/BookFactory.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 408
- 0
docs/libsys/BookFactory.html Zobrazit soubor

@@ -0,0 +1,408 @@
<!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: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">
<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="BookFactory (LibrarySystem 1.0 API)";
}
}
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="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="../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>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 BookFactory" class="title">Class BookFactory</h2>
</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>
<ul class="inheritance">
<li>libsys.BookFactory</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<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>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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/BookFactory.html#BookFactory--">BookFactory</a></span>()</code>
<div class="block">Create a new empty BookFactory</div>
</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>
<div class="block">Create a new BookFactory and fill it with information from a JSON file</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><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-int-">getBook</a></span>(int&nbsp;index)</code>
<div class="block">Looks for a Book with the given id</div>
</td>
</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>
<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>
<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>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>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">
<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>
<div class="block">Replacing a Book in the array list with a new 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.<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>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="BookFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BookFactory</h4>
<pre>public&nbsp;BookFactory()</pre>
<div class="block">Create a new empty BookFactory</div>
</li>
</ul>
<a name="BookFactory-java.lang.String-">
<!-- -->
</a>
<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>
<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>
<dd><code>bookFilename</code> - Name of the input JSON file</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="toJsonFile--">
<!-- -->
</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>
</li>
</ul>
<a name="setBookFileName-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>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bookFilename</code> - The new filename</dd>
</dl>
</li>
</ul>
<a name="newBook-java.lang.String-java.lang.String-">
<!-- -->
</a>
<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>
<div class="block">Adds a new Book into this class</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>title</code> - Title of the Book</dd>
<dd><code>status</code> - Status of the Book</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new Book that is just created</dd>
</dl>
</li>
</ul>
<a name="getBook-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>
<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="getBook-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>
<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>
</dl>
</li>
</ul>
<a name="update-libsys.Book-libsys.Book-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>update</h4>
<pre>public&nbsp;void&nbsp;update(<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)</pre>
<div class="block">Replacing a Book in the array list with a new Book</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>oldBook</code> - Book to be replaced</dd>
<dd><code>newBook</code> - Book replacing it</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="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="../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>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 465
- 0
docs/libsys/EditBookDialog.html
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 488
- 0
docs/libsys/EditUserDialog.html
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 278
- 0
docs/libsys/Main.html Zobrazit soubor

@@ -0,0 +1,278 @@
<!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: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">
<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="Main (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static 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="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="../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/MainGUI.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 Main" class="title">Class Main</h2>
</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>
<ul class="inheritance">
<li>libsys.Main</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<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>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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/Main.html#Main--">Main</a></span>()</code>&nbsp;</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="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>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>
<div class="block">Start the applicationn</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.<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>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Main--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Main</h4>
<pre>public&nbsp;Main()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="main-java.lang.String:A-">
<!-- -->
</a>
<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>
<div class="block">Start the applicationn</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>args</code> - </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="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="../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/MainGUI.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 408
- 0
docs/libsys/MainGUI.html
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 484
- 0
docs/libsys/NewBookDialog.html
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 484
- 0
docs/libsys/NewUserDialog.html
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 445
- 0
docs/libsys/RentDialog.html
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 448
- 0
docs/libsys/ReturnDialog.html
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 405
- 0
docs/libsys/Settings.html Zobrazit soubor

@@ -0,0 +1,405 @@
<!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: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">
<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="Settings (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
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";
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="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="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/ReturnDialog.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/SettingsDialog.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 Settings" class="title">Class Settings</h2>
</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>
<ul class="inheritance">
<li>libsys.Settings</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<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>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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/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>
<div class="block">Creates new Settings importing information from the given file name</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><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>
<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="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>
<div class="block">Change the file name for the Books</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/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>
<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>
<div class="block">Change the file name for the Users</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<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>
<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>
</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>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Settings-java.lang.String-">
<!-- -->
</a>
<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>
<div class="block">Creates new Settings importing information from the given file name</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>settingsFileName</code> - File name of existing settings stored</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="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>
<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>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Amount of keys</dd>
</dl>
</li>
</ul>
<a name="getKey-int-">
<!-- -->
</a>
<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>
<div class="block">Get the field name from that specific location in the array list</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>location</code> - Location of the field in the array list</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The field name</dd>
</dl>
</li>
</ul>
<a name="get-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>
<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>
</dl>
</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>
<div class="block">Change the title of the application</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newTitle</code> - New Title</dd>
</dl>
</li>
</ul>
<a name="setUsersFilename-java.lang.String-">
<!-- -->
</a>
<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>
<div class="block">Change the file name for the Users</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newUsersFilename</code> - New file name for Users</dd>
</dl>
</li>
</ul>
<a name="setBooksFilename-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<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>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newBooksFilename</code> - New file name for Books</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="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="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../libsys/ReturnDialog.html" title="class in libsys"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../libsys/SettingsDialog.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 507
- 0
docs/libsys/SettingsDialog.html
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 483
- 0
docs/libsys/User.html Zobrazit soubor

@@ -0,0 +1,483 @@
<!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>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="User (LibrarySystem 1.0 API)";
}
}
catch(err) {
}
//-->
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";
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="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="../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/UserFactory.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 User" class="title">Class User</h2>
</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>
<ul class="inheritance">
<li>libsys.User</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<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>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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/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,
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,
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>
<div class="block">Creates a new User with name, id, limit and books (usually used to initialize from database)</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>int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#bookStatus--">bookStatus</a></span>()</code>
<div class="block">Get Book ids of the books</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>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>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#getId--">getId</a></span>()</code>
<div class="block">Gets id of this User</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#getLimit--">getLimit</a></span>()</code>
<div class="block">Gets limit of Book this User can borrow</div>
</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="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="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>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#setLimit-int-">setLimit</a></span>(int&nbsp;limit)</code>
<div class="block">Change limit of this User</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/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>
<div class="block">Change name of this User</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../libsys/User.html#status--">status</a></span>()</code>
<div class="block">Check status of the User</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.<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>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="User-java.lang.String-int-int-">
<!-- -->
</a>
<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,
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>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Name of this User</dd>
<dd><code>id</code> - id of this User</dd>
<dd><code>limit</code> - Limit of Book this User can borrow</dd>
</dl>
</li>
</ul>
<a name="User-java.lang.String-int-int-java.util.ArrayList-">
<!-- -->
</a>
<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,
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>
<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>
<dd><code>name</code> - Name of this User</dd>
<dd><code>id</code> - id of this User</dd>
<dd><code>limit</code> - Limit of Book this User can borrow</dd>
<dd><code>books</code> - ArrayList of Book ids borrowed by the User</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="getName--">
<!-- -->
</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>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Name</dd>
</dl>
</li>
</ul>
<a name="getId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getId</h4>
<pre>public&nbsp;int&nbsp;getId()</pre>
<div class="block">Gets id of this User</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>id</dd>
</dl>
</li>
</ul>
<a name="getLimit--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLimit</h4>
<pre>public&nbsp;int&nbsp;getLimit()</pre>
<div class="block">Gets limit of Book this User can borrow</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Book borrowing limit</dd>
</dl>
</li>
</ul>
<a name="setName-java.lang.String-">
<!-- -->
</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>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - New name of the User</dd>
</dl>
</li>
</ul>
<a name="setLimit-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>
<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>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>If the User is already at the borrowing limit</dd>
</dl>
</li>
</ul>
<a name="bookStatus--">
<!-- -->
</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>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<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>public&nbsp;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>
<a name="returnBook-int-">
<!-- -->
</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>
<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>
</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="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="../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/UserFactory.html" title="class in libsys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 408
- 0
docs/libsys/UserFactory.html Zobrazit soubor

@@ -0,0 +1,408 @@
<!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>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="UserFactory (LibrarySystem 1.0 API)";
}
}
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="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="../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>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 UserFactory" class="title">Class UserFactory</h2>
</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>
<ul class="inheritance">
<li>libsys.UserFactory</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<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>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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/UserFactory.html#UserFactory--">UserFactory</a></span>()</code>
<div class="block">Create a new empty UserFactory</div>
</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>
<div class="block">Create a new UserFactory and fill it with information from a JSON file</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><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>
<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,
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>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>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">
<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>
<div class="block">Replacing a User in the array list with a new User</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.<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>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="UserFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UserFactory</h4>
<pre>public&nbsp;UserFactory()</pre>
<div class="block">Create a new empty UserFactory</div>
</li>
</ul>
<a name="UserFactory-java.lang.String-">
<!-- -->
</a>
<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>
<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>
<dd><code>userFilename</code> - Name of the input JSON file</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="toJsonFile--">
<!-- -->
</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>
</li>
</ul>
<a name="setUserFileName-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>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userFilename</code> - The new filename</dd>
</dl>
</li>
</ul>
<a name="newUser-java.lang.String-int-">
<!-- -->
</a>
<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>
<div class="block">Adds a new User into this class</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Name of the User</dd>
<dd><code>limit</code> - Limit of Book the User can borrow</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new User that is just created</dd>
</dl>
</li>
</ul>
<a name="getUser-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(<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>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<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>
<a name="getUser-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(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="update-libsys.User-libsys.User-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>update</h4>
<pre>public&nbsp;void&nbsp;update(<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)</pre>
<div class="block">Replacing a User in the array list with a new User</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>oldUser</code> - User to be replaced</dd>
<dd><code>newUser</code> - User replacing it</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="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="../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>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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="#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 ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>

+ 195
- 0
docs/libsys/class-use/Book.html Zobrazit soubor

@@ -0,0 +1,195 @@
<!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>

+ 152
- 0
docs/libsys/class-use/BookFactory.html Zobrazit soubor

@@ -0,0 +1,152 @@
<!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>

+ 124
- 0
docs/libsys/class-use/EditBookDialog.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 124
- 0
docs/libsys/class-use/EditUserDialog.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 124
- 0
docs/libsys/class-use/Main.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 124
- 0
docs/libsys/class-use/MainGUI.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 124
- 0
docs/libsys/class-use/NewBookDialog.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 124
- 0
docs/libsys/class-use/NewUserDialog.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 124
- 0
docs/libsys/class-use/RentDialog.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 124
- 0
docs/libsys/class-use/ReturnDialog.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 157
- 0
docs/libsys/class-use/Settings.html Zobrazit soubor

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

+ 124
- 0
docs/libsys/class-use/SettingsDialog.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 196
- 0
docs/libsys/class-use/User.html Zobrazit soubor

@@ -0,0 +1,196 @@
<!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>

+ 124
- 0
docs/libsys/class-use/UserFactory.html Zobrazit soubor

@@ -0,0 +1,124 @@
<!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>

+ 34
- 0
docs/libsys/package-frame.html Zobrazit soubor

@@ -0,0 +1,34 @@
<!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>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>
<h1 class="bar"><a href="../libsys/package-summary.html" target="classFrame">libsys</a></h1>
<div class="indexContainer">
<h2 title="Classes">Classes</h2>
<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="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="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>
<li><a href="NewUserDialog.html" title="class in libsys" target="classFrame">NewUserDialog</a></li>
<li><a href="RentDialog.html" title="class in libsys" target="classFrame">RentDialog</a></li>
<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="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>
</ul>
</div>
</body>
</html>

+ 194
- 0
docs/libsys/package-summary.html Zobrazit soubor

@@ -0,0 +1,194 @@
<!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>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="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><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="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Package</li>
<li>Next&nbsp;Package</li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.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="Package" class="title">Package&nbsp;libsys</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/Book.html" title="class in libsys">Book</a></td>
<td class="colLast">&nbsp;</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>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/EditBookDialog.html" title="class in libsys">EditBookDialog</a></td>
<td class="colLast">&nbsp;</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>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/Main.html" title="class in libsys">Main</a></td>
<td class="colLast">&nbsp;</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>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/NewBookDialog.html" title="class in libsys">NewBookDialog</a></td>
<td class="colLast">&nbsp;</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>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/RentDialog.html" title="class in libsys">RentDialog</a></td>
<td class="colLast">&nbsp;</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>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/Settings.html" title="class in libsys">Settings</a></td>
<td class="colLast">&nbsp;</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>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../libsys/User.html" title="class in libsys">User</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../libsys/UserFactory.html" title="class in libsys">UserFactory</a></td>
<td class="colLast">&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><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="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Package</li>
<li>Next&nbsp;Package</li>
</ul>
<ul class="navList">
<li><a href="../index.html?libsys/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.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>

+ 174
- 0
docs/libsys/package-tree.html Zobrazit soubor

@@ -0,0 +1,174 @@
<!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>libsys Class Hierarchy (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="libsys Class Hierarchy (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 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="../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-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.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 class="title">Hierarchy For Package libsys</h1>
</div>
<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>
<ul>
<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>)
<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>
<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>)
<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>
<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>)
<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>
<li type="circle">libsys.<a href="../libsys/NewBookDialog.html" title="class in libsys"><span class="typeNameLink">NewBookDialog</span></a></li>
<li type="circle">libsys.<a href="../libsys/NewUserDialog.html" title="class in libsys"><span class="typeNameLink">NewUserDialog</span></a></li>
<li type="circle">libsys.<a href="../libsys/RentDialog.html" title="class in libsys"><span class="typeNameLink">RentDialog</span></a></li>
<li type="circle">libsys.<a href="../libsys/ReturnDialog.html" title="class in libsys"><span class="typeNameLink">ReturnDialog</span></a></li>
<li type="circle">libsys.<a href="../libsys/SettingsDialog.html" title="class in libsys"><span class="typeNameLink">SettingsDialog</span></a></li>
</ul>
</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>)
<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>)
<ul>
<li type="circle">libsys.<a href="../libsys/MainGUI.html" title="class in libsys"><span class="typeNameLink">MainGUI</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</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>
<li type="circle">libsys.<a href="../libsys/UserFactory.html" title="class in libsys"><span class="typeNameLink">UserFactory</span></a></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>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="../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-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.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>

+ 151
- 0
docs/libsys/package-use.html Zobrazit soubor

@@ -0,0 +1,151 @@
<!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>

+ 178
- 0
docs/overview-tree.html Zobrazit soubor

@@ -0,0 +1,178 @@
<!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>Class Hierarchy (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="Class Hierarchy (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 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="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?overview-tree.html" target="_top">Frames</a></li>
<li><a href="overview-tree.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 class="title">Hierarchy For All Packages</h1>
<span class="packageHierarchyLabel">Package Hierarchies:</span>
<ul class="horizontal">
<li><a href="libsys/package-tree.html">libsys</a></li>
</ul>
</div>
<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>
<ul>
<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>)
<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>
<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>)
<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>
<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>)
<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>
<li type="circle">libsys.<a href="libsys/NewBookDialog.html" title="class in libsys"><span class="typeNameLink">NewBookDialog</span></a></li>
<li type="circle">libsys.<a href="libsys/NewUserDialog.html" title="class in libsys"><span class="typeNameLink">NewUserDialog</span></a></li>
<li type="circle">libsys.<a href="libsys/RentDialog.html" title="class in libsys"><span class="typeNameLink">RentDialog</span></a></li>
<li type="circle">libsys.<a href="libsys/ReturnDialog.html" title="class in libsys"><span class="typeNameLink">ReturnDialog</span></a></li>
<li type="circle">libsys.<a href="libsys/SettingsDialog.html" title="class in libsys"><span class="typeNameLink">SettingsDialog</span></a></li>
</ul>
</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>)
<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>)
<ul>
<li type="circle">libsys.<a href="libsys/MainGUI.html" title="class in libsys"><span class="typeNameLink">MainGUI</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</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>
<li type="circle">libsys.<a href="libsys/UserFactory.html" title="class in libsys"><span class="typeNameLink">UserFactory</span></a></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>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="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?overview-tree.html" target="_top">Frames</a></li>
<li><a href="overview-tree.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>

+ 1
- 0
docs/package-list Zobrazit soubor

@@ -0,0 +1 @@
libsys

+ 30
- 0
docs/script.js Zobrazit soubor

@@ -0,0 +1,30 @@
function show(type)
{
count = 0;
for (var key in methods) {
var row = document.getElementById(key);
if ((methods[key] & type) != 0) {
row.style.display = '';
row.className = (count++ % 2) ? rowColor : altColor;
}
else
row.style.display = 'none';
}
updateTabs(type);
}

function updateTabs(type)
{
for (var value in tabs) {
var sNode = document.getElementById(tabs[value][0]);
var spanNode = sNode.firstChild;
if (value == type) {
sNode.className = activeTableTab;
spanNode.innerHTML = tabs[value][1];
}
else {
sNode.className = tableTab;
spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
}
}
}

+ 664
- 0
docs/serialized-form.html Zobrazit soubor

@@ -0,0 +1,664 @@
<!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>Serialized Form (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="Serialized Form (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><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?serialized-form.html" target="_top">Frames</a></li>
<li><a href="serialized-form.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="Serialized Form" class="title">Serialized Form</h1>
</div>
<div class="serializedFormContainer">
<ul class="blockList">
<li class="blockList">
<h2 title="Package">Package&nbsp;libsys</h2>
<ul class="blockList">
<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>
<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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</li>
<li class="blockList">
<h4>book</h4>
<pre><a href="libsys/Book.html" title="class in libsys">Book</a> book</pre>
</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>
</li>
<li class="blockListLast">
<h4>returnStatus</h4>
<pre>boolean returnStatus</pre>
</li>
</ul>
</li>
</ul>
</li>
<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>
<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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</li>
<li class="blockList">
<h4>user</h4>
<pre><a href="libsys/User.html" title="class in libsys">User</a> user</pre>
</li>
<li class="blockList">
<h4>books</h4>
<pre><a href="libsys/BookFactory.html" title="class in libsys">BookFactory</a> books</pre>
</li>
<li class="blockList">
<h4>returnStatus</h4>
<pre>boolean returnStatus</pre>
</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>
</li>
<li class="blockListLast">
<h4>newLimit</h4>
<pre>int newLimit</pre>
</li>
</ul>
</li>
</ul>
</li>
<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>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>handler</h4>
<pre>libsys.Handler handler</pre>
</li>
<li class="blockList">
<h4>settings</h4>
<pre><a href="libsys/Settings.html" title="class in libsys">Settings</a> settings</pre>
</li>
<li class="blockList">
<h4>book</h4>
<pre><a href="libsys/Book.html" title="class in libsys">Book</a> book</pre>
</li>
<li class="blockList">
<h4>user</h4>
<pre><a href="libsys/User.html" title="class in libsys">User</a> user</pre>
</li>
<li class="blockList">
<h4>bookExist</h4>
<pre>boolean bookExist</pre>
</li>
<li class="blockList">
<h4>userExist</h4>
<pre>boolean userExist</pre>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</li>
</ul>
</li>
</ul>
</li>
<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>
<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>
</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>
</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>
</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>
</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>
</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>
</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>
</li>
<li class="blockList">
<h4>returnStatus</h4>
<pre>int returnStatus</pre>
</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>
</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>
</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>
</li>
</ul>
</li>
</ul>
</li>
<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>
<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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</li>
<li class="blockList">
<h4>returnStatus</h4>
<pre>int returnStatus</pre>
</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>
</li>
<li class="blockListLast">
<h4>limit</h4>
<pre>int limit</pre>
</li>
</ul>
</li>
</ul>
</li>
<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>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>handler</h4>
<pre>libsys.Handler 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>
</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>
</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>
</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>
</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>
</li>
<li class="blockListLast">
<h4>returnStatus</h4>
<pre>int returnStatus</pre>
</li>
</ul>
</li>
</ul>
</li>
<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>
<ul class="blockList">
<li class="blockList">
<h3>Serialized Fields</h3>
<ul class="blockList">
<li class="blockList">
<h4>handler</h4>
<pre>libsys.Handler handler</pre>
</li>
<li class="blockList">
<h4>id</h4>
<pre>int id</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>
</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>
</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>
</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>
</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>
</li>
<li class="blockListLast">
<h4>returnStatus</h4>
<pre>int returnStatus</pre>
</li>
</ul>
</li>
</ul>
</li>
<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>
<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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</li>
<li class="blockList">
<h4>returnStatus</h4>
<pre>int returnStatus</pre>
</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>
</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>
</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>
</li>
<li class="blockListLast">
<h4>preset</h4>
<pre><a href="libsys/Settings.html" title="class in libsys">Settings</a> preset</pre>
</li>
</ul>
</li>
</ul>
</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>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="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?serialized-form.html" target="_top">Frames</a></li>
<li><a href="serialized-form.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>

+ 574
- 0
docs/stylesheet.css Zobrazit soubor

@@ -0,0 +1,574 @@
/* Javadoc style sheet */
/*
Overall document style
*/

@import url('resources/fonts/dejavu.css');

body {
background-color:#ffffff;
color:#353833;
font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
font-size:14px;
margin:0;
}
a:link, a:visited {
text-decoration:none;
color:#4A6782;
}
a:hover, a:focus {
text-decoration:none;
color:#bb7a2a;
}
a:active {
text-decoration:none;
color:#4A6782;
}
a[name] {
color:#353833;
}
a[name]:hover {
text-decoration:none;
color:#353833;
}
pre {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
}
h1 {
font-size:20px;
}
h2 {
font-size:18px;
}
h3 {
font-size:16px;
font-style:italic;
}
h4 {
font-size:13px;
}
h5 {
font-size:12px;
}
h6 {
font-size:11px;
}
ul {
list-style-type:disc;
}
code, tt {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
padding-top:4px;
margin-top:8px;
line-height:1.4em;
}
dt code {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
padding-top:4px;
}
table tr td dt code {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
vertical-align:top;
padding-top:4px;
}
sup {
font-size:8px;
}
/*
Document title and Copyright styles
*/
.clear {
clear:both;
height:0px;
overflow:hidden;
}
.aboutLanguage {
float:right;
padding:0px 21px;
font-size:11px;
z-index:200;
margin-top:-9px;
}
.legalCopy {
margin-left:.5em;
}
.bar a, .bar a:link, .bar a:visited, .bar a:active {
color:#FFFFFF;
text-decoration:none;
}
.bar a:hover, .bar a:focus {
color:#bb7a2a;
}
.tab {
background-color:#0066FF;
color:#ffffff;
padding:8px;
width:5em;
font-weight:bold;
}
/*
Navigation bar styles
*/
.bar {
background-color:#4D7A97;
color:#FFFFFF;
padding:.8em .5em .4em .8em;
height:auto;/*height:1.8em;*/
font-size:11px;
margin:0;
}
.topNav {
background-color:#4D7A97;
color:#FFFFFF;
float:left;
padding:0;
width:100%;
clear:right;
height:2.8em;
padding-top:10px;
overflow:hidden;
font-size:12px;
}
.bottomNav {
margin-top:10px;
background-color:#4D7A97;
color:#FFFFFF;
float:left;
padding:0;
width:100%;
clear:right;
height:2.8em;
padding-top:10px;
overflow:hidden;
font-size:12px;
}
.subNav {
background-color:#dee3e9;
float:left;
width:100%;
overflow:hidden;
font-size:12px;
}
.subNav div {
clear:left;
float:left;
padding:0 0 5px 6px;
text-transform:uppercase;
}
ul.navList, ul.subNavList {
float:left;
margin:0 25px 0 0;
padding:0;
}
ul.navList li{
list-style:none;
float:left;
padding: 5px 6px;
text-transform:uppercase;
}
ul.subNavList li{
list-style:none;
float:left;
}
.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
color:#FFFFFF;
text-decoration:none;
text-transform:uppercase;
}
.topNav a:hover, .bottomNav a:hover {
text-decoration:none;
color:#bb7a2a;
text-transform:uppercase;
}
.navBarCell1Rev {
background-color:#F8981D;
color:#253441;
margin: auto 5px;
}
.skipNav {
position:absolute;
top:auto;
left:-9999px;
overflow:hidden;
}
/*
Page header and footer styles
*/
.header, .footer {
clear:both;
margin:0 20px;
padding:5px 0 0 0;
}
.indexHeader {
margin:10px;
position:relative;
}
.indexHeader span{
margin-right:15px;
}
.indexHeader h1 {
font-size:13px;
}
.title {
color:#2c4557;
margin:10px 0;
}
.subTitle {
margin:5px 0 0 0;
}
.header ul {
margin:0 0 15px 0;
padding:0;
}
.footer ul {
margin:20px 0 5px 0;
}
.header ul li, .footer ul li {
list-style:none;
font-size:13px;
}
/*
Heading styles
*/
div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
background-color:#dee3e9;
border:1px solid #d0d9e0;
margin:0 0 6px -8px;
padding:7px 5px;
}
ul.blockList ul.blockList ul.blockList li.blockList h3 {
background-color:#dee3e9;
border:1px solid #d0d9e0;
margin:0 0 6px -8px;
padding:7px 5px;
}
ul.blockList ul.blockList li.blockList h3 {
padding:0;
margin:15px 0;
}
ul.blockList li.blockList h2 {
padding:0px 0 20px 0;
}
/*
Page layout container styles
*/
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
clear:both;
padding:10px 20px;
position:relative;
}
.indexContainer {
margin:10px;
position:relative;
font-size:12px;
}
.indexContainer h2 {
font-size:13px;
padding:0 0 3px 0;
}
.indexContainer ul {
margin:0;
padding:0;
}
.indexContainer ul li {
list-style:none;
padding-top:2px;
}
.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
font-size:12px;
font-weight:bold;
margin:10px 0 0 0;
color:#4E4E4E;
}
.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
margin:5px 0 10px 0px;
font-size:14px;
font-family:'DejaVu Sans Mono',monospace;
}
.serializedFormContainer dl.nameValue dt {
margin-left:1px;
font-size:1.1em;
display:inline;
font-weight:bold;
}
.serializedFormContainer dl.nameValue dd {
margin:0 0 0 1px;
font-size:1.1em;
display:inline;
}
/*
List styles
*/
ul.horizontal li {
display:inline;
font-size:0.9em;
}
ul.inheritance {
margin:0;
padding:0;
}
ul.inheritance li {
display:inline;
list-style:none;
}
ul.inheritance li ul.inheritance {
margin-left:15px;
padding-left:15px;
padding-top:1px;
}
ul.blockList, ul.blockListLast {
margin:10px 0 10px 0;
padding:0;
}
ul.blockList li.blockList, ul.blockListLast li.blockList {
list-style:none;
margin-bottom:15px;
line-height:1.4;
}
ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
padding:0px 20px 5px 10px;
border:1px solid #ededed;
background-color:#f8f8f8;
}
ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
padding:0 0 5px 8px;
background-color:#ffffff;
border:none;
}
ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
margin-left:0;
padding-left:0;
padding-bottom:15px;
border:none;
}
ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
list-style:none;
border-bottom:none;
padding-bottom:0;
}
table tr td dl, table tr td dl dt, table tr td dl dd {
margin-top:0;
margin-bottom:1px;
}
/*
Table styles
*/
.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary {
width:100%;
border-left:1px solid #EEE;
border-right:1px solid #EEE;
border-bottom:1px solid #EEE;
}
.overviewSummary, .memberSummary {
padding:0px;
}
.overviewSummary caption, .memberSummary caption, .typeSummary caption,
.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
position:relative;
text-align:left;
background-repeat:no-repeat;
color:#253441;
font-weight:bold;
clear:none;
overflow:hidden;
padding:0px;
padding-top:10px;
padding-left:1px;
margin:0px;
white-space:pre;
}
.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link,
.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active,
.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited {
color:#FFFFFF;
}
.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {
white-space:nowrap;
padding-top:5px;
padding-left:12px;
padding-right:12px;
padding-bottom:7px;
display:inline-block;
float:left;
background-color:#F8981D;
border: none;
height:16px;
}
.memberSummary caption span.activeTableTab span {
white-space:nowrap;
padding-top:5px;
padding-left:12px;
padding-right:12px;
margin-right:3px;
display:inline-block;
float:left;
background-color:#F8981D;
height:16px;
}
.memberSummary caption span.tableTab span {
white-space:nowrap;
padding-top:5px;
padding-left:12px;
padding-right:12px;
margin-right:3px;
display:inline-block;
float:left;
background-color:#4D7A97;
height:16px;
}
.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {
padding-top:0px;
padding-left:0px;
padding-right:0px;
background-image:none;
float:none;
display:inline;
}
.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
display:none;
width:5px;
position:relative;
float:left;
background-color:#F8981D;
}
.memberSummary .activeTableTab .tabEnd {
display:none;
width:5px;
margin-right:3px;
position:relative;
float:left;
background-color:#F8981D;
}
.memberSummary .tableTab .tabEnd {
display:none;
width:5px;
margin-right:3px;
position:relative;
background-color:#4D7A97;
float:left;

}
.overviewSummary td, .memberSummary td, .typeSummary td,
.useSummary td, .constantsSummary td, .deprecatedSummary td {
text-align:left;
padding:0px 0px 12px 10px;
}
th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
vertical-align:top;
padding-right:0px;
padding-top:8px;
padding-bottom:3px;
}
th.colFirst, th.colLast, th.colOne, .constantsSummary th {
background:#dee3e9;
text-align:left;
padding:8px 3px 3px 7px;
}
td.colFirst, th.colFirst {
white-space:nowrap;
font-size:13px;
}
td.colLast, th.colLast {
font-size:13px;
}
td.colOne, th.colOne {
font-size:13px;
}
.overviewSummary td.colFirst, .overviewSummary th.colFirst,
.useSummary td.colFirst, .useSummary th.colFirst,
.overviewSummary td.colOne, .overviewSummary th.colOne,
.memberSummary td.colFirst, .memberSummary th.colFirst,
.memberSummary td.colOne, .memberSummary th.colOne,
.typeSummary td.colFirst{
width:25%;
vertical-align:top;
}
td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
font-weight:bold;
}
.tableSubHeadingColor {
background-color:#EEEEFF;
}
.altColor {
background-color:#FFFFFF;
}
.rowColor {
background-color:#EEEEEF;
}
/*
Content styles
*/
.description pre {
margin-top:0;
}
.deprecatedContent {
margin:0;
padding:10px 0;
}
.docSummary {
padding:0;
}

ul.blockList ul.blockList ul.blockList li.blockList h3 {
font-style:normal;
}

div.block {
font-size:14px;
font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
}

td.colLast div {
padding-top:0px;
}


td.colLast a {
padding-bottom:3px;
}
/*
Formatting effect styles
*/
.sourceLineNo {
color:green;
padding:0 30px 0 0;
}
h1.hidden {
visibility:hidden;
overflow:hidden;
font-size:10px;
}
.block {
display:block;
margin:3px 10px 2px 0px;
color:#474747;
}
.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
font-weight:bold;
}
.deprecationComment, .emphasizedPhrase, .interfaceName {
font-style:italic;
}

div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase,
div.block div.block span.interfaceName {
font-style:normal;
}

div.contentContainer ul.blockList li.blockList h2{
padding-bottom:0px;
}

+ 52
- 12
src/main/java/libsys/Book.java Zobrazit soubor

@@ -1,28 +1,32 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 5/30/2017
* Last edited : 6/4/2017
*/

class Book
public class Book
{
//Declaring variable storages
//Book title
private String title;
//Book ID
private int id;
//( AVAILABLE || RENTED || RESERVED || NOT AVAILABLE)
private String status;
//Book due date
private int[] dueDate = new int[3];

//Constructor without book title
/**
* Create new Book with given id (Usually used as placeholders)
* @param id Identification number of the Book
*/
public Book(int id)
{
this.id = id;
this.status = "NOT AVAILABLE";
}

/**
* Create new Book with given title, id and status (Usually used for new Book creation)
* @param title Title of the Book
* @param id Identification number of the Book
* @param status Status of the Book
*/
public Book(String title, int id, String status)
{
this.title = title;
@@ -30,6 +34,13 @@ class Book
this.status = status;
}

/**
* Create new Book with given id, title, status and dueDate (Usually used for initialization from database)
* @param id Identification number of the Book
* @param title Title of the Book
* @param status Status of the Book
* @param dueDate Due date of the Book
*/
public Book(int id, String title, String status, int[] dueDate)
{
this.title = title;
@@ -38,7 +49,10 @@ class Book
this.dueDate = dueDate;
}

//Getters and setters
/**
* Returns the title of the Book
* @return title
*/
public String getTitle()
{
if (title!=null)
@@ -49,27 +63,47 @@ class Book
}
}

/**
* Returns the status of the Book
* @return status (AVAILABLE || RENTED || RESERVED || NOT AVAILABLE)
*/
public String getStatus()
{
return status;
}

/**
* Returns the id of the Book
* @return id
*/
public int getId()
{
return id;
}

/**
* Returns the due date of the Book
* @return due date ([yyyy][mm][dd])
*/
public int[] getDueDate()
{
return dueDate;
}

/**
* Set the title to the given title
* @param title The new title of the Book
*/
public void setTitle(String title)
{
this.title = title;
}

//Call to rent book, return if renting is successful
/**
* Call to rent book, return if renting is successful
* @param dueDate The new due date of the Book
* @return if renting is successful
*/
public boolean rent(int[] dueDate)
{
//Check if the book is available to be rented
@@ -85,14 +119,20 @@ class Book
return true;
}

//Call to return the book
/**
* Return the Book to the shelf
*/
public void returned()
{
//Update book status
status = "AVAILABLE";
}

//Calculate the overdue fine
/**
* Calculate the overdue fine
* @param currentDay Today's date
* @return Price of the fine
*/
public double overdueFine(int[] currentDay)
{
double fine;


+ 55
- 4
src/main/java/libsys/BookFactory.java Zobrazit soubor

@@ -1,7 +1,7 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 5/30/2017
* Last edited : 6/4/2017
*/

import java.util.List;
@@ -16,17 +16,25 @@ import java.io.File;
import java.util.Enumeration;
import java.io.Serializable;

class BookFactory
public class BookFactory
{
private List<Book> books = new ArrayList<Book>();
private int id;
private String bookFilename;

/**
* Create a new empty BookFactory
*/
public BookFactory()
{
id = 0;
bookFilename = "books.json";
}

/**
* Create a new BookFactory and fill it with information from a JSON file
* @param bookFilename Name of the input JSON file
*/
public BookFactory(String bookFilename)
{
try
@@ -51,16 +59,20 @@ class BookFactory
books.add(new Book(id, title, status, dueDate));
}
in.close();
id = books.get(books.size() - 1).getId() + 1;
}
catch (Exception ex)
{
System.out.println(ex.getMessage());
id = 0;
}

this.bookFilename = bookFilename;
id = books.get(books.size() - 1).getId() + 1;
}

/**
* Output the data into a JSON file replacing the input file (or if filename not given, "books.json")
*/
public void toJsonFile()
{
try
@@ -86,11 +98,21 @@ class BookFactory
}
}

/**
* Update the output filename for the object
* @param bookFilename The new filename
*/
public void setBookFileName(String bookFilename)
{
this.bookFilename = bookFilename;
}

/**
* Adds a new Book into this class
* @param title Title of the Book
* @param status Status of the Book
* @return The new Book that is just created
*/
public Book newBook(String title, String status)
{
Book temp = new Book(title, id, status);
@@ -102,12 +124,24 @@ class BookFactory
return temp;
}

/**
* Looks for a Book with the given id
* @param index id of the Book to be found
* @return Book with the given id
*/
public Book getBook(int index)
{
return search(index, 0, books.size() - 1);
}

public Book search(int index, int start, int end)
/**
* Recursive binary search through the array list for the Book with the given id
* @param index id of the Book to be found
* @param start Starting point to search
* @param end Ending point to search
* @return Book with the given id
*/
private Book search(int index, int start, int end)
{
if (start == end && books.get(start).getId() == index)
{
@@ -135,6 +169,11 @@ class BookFactory
}
}

/**
* Linear search through the array list for Book with the given Title
* @param title Title of the Book to be found
* @return Book with the given title
*/
public Book getBook(String title)
{
for (int i = 0; i < books.size(); i++)
@@ -150,8 +189,14 @@ class BookFactory
throw new NullPointerException();
}

/**
* Replacing a Book in the array list with a new Book
* @param oldBook Book to be replaced
* @param newBook Book replacing it
*/
public void update(Book oldBook, Book newBook)
{
boolean found = false;
for (int i = 0; i < books.size(); i++)
{
Book temp = books.get(i);
@@ -159,9 +204,15 @@ class BookFactory
if(temp.getId() == oldBook.getId())
{
books.set(i, newBook);
found = true;
}
}

if (!found)
{
throw new NullPointerException();
}

toJsonFile();
}
}

+ 22
- 4
src/main/java/libsys/EditBookDialog.java Zobrazit soubor

@@ -1,7 +1,18 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 6/4/2017
*/

@SuppressWarnings({"unchecked", "serial"})
public class EditBookDialog extends javax.swing.JDialog {

/**
* Create new EditBookDialog
* @param parent java.awt.Frame
* @param modal boolean
* @param book Book
*/
public EditBookDialog(java.awt.Frame parent, boolean modal, Book book) {
super(parent, modal);
initComponents();
@@ -9,7 +20,6 @@ public class EditBookDialog extends javax.swing.JDialog {
init();
}

@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

@@ -113,7 +123,7 @@ public class EditBookDialog extends javax.swing.JDialog {
statusLbl.setText("Status : " + book.getStatus());
nameTxtField.setText(book.getTitle());
}
private void doClose(boolean toReturn)
{
if (toReturn)
@@ -124,12 +134,20 @@ public class EditBookDialog extends javax.swing.JDialog {
setVisible(false);
dispose();
}

/**
* Returns the name from the nameTxtField
* @return new Book name
*/
public String getNewName()
{
return newName;
}

/**
* Returns if the user selected "Save" or "Cancel"
* @return T:"Save"|F:"Cancel"
*/
public boolean getReturnStatus()
{
return returnStatus;


+ 26
- 11
src/main/java/libsys/EditUserDialog.java Zobrazit soubor

@@ -1,9 +1,18 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 6/4/2017
*/

@SuppressWarnings({"unchecked", "serial"})
public class EditUserDialog extends javax.swing.JDialog {

/**
* Creates new form EditUserDialog
* Creates new EditUserDialog
* @param parent java.awt.Frame
* @param modal boolean
* @param user User
* @param books BookFactory
*/
public EditUserDialog(java.awt.Frame parent, boolean modal, User user, BookFactory books) {
super(parent, modal);
@@ -13,12 +22,6 @@ public class EditUserDialog extends javax.swing.JDialog {
init();
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

@@ -141,7 +144,7 @@ public class EditUserDialog extends javax.swing.JDialog {
limitTxtField.setText(String.valueOf(user.getLimit()));
nameTxtField.setText(user.getName());
}
private void doClose(boolean toReturn)
{
if (toReturn)
@@ -161,17 +164,29 @@ public class EditUserDialog extends javax.swing.JDialog {
setVisible(false);
dispose();
}

/**
* Returns if the user selected "Save" or "Cancel"
* @return T:"Save"|F:"Cancel"
*/
public boolean getReturnStatus()
{
return returnStatus;
}

/**
* Returns the name from the nameTxtField
* @return new User name
*/
public String getNewName()
{
return newName;
}

/**
* Returns the limit from the limitTxtField
* @return new User limit
*/
public int getNewLimit()
{
return newLimit;


+ 31
- 2
src/main/java/libsys/Handler.java Zobrazit soubor

@@ -1,7 +1,7 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 5/28/2017
* Last edited : 6/4/2017
*/

import java.util.Calendar;
@@ -14,11 +14,20 @@ class Handler
UserFactory users;
Calendar cal = Calendar.getInstance();

/**
* Creates new empty Handler
*/
public Handler()
{

}

/**
* Given User borrows the given Book
* @param user User borrowing the Book
* @param book Book to be borrowed
* @return If the borrow operation is successful
*/
public boolean borrowBook(User user, Book book)
{
User newUser = user;
@@ -35,6 +44,12 @@ class Handler
return false;
}

/**
* Given User returns the given Book
* @param user User returning the Book
* @param book Book to be returned
* @return If the return operation is successful
*/
public boolean returnBook(User user, Book book)
{
User newUser = user;
@@ -53,6 +68,11 @@ class Handler
return false;
}

/**
* Calculating the due date
* @param days Amount of days to be borrowed
* @return Amount of days added to the current day
*/
public int[] calDueDate(int days)
{
int[] dueDate = currentDay();
@@ -122,7 +142,11 @@ class Handler
return dueDate;
}

public int[] currentDay()
/**
* Returns the current date in an int array
* @return date in ([YYYY][MM][DD]) format
*/
private int[] currentDay()
{
int[] currentDay = new int[3];

@@ -133,6 +157,11 @@ class Handler
return currentDay;
}

/**
* 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 "; "
*/
public String bookIdsToTitlesString(int[] bookIDs)
{
String titlesString = "";


+ 6
- 2
src/main/java/libsys/Main.java Zobrazit soubor

@@ -1,15 +1,19 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 6/2/2017
* Last edited : 6/4/2017
*/

class Main
public class Main
{
static Settings settings = new Settings("settings.txt");
static String bookFilename = settings.get("Books Filename");
static String userFilename = settings.get("Users Filename");

/**
* Start the applicationn
* @param args
*/
public static void main(String[] args)
{
Handler handler = new Handler();


+ 16
- 8
src/main/java/libsys/MainGUI.java Zobrazit soubor

@@ -1,11 +1,14 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 6/4/2017
*/

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.concurrent.CountDownLatch;

@SuppressWarnings({"unchecked", "serial"})

public class MainGUI extends javax.swing.JFrame
{
Handler handler;
@@ -15,6 +18,11 @@ public class MainGUI extends javax.swing.JFrame
boolean bookExist = false;
boolean userExist = false;

/**
* Creates a new MainGUI
* @param handler Given Handler from Main
* @param settings Given Settings from Main
*/
public MainGUI(Handler handler, Settings settings)
{
this.handler = handler;
@@ -314,9 +322,9 @@ public class MainGUI extends javax.swing.JFrame

if (settingsUI.getReturnStatus() != -1)
{
settings.update(settings.getKey(0), settingsUI.getTitle());
settings.update(settings.getKey(1), settingsUI.getUsersFilename());
settings.update(settings.getKey(2), settingsUI.getBooksFilename());
settings.setTitle(settingsUI.getTitle());
settings.setUsersFilename(settingsUI.getUsersFilename());
settings.setBooksFilename(settingsUI.getBooksFilename());
nameLabel.setText(settingsUI.getTitle());
}
}//GEN-LAST:event_settingsBtnActionPerformed
@@ -338,7 +346,7 @@ public class MainGUI extends javax.swing.JFrame

if (newBookUI.getReturnStatus() != -1)
{
bookSearch.setText(String.valueOf(handler.books.newBook(newBookUI.getName(), newBookUI.getStatus()).getId()));
bookSearch.setText(String.valueOf(handler.books.newBook(newBookUI.getTitle(), newBookUI.getStatus()).getId()));
bookSearchBtnActionPerformed(evt);
}
}//GEN-LAST:event_createBookBtnActionPerformed
@@ -346,14 +354,14 @@ public class MainGUI extends javax.swing.JFrame
private void editUserBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_editUserBtnActionPerformed
EditUserDialog editUserDialog = new EditUserDialog(this, true, user, handler.books);
editUserDialog.setVisible(true);
if (editUserDialog.getReturnStatus())
{
User newUser = user;
user.setName(editUserDialog.getNewName());
user.setLimit(editUserDialog.getNewLimit());
}
userSearchBtnActionPerformed(evt);
}//GEN-LAST:event_editUserBtnActionPerformed

@@ -387,7 +395,7 @@ public class MainGUI extends javax.swing.JFrame
private void editBookBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_editBookBtnActionPerformed
EditBookDialog editBookDialog = new EditBookDialog(this, true, book);
editBookDialog.setVisible(true);
if (editBookDialog.getReturnStatus())
{
Book newBook = book;


+ 18
- 54
src/main/java/libsys/NewBookDialog.java Zobrazit soubor

@@ -1,11 +1,16 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 6/4/2017
*/

@SuppressWarnings({"unchecked", "serial", "rawtypes"})
public class NewBookDialog extends javax.swing.JDialog {

/**
* Creates new form NewBookDialog
* @param parent
* @param modal
* @param parent java.awt.Frame
* @param modal boolean
*/
public NewBookDialog(java.awt.Frame parent, boolean modal) {
super(parent, modal);
@@ -13,28 +18,30 @@ public class NewBookDialog extends javax.swing.JDialog {
}

/**
* @return the return status of this dialog - one of RET_OK or RET_CANCEL
* Get the return status
* @return -1:Cancel|1:Create
*/
public int getReturnStatus() {
return returnStatus;
}

@Override
public String getName() {
/**
* Get the name of the new Book
* @return name from titleTxtField
*/
public String getTitle() {
return name;
}

/**
* Get the status of the new Book
* @return status from statusComboBox
*/
public String getStatus()
{
return status;
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

@@ -134,49 +141,6 @@ public class NewBookDialog extends javax.swing.JDialog {
dispose();
}

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(NewBookDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(NewBookDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(NewBookDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(NewBookDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>

/* Create and display the dialog */
java.awt.EventQueue.invokeLater(new Runnable() {
@Override
public void run() {
NewBookDialog dialog = new NewBookDialog(new javax.swing.JFrame(), true);
dialog.addWindowListener(new java.awt.event.WindowAdapter() {
@Override
public void windowClosing(java.awt.event.WindowEvent e) {
System.exit(0);
}
});
dialog.setVisible(true);
}
});
}

// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton cancelBtn;
private javax.swing.JButton createBtn;


+ 17
- 49
src/main/java/libsys/NewUserDialog.java Zobrazit soubor

@@ -1,9 +1,16 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 6/4/2017
*/

@SuppressWarnings({"unchecked", "serial"})
public class NewUserDialog extends javax.swing.JDialog {

/**
* Creates new form NewUserDialog
* @param parent java.awt.Frame
* @param modal boolean
*/
public NewUserDialog(java.awt.Frame parent, boolean modal) {
super(parent, modal);
@@ -11,27 +18,30 @@ public class NewUserDialog extends javax.swing.JDialog {
}

/**
* @return the return status of this dialog - one of RET_OK or RET_CANCEL
* Get the return status
* @return -1:Cancel|1:Create
*/
public int getReturnStatus() {
return returnStatus;
}

/**
* Get the name of the new User
* @return name from nameTxtField
*/
public String getName() {
return name;
}

/**
* Get the limit of the new User
* @return limit from limitTxtField
*/
public int getLimit()
{
return limit;
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

@@ -144,48 +154,6 @@ public class NewUserDialog extends javax.swing.JDialog {
dispose();
}

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(NewUserDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(NewUserDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(NewUserDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(NewUserDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>

/* Create and display the dialog */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
NewUserDialog dialog = new NewUserDialog(new javax.swing.JFrame(), true);
dialog.addWindowListener(new java.awt.event.WindowAdapter() {
@Override
public void windowClosing(java.awt.event.WindowEvent e) {
System.exit(0);
}
});
dialog.setVisible(true);
}
});
}

// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton cancelBtn;
private javax.swing.JButton createBtn;


+ 16
- 59
src/main/java/libsys/RentDialog.java Zobrazit soubor

@@ -1,4 +1,8 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 6/4/2017
*/

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
@@ -8,16 +12,16 @@ import javax.swing.InputMap;
import javax.swing.JComponent;
import javax.swing.KeyStroke;

@SuppressWarnings({"unchecked", "serial"})
public class RentDialog extends javax.swing.JDialog {

static Handler handler = new Handler();
/**
* A return status code - returned if Cancel button has been pressed
*/
public static final int RET_CANCEL = -1;
Handler handler = new Handler();

/**
* Creates new form RentDialog
* @param parent java.awt.Frame
* @param modal boolean
* @param handler Handler
*/
public RentDialog(java.awt.Frame parent, boolean modal, Handler handler) {
super(parent, modal);
@@ -31,24 +35,19 @@ public class RentDialog extends javax.swing.JDialog {
ActionMap actionMap = getRootPane().getActionMap();
actionMap.put(cancelName, new AbstractAction() {
public void actionPerformed(ActionEvent e) {
doClose(RET_CANCEL);
doClose(-1);
}
});
}

/**
* @return the return status of this dialog - one of RET_OK or RET_CANCEL
* Get the return status
* @return -1:Cancel|others:Book id
*/
public int getReturnStatus() {
return returnStatus;
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

@@ -144,64 +143,22 @@ public class RentDialog extends javax.swing.JDialog {
}//GEN-LAST:event_okButtonActionPerformed

private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cancelButtonActionPerformed
doClose(RET_CANCEL);
doClose(-1);
}//GEN-LAST:event_cancelButtonActionPerformed

/**
* Closes the dialog
*/
private void closeDialog(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_closeDialog
doClose(RET_CANCEL);
doClose(-1);
}//GEN-LAST:event_closeDialog
private void doClose(int retStatus) {
returnStatus = retStatus;
setVisible(false);
dispose();
}

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(RentDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(RentDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(RentDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(RentDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>

/* Create and display the dialog */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
RentDialog dialog = new RentDialog(new javax.swing.JFrame(), true, handler);
dialog.addWindowListener(new java.awt.event.WindowAdapter() {
@Override
public void windowClosing(java.awt.event.WindowEvent e) {
System.exit(0);
}
});
dialog.setVisible(true);
}
});
}

// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton cancelButton;
private javax.swing.JTextField givenBookId;
@@ -210,5 +167,5 @@ public class RentDialog extends javax.swing.JDialog {
private javax.swing.JButton okButton;
// End of variables declaration//GEN-END:variables

private int returnStatus = RET_CANCEL;
private int returnStatus = -1;
}

+ 20
- 62
src/main/java/libsys/ReturnDialog.java Zobrazit soubor

@@ -1,4 +1,8 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 6/4/2017
*/

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
@@ -8,17 +12,18 @@ import javax.swing.InputMap;
import javax.swing.JComponent;
import javax.swing.KeyStroke;

@SuppressWarnings({"unchecked", "serial"})
public class ReturnDialog extends javax.swing.JDialog {

static Handler handler = new Handler();
static int id;
/**
* A return status code - returned if Cancel button has been pressed
*/
public static final int RET_CANCEL = -1;
Handler handler = new Handler();
int id;

/**
* Creates new form ReturnDialog
* Creates a new ReturnDialog
* @param parent java.awt.Frame
* @param modal boolean
* @param handler Handler
* @param id int - Returning Book's User id
*/
public ReturnDialog(java.awt.Frame parent, boolean modal, Handler handler, int id) {
super(parent, modal);
@@ -33,24 +38,19 @@ public class ReturnDialog extends javax.swing.JDialog {
ActionMap actionMap = getRootPane().getActionMap();
actionMap.put(cancelName, new AbstractAction() {
public void actionPerformed(ActionEvent e) {
doClose(RET_CANCEL);
doClose(-1);
}
});
}

/**
* @return the return status of this dialog - one of RET_OK or RET_CANCEL
* Get the return status
* @return -1:Cancel|others:Book id
*/
public int getReturnStatus() {
return returnStatus;
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

@@ -132,7 +132,7 @@ public class ReturnDialog extends javax.swing.JDialog {
{
int[] borrowedList = handler.users.getUser(id).bookStatus();
boolean exist = false;
for (int i = 0; i < borrowedList.length; i++)
{
if (borrowedList[i] == Integer.parseInt(givenBookId.getText()))
@@ -140,7 +140,7 @@ public class ReturnDialog extends javax.swing.JDialog {
exist = true;
}
}
if (exist)
{
doClose(Integer.parseInt(givenBookId.getText()));
@@ -157,14 +157,14 @@ public class ReturnDialog extends javax.swing.JDialog {
}//GEN-LAST:event_okButtonActionPerformed

private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cancelButtonActionPerformed
doClose(RET_CANCEL);
doClose(-1);
}//GEN-LAST:event_cancelButtonActionPerformed

/**
* Closes the dialog
*/
private void closeDialog(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_closeDialog
doClose(RET_CANCEL);
doClose(-1);
}//GEN-LAST:event_closeDialog

private void doClose(int retStatus) {
@@ -173,48 +173,6 @@ public class ReturnDialog extends javax.swing.JDialog {
dispose();
}

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(ReturnDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(ReturnDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(ReturnDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(ReturnDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>

/* Create and display the dialog */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
ReturnDialog dialog = new ReturnDialog(new javax.swing.JFrame(), true, handler, id);
dialog.addWindowListener(new java.awt.event.WindowAdapter() {
@Override
public void windowClosing(java.awt.event.WindowEvent e) {
System.exit(0);
}
});
dialog.setVisible(true);
}
});
}

// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton cancelButton;
private javax.swing.JTextField givenBookId;
@@ -223,5 +181,5 @@ public class ReturnDialog extends javax.swing.JDialog {
private javax.swing.JButton okButton;
// End of variables declaration//GEN-END:variables

private int returnStatus = RET_CANCEL;
private int returnStatus = -1;
}

+ 46
- 8
src/main/java/libsys/Settings.java Zobrazit soubor

@@ -1,4 +1,8 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 6/4/2017
*/

import java.util.Scanner;
import java.io.FileInputStream;
@@ -6,12 +10,17 @@ import java.io.PrintWriter;
import java.util.HashMap;
import java.util.ArrayList;

@SuppressWarnings({"unchecked", "rawtypes"})
public class Settings
{
private HashMap<String, String> items = new HashMap();
private ArrayList<String> keys = new ArrayList();
private String settingsFileName;

/**
* Creates new Settings importing information from the given file name
* @param settingsFileName File name of existing settings stored
*/
public Settings(String settingsFileName)
{
this.settingsFileName = settingsFileName;
@@ -34,6 +43,9 @@ public class Settings
}
}

/**
* Save the settings to the given input file
*/
public void toFile()
{
try
@@ -52,44 +64,70 @@ public class Settings
}
}

public void update(String key, String newValue)
{
items.remove(key);
items.put(key, newValue);
toFile();
}

/**
* Amount of fields in the settings
* @return Amount of keys
*/
public int size()
{
return keys.size();
}

/**
* Get the field name from that specific location in the array list
* @param location Location of the field in the array list
* @return The field name
*/
public String getKey(int location)
{
return keys.get(location);
}

/**
* Get the value associated to the field name
* @param key Field name
* @return Field value
*/
public String get(String key)
{
return items.get(key);
}

/**
* Change the title of the application
* @param newTitle New Title
*/
public void setTitle(String newTitle)
{
update("Title", newTitle);
}

/**
* Change the file name for the Users
* @param newUsersFilename New file name for Users
*/
public void setUsersFilename(String newUsersFilename)
{
update("Users Filename", newUsersFilename);
}

/**
* Change the file name for the Books
* @param newBooksFilename New file name for Books
*/
public void setBooksFilename(String newBooksFilename)
{
update("Books Filename", newBooksFilename);
}

public void setDefault()
private void update(String key, String newValue)
{
items.remove(key);
items.put(key, newValue);
toFile();
}

private void setDefault()
{
keys.add("Title");
items.put(keys.get(0), "Welcome to the library");


+ 33
- 61
src/main/java/libsys/SettingsDialog.java Zobrazit soubor

@@ -1,13 +1,17 @@
package libsys;

/**
*
* @author BinHong Lee
/*
* Written by : Bin Hong Lee
* Last edited : 6/4/2017
*/

@SuppressWarnings("serial")
public class SettingsDialog extends javax.swing.JDialog {

/**
* Creates new form SettingsDialog
* Creates new SettingsDialog
* @param parent java.awt.Frame
* @param modal boolean
* @param preset Settings
*/
public SettingsDialog(java.awt.Frame parent, boolean modal, Settings preset) {
super(parent, modal);
@@ -16,12 +20,6 @@ public class SettingsDialog extends javax.swing.JDialog {
this.preset = preset;
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

@@ -122,55 +120,13 @@ public class SettingsDialog extends javax.swing.JDialog {
doClose(-1);
}//GEN-LAST:event_discardBtnActionPerformed

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(SettingsDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(SettingsDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(SettingsDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(SettingsDialog.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>

/* Create and display the dialog */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
SettingsDialog dialog = new SettingsDialog(new javax.swing.JFrame(), true, preset);
dialog.addWindowListener(new java.awt.event.WindowAdapter() {
@Override
public void windowClosing(java.awt.event.WindowEvent e) {
System.exit(0);
}
});
dialog.setVisible(true);
}
});
}

private void setup(Settings preset)
{
titleTxtField.setText(preset.get(preset.getKey(0)));
usersFilenameTxt.setText((preset.get(preset.getKey(1))));
booksFilenameTxt.setText(preset.get(preset.getKey(2)));
}

private void doClose(int retStatus)
{
returnStatus = retStatus;
@@ -179,27 +135,43 @@ public class SettingsDialog extends javax.swing.JDialog {
booksFilename = booksFilenameTxt.getText();
setVisible(false);
}

/**
* Get the new title for the MainGUi
* @return Get title from titleTxtField
*/
public String getTitle()
{
return title;
}

/**
* Get the new Users file name
* @return Users file name from usersFilenameTxt
*/
public String getUsersFilename()
{
return usersFilename;
}

/**
* Get the new Books file name
* @return Books file name from booksFilenameTxt
*/
public String getBooksFilename()
{
return booksFilename;
}

/**
* Get the return status
* @return -1:Discard|1:Save
*/
public int getReturnStatus()
{
return returnStatus;
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JLabel booksFilenameLbl;
private javax.swing.JTextField booksFilenameTxt;
@@ -211,10 +183,10 @@ public class SettingsDialog extends javax.swing.JDialog {
private javax.swing.JLabel usersFilenameLbl;
private javax.swing.JTextField usersFilenameTxt;
// End of variables declaration//GEN-END:variables
private int returnStatus;
private String title;
private String usersFilename;
private String booksFilename;
private static Settings preset;
private Settings preset;
}

+ 53
- 2
src/main/java/libsys/User.java Zobrazit soubor

@@ -1,18 +1,24 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 6/3/2017
* Last edited : 6/4/2017
*/

import java.util.*;

class User
public class User
{
private String name;
private int id;
private int limit;
private List<Integer> books = new ArrayList<Integer>();

/**
* Creates a new User with name, id and limit (usually used to add new User)
* @param name Name of this User
* @param id id of this User
* @param limit Limit of Book this User can borrow
*/
public User(String name, int id, int limit)
{
this.name = name;
@@ -20,6 +26,13 @@ class User
this.limit = limit;
}

/**
* Creates a new User with name, id, limit and books (usually used to initialize from database)
* @param name Name of this User
* @param id id of this User
* @param limit Limit of Book this User can borrow
* @param books ArrayList of Book ids borrowed by the User
*/
public User(String name, int id, int limit, ArrayList<Integer> books)
{
this.name = name;
@@ -28,31 +41,55 @@ class User
this.books = books;
}

/**
* Gets name of this User
* @return Name
*/
public String getName()
{
return name;
}

/**
* Gets id of this User
* @return id
*/
public int getId()
{
return id;
}

/**
* Gets limit of Book this User can borrow
* @return Book borrowing limit
*/
public int getLimit()
{
return limit;
}

/**
* Change name of this User
* @param name New name of the User
*/
public void setName(String name)
{
this.name = name;
}

/**
* Change limit of this User
* @param limit New limit of the User
*/
public void setLimit(int limit)
{
this.limit = limit;
}

/**
* Check status of the User
* @return If the User is already at the borrowing limit
*/
public boolean status()
{
if (books.size() < limit)
@@ -63,6 +100,10 @@ class User
return false;
}

/**
* Get Book ids of the books
* @return Array of Book ids borrowed by this User
*/
public int[] bookStatus()
{
int[] currentBooks = new int[books.size()];
@@ -75,6 +116,11 @@ class User
return currentBooks;
}

/**
* User borrows a Book
* @param id id of the Book to tbe borrowed
* @return If the borrowing operation is successful
*/
public boolean borrowNewBook(int id)
{
if (status())
@@ -88,6 +134,11 @@ class User
}
}

/**
* User returns a Book
* @param id id of the Book to be returned
* @return If the returning operation is successful
*/
public boolean returnBook(int id)
{
for (int i = 0; i < books.size(); i++)


+ 72
- 10
src/main/java/libsys/UserFactory.java Zobrazit soubor

@@ -1,7 +1,7 @@
package libsys;
/*
* Written by : Bin Hong Lee
* Last edited : 5/30/2017
* Last edited : 6/4/2017
*/

import java.util.List;
@@ -16,17 +16,25 @@ import java.io.File;
import java.util.Enumeration;
import java.io.Serializable;

class UserFactory
public class UserFactory
{
private List<User> users = new ArrayList<User>();
private int id;
private String userFilename;

/**
* Create a new empty UserFactory
*/
public UserFactory()
{
id = 0;
userFilename = "users,json";
}

/**
* Create a new UserFactory and fill it with information from a JSON file
* @param userFilename Name of the input JSON file
*/
public UserFactory(String userFilename)
{
try
@@ -52,16 +60,20 @@ class UserFactory
users.add(new User(name, id, limit, books));
}
in.close();
id = getUser(users.size()-1).getId() + 1;
}
catch (Exception ex)
{
System.out.println("Exception importing from json: " + ex.getMessage());
id = 0;
}

this.userFilename = userFilename;
id = getUser(users.size()-1).getId() + 1;
}

/**
* Output the data into a JSON file replacing the input file (or if filename not given, "users.json")
*/
public void toJsonFile()
{
try
@@ -87,11 +99,21 @@ class UserFactory
}
}

/**
* Update the output filename for the object
* @param userFilename The new filename
*/
public void setUserFileName(String userFilename)
{
this.userFilename = userFilename;
}

/**
* Adds a new User into this class
* @param name Name of the User
* @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 temp = new User(name, id, limit);
@@ -103,6 +125,11 @@ class UserFactory
return temp;
}

/**
* Looks for the User with the given name
* @param name Name of the User to be found
* @return User with the given name
*/
public User getUser(String name)
{
for (int i = 0; i < users.size(); i++)
@@ -118,21 +145,56 @@ class UserFactory
throw new NullPointerException();
}

/**
* Looks for a User with the given id
* @param index id of the User to be found
* @return User with the given id
*/
public User getUser(int index)
{
for (int i = 0; i < users.size(); i++)
return search(index, 0, users.size() - 1);
}

/**
* Recursive binary search through the array list for the User with the given id
* @param index id of the User to be found
* @param start Starting point to search
* @param end Ending point to search
* @return User with the given id
*/
private User search(int index, int start, int end)
{
if (start == end && users.get(start).getId() == index)
{
User temp = users.get(i);
return users.get(start);
}

if(temp.getId() == index)
{
return temp;
}
if (start >= end)
{
throw new NullPointerException();
}

throw new NullPointerException();
int currentId = ((start + end) / 2);

if (users.get(currentId).getId() == index)
{
return users.get(currentId);
}
else if (users.get(currentId).getId() > index)
{
return search(index, start, currentId - 1);
}
else
{
return search(index, currentId + 1, end);
}
}

/**
* Replacing a User in the array list with a new User
* @param oldUser User to be replaced
* @param newUser User replacing it
*/
public void update(User oldUser, User newUser)
{
for (int i = 0; i < users.size(); i++)


Načítá se…
Zrušit
Uložit