You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

508 regels
28 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_131) on Sun Jun 04 20:12:54 MST 2017 -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>Index (LibrarySystem 1.0 API)</title>
  8. <meta name="date" content="2017-06-04">
  9. <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
  10. <script type="text/javascript" src="script.js"></script>
  11. </head>
  12. <body>
  13. <script type="text/javascript"><!--
  14. try {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="Index (LibrarySystem 1.0 API)";
  17. }
  18. }
  19. catch(err) {
  20. }
  21. //-->
  22. </script>
  23. <noscript>
  24. <div>JavaScript is disabled on your browser.</div>
  25. </noscript>
  26. <!-- ========= START OF TOP NAVBAR ======= -->
  27. <div class="topNav"><a name="navbar.top">
  28. <!-- -->
  29. </a>
  30. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  31. <a name="navbar.top.firstrow">
  32. <!-- -->
  33. </a>
  34. <ul class="navList" title="Navigation">
  35. <li><a href="libsys/package-summary.html">Package</a></li>
  36. <li>Class</li>
  37. <li>Use</li>
  38. <li><a href="libsys/package-tree.html">Tree</a></li>
  39. <li><a href="deprecated-list.html">Deprecated</a></li>
  40. <li class="navBarCell1Rev">Index</li>
  41. <li><a href="help-doc.html">Help</a></li>
  42. </ul>
  43. </div>
  44. <div class="subNav">
  45. <ul class="navList">
  46. <li>Prev</li>
  47. <li>Next</li>
  48. </ul>
  49. <ul class="navList">
  50. <li><a href="index.html?index-all.html" target="_top">Frames</a></li>
  51. <li><a href="index-all.html" target="_top">No&nbsp;Frames</a></li>
  52. </ul>
  53. <ul class="navList" id="allclasses_navbar_top">
  54. <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
  55. </ul>
  56. <div>
  57. <script type="text/javascript"><!--
  58. allClassesLink = document.getElementById("allclasses_navbar_top");
  59. if(window==top) {
  60. allClassesLink.style.display = "block";
  61. }
  62. else {
  63. allClassesLink.style.display = "none";
  64. }
  65. //-->
  66. </script>
  67. </div>
  68. <a name="skip.navbar.top">
  69. <!-- -->
  70. </a></div>
  71. <!-- ========= END OF TOP NAVBAR ========= -->
  72. <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">
  73. <!-- -->
  74. </a>
  75. <h2 class="title">B</h2>
  76. <dl>
  77. <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>
  78. <dd>&nbsp;</dd>
  79. <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>
  80. <dd>
  81. <div class="block">Create new Book with given id (Usually used as placeholders)</div>
  82. </dd>
  83. <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>
  84. <dd>
  85. <div class="block">Create new Book with given title, id and status (Usually used for new Book creation)</div>
  86. </dd>
  87. <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>
  88. <dd>
  89. <div class="block">Create new Book with given id, title, status and dueDate (Usually used for initialization from database)</div>
  90. </dd>
  91. <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>
  92. <dd>&nbsp;</dd>
  93. <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>
  94. <dd>
  95. <div class="block">Create a new empty BookFactory</div>
  96. </dd>
  97. <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>
  98. <dd>
  99. <div class="block">Create a new BookFactory and fill it with information from a JSON file</div>
  100. </dd>
  101. <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>
  102. <dd>
  103. <div class="block">Get Book ids of the books</div>
  104. </dd>
  105. <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>
  106. <dd>
  107. <div class="block">User borrows a Book</div>
  108. </dd>
  109. </dl>
  110. <a name="I:E">
  111. <!-- -->
  112. </a>
  113. <h2 class="title">E</h2>
  114. <dl>
  115. <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>
  116. <dd>&nbsp;</dd>
  117. <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>
  118. <dd>
  119. <div class="block">Create new EditBookDialog</div>
  120. </dd>
  121. <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>
  122. <dd>&nbsp;</dd>
  123. <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>
  124. <dd>
  125. <div class="block">Creates new EditUserDialog</div>
  126. </dd>
  127. </dl>
  128. <a name="I:G">
  129. <!-- -->
  130. </a>
  131. <h2 class="title">G</h2>
  132. <dl>
  133. <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>
  134. <dd>
  135. <div class="block">Get the value associated to the field name</div>
  136. </dd>
  137. <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>
  138. <dd>
  139. <div class="block">Looks for a Book with the given id</div>
  140. </dd>
  141. <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>
  142. <dd>
  143. <div class="block">Linear search through the array list for Book with the given Title</div>
  144. </dd>
  145. <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>
  146. <dd>
  147. <div class="block">Get the new Books file name</div>
  148. </dd>
  149. <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>
  150. <dd>
  151. <div class="block">Returns the due date of the Book</div>
  152. </dd>
  153. <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>
  154. <dd>
  155. <div class="block">Returns the id of the Book</div>
  156. </dd>
  157. <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>
  158. <dd>
  159. <div class="block">Gets id of this User</div>
  160. </dd>
  161. <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>
  162. <dd>
  163. <div class="block">Get the field name from that specific location in the array list</div>
  164. </dd>
  165. <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>
  166. <dd>
  167. <div class="block">Get the limit of the new User</div>
  168. </dd>
  169. <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>
  170. <dd>
  171. <div class="block">Gets limit of Book this User can borrow</div>
  172. </dd>
  173. <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>
  174. <dd>
  175. <div class="block">Get the name of the new User</div>
  176. </dd>
  177. <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>
  178. <dd>
  179. <div class="block">Gets name of this User</div>
  180. </dd>
  181. <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>
  182. <dd>
  183. <div class="block">Returns the limit from the limitTxtField</div>
  184. </dd>
  185. <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>
  186. <dd>
  187. <div class="block">Returns the name from the nameTxtField</div>
  188. </dd>
  189. <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>
  190. <dd>
  191. <div class="block">Returns the name from the nameTxtField</div>
  192. </dd>
  193. <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>
  194. <dd>
  195. <div class="block">Returns if the user selected "Save" or "Cancel"</div>
  196. </dd>
  197. <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>
  198. <dd>
  199. <div class="block">Returns if the user selected "Save" or "Cancel"</div>
  200. </dd>
  201. <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>
  202. <dd>
  203. <div class="block">Get the return status</div>
  204. </dd>
  205. <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>
  206. <dd>
  207. <div class="block">Get the return status</div>
  208. </dd>
  209. <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>
  210. <dd>
  211. <div class="block">Get the return status</div>
  212. </dd>
  213. <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>
  214. <dd>
  215. <div class="block">Get the return status</div>
  216. </dd>
  217. <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>
  218. <dd>
  219. <div class="block">Get the return status</div>
  220. </dd>
  221. <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>
  222. <dd>
  223. <div class="block">Returns the status of the Book</div>
  224. </dd>
  225. <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>
  226. <dd>
  227. <div class="block">Get the status of the new Book</div>
  228. </dd>
  229. <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>
  230. <dd>
  231. <div class="block">Returns the title of the Book</div>
  232. </dd>
  233. <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>
  234. <dd>
  235. <div class="block">Get the name of the new Book</div>
  236. </dd>
  237. <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>
  238. <dd>
  239. <div class="block">Get the new title for the MainGUi</div>
  240. </dd>
  241. <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>
  242. <dd>
  243. <div class="block">Looks for the User with the given name</div>
  244. </dd>
  245. <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>
  246. <dd>
  247. <div class="block">Looks for a User with the given id</div>
  248. </dd>
  249. <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>
  250. <dd>
  251. <div class="block">Get the new Users file name</div>
  252. </dd>
  253. </dl>
  254. <a name="I:L">
  255. <!-- -->
  256. </a>
  257. <h2 class="title">L</h2>
  258. <dl>
  259. <dt><a href="libsys/package-summary.html">libsys</a> - package libsys</dt>
  260. <dd>&nbsp;</dd>
  261. </dl>
  262. <a name="I:M">
  263. <!-- -->
  264. </a>
  265. <h2 class="title">M</h2>
  266. <dl>
  267. <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>
  268. <dd>&nbsp;</dd>
  269. <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>
  270. <dd>&nbsp;</dd>
  271. <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>
  272. <dd>
  273. <div class="block">Start the applicationn</div>
  274. </dd>
  275. <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>
  276. <dd>&nbsp;</dd>
  277. <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>
  278. <dd>
  279. <div class="block">Creates a new MainGUI</div>
  280. </dd>
  281. </dl>
  282. <a name="I:N">
  283. <!-- -->
  284. </a>
  285. <h2 class="title">N</h2>
  286. <dl>
  287. <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>
  288. <dd>
  289. <div class="block">Adds a new Book into this class</div>
  290. </dd>
  291. <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>
  292. <dd>&nbsp;</dd>
  293. <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>
  294. <dd>
  295. <div class="block">Creates new form NewBookDialog</div>
  296. </dd>
  297. <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>
  298. <dd>
  299. <div class="block">Adds a new User into this class</div>
  300. </dd>
  301. <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>
  302. <dd>&nbsp;</dd>
  303. <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>
  304. <dd>
  305. <div class="block">Creates new form NewUserDialog</div>
  306. </dd>
  307. </dl>
  308. <a name="I:O">
  309. <!-- -->
  310. </a>
  311. <h2 class="title">O</h2>
  312. <dl>
  313. <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>
  314. <dd>
  315. <div class="block">Calculate the overdue fine</div>
  316. </dd>
  317. </dl>
  318. <a name="I:R">
  319. <!-- -->
  320. </a>
  321. <h2 class="title">R</h2>
  322. <dl>
  323. <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>
  324. <dd>
  325. <div class="block">Call to rent book, return if renting is successful</div>
  326. </dd>
  327. <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>
  328. <dd>&nbsp;</dd>
  329. <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>
  330. <dd>
  331. <div class="block">Creates new form RentDialog</div>
  332. </dd>
  333. <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>
  334. <dd>
  335. <div class="block">User returns a Book</div>
  336. </dd>
  337. <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>
  338. <dd>&nbsp;</dd>
  339. <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>
  340. <dd>
  341. <div class="block">Creates a new ReturnDialog</div>
  342. </dd>
  343. <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>
  344. <dd>
  345. <div class="block">Return the Book to the shelf</div>
  346. </dd>
  347. </dl>
  348. <a name="I:S">
  349. <!-- -->
  350. </a>
  351. <h2 class="title">S</h2>
  352. <dl>
  353. <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>
  354. <dd>
  355. <div class="block">Update the output filename for the object</div>
  356. </dd>
  357. <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>
  358. <dd>
  359. <div class="block">Change the file name for the Books</div>
  360. </dd>
  361. <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>
  362. <dd>
  363. <div class="block">Change limit of this User</div>
  364. </dd>
  365. <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>
  366. <dd>
  367. <div class="block">Change name of this User</div>
  368. </dd>
  369. <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>
  370. <dd>&nbsp;</dd>
  371. <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>
  372. <dd>
  373. <div class="block">Creates new Settings importing information from the given file name</div>
  374. </dd>
  375. <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>
  376. <dd>&nbsp;</dd>
  377. <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>
  378. <dd>
  379. <div class="block">Creates new SettingsDialog</div>
  380. </dd>
  381. <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>
  382. <dd>
  383. <div class="block">Set the title to the given title</div>
  384. </dd>
  385. <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>
  386. <dd>
  387. <div class="block">Change the title of the application</div>
  388. </dd>
  389. <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>
  390. <dd>
  391. <div class="block">Update the output filename for the object</div>
  392. </dd>
  393. <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>
  394. <dd>
  395. <div class="block">Change the file name for the Users</div>
  396. </dd>
  397. <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>
  398. <dd>
  399. <div class="block">Amount of fields in the settings</div>
  400. </dd>
  401. <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>
  402. <dd>
  403. <div class="block">Check status of the User</div>
  404. </dd>
  405. </dl>
  406. <a name="I:T">
  407. <!-- -->
  408. </a>
  409. <h2 class="title">T</h2>
  410. <dl>
  411. <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>
  412. <dd>
  413. <div class="block">Save the settings to the given input file</div>
  414. </dd>
  415. <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>
  416. <dd>
  417. <div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "books.json")</div>
  418. </dd>
  419. <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>
  420. <dd>
  421. <div class="block">Output the data into a JSON file replacing the input file (or if filename not given, "users.json")</div>
  422. </dd>
  423. </dl>
  424. <a name="I:U">
  425. <!-- -->
  426. </a>
  427. <h2 class="title">U</h2>
  428. <dl>
  429. <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>
  430. <dd>
  431. <div class="block">Replacing a Book in the array list with a new Book</div>
  432. </dd>
  433. <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>
  434. <dd>
  435. <div class="block">Replacing a User in the array list with a new User</div>
  436. </dd>
  437. <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>
  438. <dd>&nbsp;</dd>
  439. <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>
  440. <dd>
  441. <div class="block">Creates a new User with name, id and limit (usually used to add new User)</div>
  442. </dd>
  443. <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>
  444. <dd>
  445. <div class="block">Creates a new User with name, id, limit and books (usually used to initialize from database)</div>
  446. </dd>
  447. <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>
  448. <dd>&nbsp;</dd>
  449. <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>
  450. <dd>
  451. <div class="block">Create a new empty UserFactory</div>
  452. </dd>
  453. <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>
  454. <dd>
  455. <div class="block">Create a new UserFactory and fill it with information from a JSON file</div>
  456. </dd>
  457. </dl>
  458. <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>
  459. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  460. <div class="bottomNav"><a name="navbar.bottom">
  461. <!-- -->
  462. </a>
  463. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  464. <a name="navbar.bottom.firstrow">
  465. <!-- -->
  466. </a>
  467. <ul class="navList" title="Navigation">
  468. <li><a href="libsys/package-summary.html">Package</a></li>
  469. <li>Class</li>
  470. <li>Use</li>
  471. <li><a href="libsys/package-tree.html">Tree</a></li>
  472. <li><a href="deprecated-list.html">Deprecated</a></li>
  473. <li class="navBarCell1Rev">Index</li>
  474. <li><a href="help-doc.html">Help</a></li>
  475. </ul>
  476. </div>
  477. <div class="subNav">
  478. <ul class="navList">
  479. <li>Prev</li>
  480. <li>Next</li>
  481. </ul>
  482. <ul class="navList">
  483. <li><a href="index.html?index-all.html" target="_top">Frames</a></li>
  484. <li><a href="index-all.html" target="_top">No&nbsp;Frames</a></li>
  485. </ul>
  486. <ul class="navList" id="allclasses_navbar_bottom">
  487. <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
  488. </ul>
  489. <div>
  490. <script type="text/javascript"><!--
  491. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  492. if(window==top) {
  493. allClassesLink.style.display = "block";
  494. }
  495. else {
  496. allClassesLink.style.display = "none";
  497. }
  498. //-->
  499. </script>
  500. </div>
  501. <a name="skip.navbar.bottom">
  502. <!-- -->
  503. </a></div>
  504. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  505. <p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
  506. </body>
  507. </html>