Créé dans le cadre du projet de fin d'année de la promo 2018 de CIR2 de l'ISEN Brest/Rennes, le Burger Quizz est une adaptation numérique du jeu télévisé éponyme, plus précisément d'une épreuve spécifique de ce jeu : le "Sel ou Poivre".

ConnexionBddDialog.html 32KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="fr">
  4. <head>
  5. <!-- Generated by javadoc (version 1.7.0_79) on Thu Jun 11 10:20:09 CEST 2015 -->
  6. <meta http-equiv="Content-Type" content="text/html" charset="utf8">
  7. <title>ConnexionBddDialog</title>
  8. <meta name="date" content="2015-06-11">
  9. <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. if (location.href.indexOf('is-external=true') == -1) {
  14. parent.document.title="ConnexionBddDialog";
  15. }
  16. //-->
  17. </script>
  18. <noscript>
  19. <div>JavaScript is disabled on your browser.</div>
  20. </noscript>
  21. <!-- ========= START OF TOP NAVBAR ======= -->
  22. <div class="topNav"><a name="navbar_top">
  23. <!-- -->
  24. </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
  25. <!-- -->
  26. </a>
  27. <ul class="navList" title="Navigation">
  28. <li><a href="../../overview-summary.html">Overview</a></li>
  29. <li><a href="package-summary.html">Package</a></li>
  30. <li class="navBarCell1Rev">Class</li>
  31. <li><a href="package-tree.html">Tree</a></li>
  32. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  33. <li><a href="../../index-files/index-1.html">Index</a></li>
  34. <li><a href="../../help-doc.html">Help</a></li>
  35. </ul>
  36. </div>
  37. <div class="subNav">
  38. <ul class="navList">
  39. <li>Prev Class</li>
  40. <li><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html" title="class in InterfaceGraphique.DialogBoxes"><span class="strong">Next Class</span></a></li>
  41. </ul>
  42. <ul class="navList">
  43. <li><a href="../../index.html?InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html" target="_top">Frames</a></li>
  44. <li><a href="ConnexionBddDialog.html" target="_top">No Frames</a></li>
  45. </ul>
  46. <ul class="navList" id="allclasses_navbar_top">
  47. <li><a href="../../allclasses-noframe.html">All Classes</a></li>
  48. </ul>
  49. <div>
  50. <script type="text/javascript"><!--
  51. allClassesLink = document.getElementById("allclasses_navbar_top");
  52. if(window==top) {
  53. allClassesLink.style.display = "block";
  54. }
  55. else {
  56. allClassesLink.style.display = "none";
  57. }
  58. //-->
  59. </script>
  60. </div>
  61. <div>
  62. <ul class="subNavList">
  63. <li>Summary:&nbsp;</li>
  64. <li><a href="#nested_classes_inherited_from_class_javax.swing.JDialog">Nested</a>&nbsp;|&nbsp;</li>
  65. <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
  66. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  67. <li><a href="#method_summary">Method</a></li>
  68. </ul>
  69. <ul class="subNavList">
  70. <li>Detail:&nbsp;</li>
  71. <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
  72. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  73. <li><a href="#method_detail">Method</a></li>
  74. </ul>
  75. </div>
  76. <a name="skip-navbar_top">
  77. <!-- -->
  78. </a></div>
  79. <!-- ========= END OF TOP NAVBAR ========= -->
  80. <!-- ======== START OF CLASS DATA ======== -->
  81. <div class="header">
  82. <div class="subTitle">InterfaceGraphique.DialogBoxes</div>
  83. <h2 title="Class ConnexionBddDialog" class="title">Class ConnexionBddDialog</h2>
  84. </div>
  85. <div class="contentContainer">
  86. <ul class="inheritance">
  87. <li>java.lang.Object</li>
  88. <li>
  89. <ul class="inheritance">
  90. <li>java.awt.Component</li>
  91. <li>
  92. <ul class="inheritance">
  93. <li>java.awt.Container</li>
  94. <li>
  95. <ul class="inheritance">
  96. <li>java.awt.Window</li>
  97. <li>
  98. <ul class="inheritance">
  99. <li>java.awt.Dialog</li>
  100. <li>
  101. <ul class="inheritance">
  102. <li>javax.swing.JDialog</li>
  103. <li>
  104. <ul class="inheritance">
  105. <li>InterfaceGraphique.DialogBoxes.ConnexionBddDialog</li>
  106. </ul>
  107. </li>
  108. </ul>
  109. </li>
  110. </ul>
  111. </li>
  112. </ul>
  113. </li>
  114. </ul>
  115. </li>
  116. </ul>
  117. </li>
  118. </ul>
  119. <div class="description">
  120. <ul class="blockList">
  121. <li class="blockList">
  122. <dl>
  123. <dt>All Implemented Interfaces:</dt>
  124. <dd>java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants</dd>
  125. </dl>
  126. <hr>
  127. <br>
  128. <pre>public class <span class="strong">ConnexionBddDialog</span>
  129. extends javax.swing.JDialog
  130. implements java.awt.event.ActionListener</pre>
  131. <div class="block">Boite de dialogue modale permettant de renseigner une configuration de connexion à la base de données.</div>
  132. <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../serialized-form.html#InterfaceGraphique.DialogBoxes.ConnexionBddDialog">Serialized Form</a></dd></dl>
  133. </li>
  134. </ul>
  135. </div>
  136. <div class="summary">
  137. <ul class="blockList">
  138. <li class="blockList">
  139. <!-- ======== NESTED CLASS SUMMARY ======== -->
  140. <ul class="blockList">
  141. <li class="blockList"><a name="nested_class_summary">
  142. <!-- -->
  143. </a>
  144. <h3>Nested Class Summary</h3>
  145. <ul class="blockList">
  146. <li class="blockList"><a name="nested_classes_inherited_from_class_javax.swing.JDialog">
  147. <!-- -->
  148. </a>
  149. <h3>Nested classes/interfaces inherited from class&nbsp;javax.swing.JDialog</h3>
  150. <code>javax.swing.JDialog.AccessibleJDialog</code></li>
  151. </ul>
  152. <ul class="blockList">
  153. <li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Dialog">
  154. <!-- -->
  155. </a>
  156. <h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Dialog</h3>
  157. <code>java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType</code></li>
  158. </ul>
  159. <ul class="blockList">
  160. <li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Window">
  161. <!-- -->
  162. </a>
  163. <h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Window</h3>
  164. <code>java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type</code></li>
  165. </ul>
  166. <ul class="blockList">
  167. <li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Container">
  168. <!-- -->
  169. </a>
  170. <h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Container</h3>
  171. <code>java.awt.Container.AccessibleAWTContainer</code></li>
  172. </ul>
  173. <ul class="blockList">
  174. <li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Component">
  175. <!-- -->
  176. </a>
  177. <h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Component</h3>
  178. <code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
  179. </ul>
  180. </li>
  181. </ul>
  182. <!-- =========== FIELD SUMMARY =========== -->
  183. <ul class="blockList">
  184. <li class="blockList"><a name="field_summary">
  185. <!-- -->
  186. </a>
  187. <h3>Field Summary</h3>
  188. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  189. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  190. <tr>
  191. <th class="colFirst" scope="col">Modifier and Type</th>
  192. <th class="colLast" scope="col">Field and Description</th>
  193. </tr>
  194. <tr class="altColor">
  195. <td class="colFirst"><code>private javax.swing.JButton</code></td>
  196. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#annuler">annuler</a></strong></code>
  197. <div class="block">Bouton d'annulation.</div>
  198. </td>
  199. </tr>
  200. <tr class="rowColor">
  201. <td class="colFirst"><code>private javax.swing.JButton</code></td>
  202. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#defParams">defParams</a></strong></code>
  203. <div class="block">Bouton pour mettre en place les paramétre de connexion par defaut.</div>
  204. </td>
  205. </tr>
  206. <tr class="altColor">
  207. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  208. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#ip">ip</a></strong></code>
  209. <div class="block">Champ pour l'IP du serveur hebergeant la base de données.</div>
  210. </td>
  211. </tr>
  212. <tr class="rowColor">
  213. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  214. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#login">login</a></strong></code>
  215. <div class="block">Champ pour le login utilisateur.</div>
  216. </td>
  217. </tr>
  218. <tr class="altColor">
  219. <td class="colFirst"><code>private boolean</code></td>
  220. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#modifEffectuees">modifEffectuees</a></strong></code>
  221. <div class="block">Booléen determinant si les paramétre ont été modifié ou non.</div>
  222. </td>
  223. </tr>
  224. <tr class="rowColor">
  225. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  226. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#nomBdd">nomBdd</a></strong></code>
  227. <div class="block">Champ pour le nom de la base de données.</div>
  228. </td>
  229. </tr>
  230. <tr class="altColor">
  231. <td class="colFirst"><code>private javax.swing.JButton</code></td>
  232. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#ok">ok</a></strong></code>
  233. <div class="block">Bouton de validation.</div>
  234. </td>
  235. </tr>
  236. <tr class="rowColor">
  237. <td class="colFirst"><code>private javax.swing.JPasswordField</code></td>
  238. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#password">password</a></strong></code>
  239. <div class="block">Champ pur le mot de passe utilisateur.</div>
  240. </td>
  241. </tr>
  242. <tr class="altColor">
  243. <td class="colFirst"><code>private javax.swing.JFormattedTextField</code></td>
  244. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#port">port</a></strong></code>
  245. <div class="block">Champ pour le numéro de port du serveur hebergeant la base de données.</div>
  246. </td>
  247. </tr>
  248. <tr class="rowColor">
  249. <td class="colFirst"><code>private javax.swing.JButton</code></td>
  250. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#quitter">quitter</a></strong></code>
  251. <div class="block">Bouton pour quitter l'aplication.</div>
  252. </td>
  253. </tr>
  254. </table>
  255. <ul class="blockList">
  256. <li class="blockList"><a name="fields_inherited_from_class_javax.swing.JDialog">
  257. <!-- -->
  258. </a>
  259. <h3>Fields inherited from class&nbsp;javax.swing.JDialog</h3>
  260. <code>accessibleContext, rootPane, rootPaneCheckingEnabled</code></li>
  261. </ul>
  262. <ul class="blockList">
  263. <li class="blockList"><a name="fields_inherited_from_class_java.awt.Dialog">
  264. <!-- -->
  265. </a>
  266. <h3>Fields inherited from class&nbsp;java.awt.Dialog</h3>
  267. <code>DEFAULT_MODALITY_TYPE</code></li>
  268. </ul>
  269. <ul class="blockList">
  270. <li class="blockList"><a name="fields_inherited_from_class_java.awt.Component">
  271. <!-- -->
  272. </a>
  273. <h3>Fields inherited from class&nbsp;java.awt.Component</h3>
  274. <code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
  275. </ul>
  276. <ul class="blockList">
  277. <li class="blockList"><a name="fields_inherited_from_class_javax.swing.WindowConstants">
  278. <!-- -->
  279. </a>
  280. <h3>Fields inherited from interface&nbsp;javax.swing.WindowConstants</h3>
  281. <code>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE</code></li>
  282. </ul>
  283. <ul class="blockList">
  284. <li class="blockList"><a name="fields_inherited_from_class_java.awt.image.ImageObserver">
  285. <!-- -->
  286. </a>
  287. <h3>Fields inherited from interface&nbsp;java.awt.image.ImageObserver</h3>
  288. <code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
  289. </ul>
  290. </li>
  291. </ul>
  292. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  293. <ul class="blockList">
  294. <li class="blockList"><a name="constructor_summary">
  295. <!-- -->
  296. </a>
  297. <h3>Constructor Summary</h3>
  298. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  299. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  300. <tr>
  301. <th class="colOne" scope="col">Constructor and Description</th>
  302. </tr>
  303. <tr class="altColor">
  304. <td class="colOne"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#ConnexionBddDialog(java.lang.String,%20int,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20javax.swing.JFrame,%20boolean)">ConnexionBddDialog</a></strong>(java.lang.String&nbsp;nomBdd,
  305. int&nbsp;port,
  306. java.lang.String&nbsp;ip,
  307. java.lang.String&nbsp;login,
  308. java.lang.String&nbsp;password,
  309. javax.swing.JFrame&nbsp;parent,
  310. boolean&nbsp;showExitButton)</code>
  311. <div class="block">Constructeur préremplissant les champs de la boite de dialogue.</div>
  312. </td>
  313. </tr>
  314. </table>
  315. </li>
  316. </ul>
  317. <!-- ========== METHOD SUMMARY =========== -->
  318. <ul class="blockList">
  319. <li class="blockList"><a name="method_summary">
  320. <!-- -->
  321. </a>
  322. <h3>Method Summary</h3>
  323. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  324. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  325. <tr>
  326. <th class="colFirst" scope="col">Modifier and Type</th>
  327. <th class="colLast" scope="col">Method and Description</th>
  328. </tr>
  329. <tr class="altColor">
  330. <td class="colFirst"><code>void</code></td>
  331. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</a></strong>(java.awt.event.ActionEvent&nbsp;e)</code>
  332. <div class="block">Répond au clic sur les bouton: restaure la configuration par défault des champs, ou confirme/infirme que des changements on eu lieu, aprés vérification de la conformité des valeurs rentrées dans les champs.</div>
  333. </td>
  334. </tr>
  335. <tr class="rowColor">
  336. <td class="colFirst"><code>boolean</code></td>
  337. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#afficher()">afficher</a></strong>()</code>
  338. <div class="block">Affiche la boite de dialogue.</div>
  339. </td>
  340. </tr>
  341. <tr class="altColor">
  342. <td class="colFirst"><code>private void</code></td>
  343. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#createInterface(java.lang.String,%20int,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)">createInterface</a></strong>(java.lang.String&nbsp;defNomBdd,
  344. int&nbsp;defPort,
  345. java.lang.String&nbsp;defIP,
  346. java.lang.String&nbsp;defLogin,
  347. java.lang.String&nbsp;defPassword,
  348. boolean&nbsp;showExitButton)</code>
  349. <div class="block">Construit l'interface de la boite de dialogue.</div>
  350. </td>
  351. </tr>
  352. <tr class="rowColor">
  353. <td class="colFirst"><code>java.lang.String</code></td>
  354. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#getIp()">getIp</a></strong>()</code>
  355. <div class="block">Renvoie l'ip du serveur bdd.</div>
  356. </td>
  357. </tr>
  358. <tr class="altColor">
  359. <td class="colFirst"><code>java.lang.String</code></td>
  360. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#getLogin()">getLogin</a></strong>()</code>
  361. <div class="block">Renvoie le login de l'utilisateur du serveur bdd.</div>
  362. </td>
  363. </tr>
  364. <tr class="rowColor">
  365. <td class="colFirst"><code>java.lang.String</code></td>
  366. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#getNomBdd()">getNomBdd</a></strong>()</code>
  367. <div class="block">Renvoie le nom de la bdd.</div>
  368. </td>
  369. </tr>
  370. <tr class="altColor">
  371. <td class="colFirst"><code>java.lang.String</code></td>
  372. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#getPassword()">getPassword</a></strong>()</code>
  373. <div class="block">Renvoie le mot de passe de l'utilisateur du serveur bdd.</div>
  374. </td>
  375. </tr>
  376. <tr class="rowColor">
  377. <td class="colFirst"><code>int</code></td>
  378. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#getPort()">getPort</a></strong>()</code>
  379. <div class="block">Renvoie le port du serveur bdd.</div>
  380. </td>
  381. </tr>
  382. </table>
  383. <ul class="blockList">
  384. <li class="blockList"><a name="methods_inherited_from_class_javax.swing.JDialog">
  385. <!-- -->
  386. </a>
  387. <h3>Methods inherited from class&nbsp;javax.swing.JDialog</h3>
  388. <code>addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update</code></li>
  389. </ul>
  390. <ul class="blockList">
  391. <li class="blockList"><a name="methods_inherited_from_class_java.awt.Dialog">
  392. <!-- -->
  393. </a>
  394. <h3>Methods inherited from class&nbsp;java.awt.Dialog</h3>
  395. <code>addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBack</code></li>
  396. </ul>
  397. <ul class="blockList">
  398. <li class="blockList"><a name="methods_inherited_from_class_java.awt.Window">
  399. <!-- -->
  400. </a>
  401. <h3>Methods inherited from class&nbsp;java.awt.Window</h3>
  402. <code>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront</code></li>
  403. </ul>
  404. <ul class="blockList">
  405. <li class="blockList"><a name="methods_inherited_from_class_java.awt.Container">
  406. <!-- -->
  407. </a>
  408. <h3>Methods inherited from class&nbsp;java.awt.Container</h3>
  409. <code>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree</code></li>
  410. </ul>
  411. <ul class="blockList">
  412. <li class="blockList"><a name="methods_inherited_from_class_java.awt.Component">
  413. <!-- -->
  414. </a>
  415. <h3>Methods inherited from class&nbsp;java.awt.Component</h3>
  416. <code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
  417. </ul>
  418. <ul class="blockList">
  419. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  420. <!-- -->
  421. </a>
  422. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  423. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  424. </ul>
  425. </li>
  426. </ul>
  427. </li>
  428. </ul>
  429. </div>
  430. <div class="details">
  431. <ul class="blockList">
  432. <li class="blockList">
  433. <!-- ============ FIELD DETAIL =========== -->
  434. <ul class="blockList">
  435. <li class="blockList"><a name="field_detail">
  436. <!-- -->
  437. </a>
  438. <h3>Field Detail</h3>
  439. <a name="nomBdd">
  440. <!-- -->
  441. </a>
  442. <ul class="blockList">
  443. <li class="blockList">
  444. <h4>nomBdd</h4>
  445. <pre>private&nbsp;javax.swing.JTextField nomBdd</pre>
  446. <div class="block">Champ pour le nom de la base de données.</div>
  447. </li>
  448. </ul>
  449. <a name="port">
  450. <!-- -->
  451. </a>
  452. <ul class="blockList">
  453. <li class="blockList">
  454. <h4>port</h4>
  455. <pre>private&nbsp;javax.swing.JFormattedTextField port</pre>
  456. <div class="block">Champ pour le numéro de port du serveur hebergeant la base de données.</div>
  457. </li>
  458. </ul>
  459. <a name="ip">
  460. <!-- -->
  461. </a>
  462. <ul class="blockList">
  463. <li class="blockList">
  464. <h4>ip</h4>
  465. <pre>private&nbsp;javax.swing.JTextField ip</pre>
  466. <div class="block">Champ pour l'IP du serveur hebergeant la base de données.</div>
  467. </li>
  468. </ul>
  469. <a name="login">
  470. <!-- -->
  471. </a>
  472. <ul class="blockList">
  473. <li class="blockList">
  474. <h4>login</h4>
  475. <pre>private&nbsp;javax.swing.JTextField login</pre>
  476. <div class="block">Champ pour le login utilisateur.</div>
  477. </li>
  478. </ul>
  479. <a name="password">
  480. <!-- -->
  481. </a>
  482. <ul class="blockList">
  483. <li class="blockList">
  484. <h4>password</h4>
  485. <pre>private&nbsp;javax.swing.JPasswordField password</pre>
  486. <div class="block">Champ pur le mot de passe utilisateur.</div>
  487. </li>
  488. </ul>
  489. <a name="ok">
  490. <!-- -->
  491. </a>
  492. <ul class="blockList">
  493. <li class="blockList">
  494. <h4>ok</h4>
  495. <pre>private&nbsp;javax.swing.JButton ok</pre>
  496. <div class="block">Bouton de validation.</div>
  497. </li>
  498. </ul>
  499. <a name="annuler">
  500. <!-- -->
  501. </a>
  502. <ul class="blockList">
  503. <li class="blockList">
  504. <h4>annuler</h4>
  505. <pre>private&nbsp;javax.swing.JButton annuler</pre>
  506. <div class="block">Bouton d'annulation.</div>
  507. </li>
  508. </ul>
  509. <a name="defParams">
  510. <!-- -->
  511. </a>
  512. <ul class="blockList">
  513. <li class="blockList">
  514. <h4>defParams</h4>
  515. <pre>private&nbsp;javax.swing.JButton defParams</pre>
  516. <div class="block">Bouton pour mettre en place les paramétre de connexion par defaut.</div>
  517. </li>
  518. </ul>
  519. <a name="quitter">
  520. <!-- -->
  521. </a>
  522. <ul class="blockList">
  523. <li class="blockList">
  524. <h4>quitter</h4>
  525. <pre>private&nbsp;javax.swing.JButton quitter</pre>
  526. <div class="block">Bouton pour quitter l'aplication.</div>
  527. </li>
  528. </ul>
  529. <a name="modifEffectuees">
  530. <!-- -->
  531. </a>
  532. <ul class="blockListLast">
  533. <li class="blockList">
  534. <h4>modifEffectuees</h4>
  535. <pre>private&nbsp;boolean modifEffectuees</pre>
  536. <div class="block">Booléen determinant si les paramétre ont été modifié ou non.</div>
  537. </li>
  538. </ul>
  539. </li>
  540. </ul>
  541. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  542. <ul class="blockList">
  543. <li class="blockList"><a name="constructor_detail">
  544. <!-- -->
  545. </a>
  546. <h3>Constructor Detail</h3>
  547. <a name="ConnexionBddDialog(java.lang.String, int, java.lang.String, java.lang.String, java.lang.String, javax.swing.JFrame, boolean)">
  548. <!-- -->
  549. </a>
  550. <ul class="blockListLast">
  551. <li class="blockList">
  552. <h4>ConnexionBddDialog</h4>
  553. <pre>public&nbsp;ConnexionBddDialog(java.lang.String&nbsp;nomBdd,
  554. int&nbsp;port,
  555. java.lang.String&nbsp;ip,
  556. java.lang.String&nbsp;login,
  557. java.lang.String&nbsp;password,
  558. javax.swing.JFrame&nbsp;parent,
  559. boolean&nbsp;showExitButton)</pre>
  560. <div class="block">Constructeur préremplissant les champs de la boite de dialogue.</div>
  561. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>nomBdd</code> - Nom base de données.</dd><dd><code>port</code> - Port serveur base de données.</dd><dd><code>ip</code> - Adresse ip serveur base de données.</dd><dd><code>login</code> - Login utilisateur base de données.</dd><dd><code>password</code> - Mot de passe utilisateur base de données.</dd><dd><code>parent</code> - Parent</dd><dd><code>showExitButton</code> - Afficher on non un bouton pour quitter l'aplication.</dd></dl>
  562. </li>
  563. </ul>
  564. </li>
  565. </ul>
  566. <!-- ============ METHOD DETAIL ========== -->
  567. <ul class="blockList">
  568. <li class="blockList"><a name="method_detail">
  569. <!-- -->
  570. </a>
  571. <h3>Method Detail</h3>
  572. <a name="createInterface(java.lang.String, int, java.lang.String, java.lang.String, java.lang.String, boolean)">
  573. <!-- -->
  574. </a>
  575. <ul class="blockList">
  576. <li class="blockList">
  577. <h4>createInterface</h4>
  578. <pre>private&nbsp;void&nbsp;createInterface(java.lang.String&nbsp;defNomBdd,
  579. int&nbsp;defPort,
  580. java.lang.String&nbsp;defIP,
  581. java.lang.String&nbsp;defLogin,
  582. java.lang.String&nbsp;defPassword,
  583. boolean&nbsp;showExitButton)</pre>
  584. <div class="block">Construit l'interface de la boite de dialogue.</div>
  585. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>defNomBdd</code> - Nom base de données.</dd><dd><code>defPort</code> - Port serveur base de données.</dd><dd><code>defIP</code> - Adresse ip serveur base de données.</dd><dd><code>defLogin</code> - Login utilisateur base de données.</dd><dd><code>defPassword</code> - Mot de passe utilisateur base de données.</dd><dd><code>showExitButton</code> - Afficher on non un bouton pour quitter l'aplication, remplaçant le bouton annuler.</dd></dl>
  586. </li>
  587. </ul>
  588. <a name="afficher()">
  589. <!-- -->
  590. </a>
  591. <ul class="blockList">
  592. <li class="blockList">
  593. <h4>afficher</h4>
  594. <pre>public&nbsp;boolean&nbsp;afficher()</pre>
  595. <div class="block">Affiche la boite de dialogue.</div>
  596. <dl><dt><span class="strong">Returns:</span></dt><dd>Un booléen indiquant si la configuration à été modifié ou non (clic sur le bouton OK ou annuler).</dd></dl>
  597. </li>
  598. </ul>
  599. <a name="actionPerformed(java.awt.event.ActionEvent)">
  600. <!-- -->
  601. </a>
  602. <ul class="blockList">
  603. <li class="blockList">
  604. <h4>actionPerformed</h4>
  605. <pre>public&nbsp;void&nbsp;actionPerformed(java.awt.event.ActionEvent&nbsp;e)</pre>
  606. <div class="block">Répond au clic sur les bouton: restaure la configuration par défault des champs, ou confirme/infirme que des changements on eu lieu, aprés vérification de la conformité des valeurs rentrées dans les champs.</div>
  607. <dl>
  608. <dt><strong>Specified by:</strong></dt>
  609. <dd><code>actionPerformed</code>&nbsp;in interface&nbsp;<code>java.awt.event.ActionListener</code></dd>
  610. <dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - Un ActionEvent au clic sur un bouton.</dd></dl>
  611. </li>
  612. </ul>
  613. <a name="getNomBdd()">
  614. <!-- -->
  615. </a>
  616. <ul class="blockList">
  617. <li class="blockList">
  618. <h4>getNomBdd</h4>
  619. <pre>public&nbsp;java.lang.String&nbsp;getNomBdd()</pre>
  620. <div class="block">Renvoie le nom de la bdd.</div>
  621. <dl><dt><span class="strong">Returns:</span></dt><dd>nom de la bdd.</dd></dl>
  622. </li>
  623. </ul>
  624. <a name="getPort()">
  625. <!-- -->
  626. </a>
  627. <ul class="blockList">
  628. <li class="blockList">
  629. <h4>getPort</h4>
  630. <pre>public&nbsp;int&nbsp;getPort()</pre>
  631. <div class="block">Renvoie le port du serveur bdd.</div>
  632. <dl><dt><span class="strong">Returns:</span></dt><dd>le port du serveur bdd.</dd></dl>
  633. </li>
  634. </ul>
  635. <a name="getIp()">
  636. <!-- -->
  637. </a>
  638. <ul class="blockList">
  639. <li class="blockList">
  640. <h4>getIp</h4>
  641. <pre>public&nbsp;java.lang.String&nbsp;getIp()</pre>
  642. <div class="block">Renvoie l'ip du serveur bdd.</div>
  643. <dl><dt><span class="strong">Returns:</span></dt><dd>l'ip port du serveur bdd.</dd></dl>
  644. </li>
  645. </ul>
  646. <a name="getLogin()">
  647. <!-- -->
  648. </a>
  649. <ul class="blockList">
  650. <li class="blockList">
  651. <h4>getLogin</h4>
  652. <pre>public&nbsp;java.lang.String&nbsp;getLogin()</pre>
  653. <div class="block">Renvoie le login de l'utilisateur du serveur bdd.</div>
  654. <dl><dt><span class="strong">Returns:</span></dt><dd>le login de l'utilisateur du serveur bdd.</dd></dl>
  655. </li>
  656. </ul>
  657. <a name="getPassword()">
  658. <!-- -->
  659. </a>
  660. <ul class="blockListLast">
  661. <li class="blockList">
  662. <h4>getPassword</h4>
  663. <pre>public&nbsp;java.lang.String&nbsp;getPassword()</pre>
  664. <div class="block">Renvoie le mot de passe de l'utilisateur du serveur bdd.</div>
  665. <dl><dt><span class="strong">Returns:</span></dt><dd>le mot de passe l'utilisateur du serveur bdd.</dd></dl>
  666. </li>
  667. </ul>
  668. </li>
  669. </ul>
  670. </li>
  671. </ul>
  672. </div>
  673. </div>
  674. <!-- ========= END OF CLASS DATA ========= -->
  675. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  676. <div class="bottomNav"><a name="navbar_bottom">
  677. <!-- -->
  678. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  679. <!-- -->
  680. </a>
  681. <ul class="navList" title="Navigation">
  682. <li><a href="../../overview-summary.html">Overview</a></li>
  683. <li><a href="package-summary.html">Package</a></li>
  684. <li class="navBarCell1Rev">Class</li>
  685. <li><a href="package-tree.html">Tree</a></li>
  686. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  687. <li><a href="../../index-files/index-1.html">Index</a></li>
  688. <li><a href="../../help-doc.html">Help</a></li>
  689. </ul>
  690. </div>
  691. <div class="subNav">
  692. <ul class="navList">
  693. <li>Prev Class</li>
  694. <li><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html" title="class in InterfaceGraphique.DialogBoxes"><span class="strong">Next Class</span></a></li>
  695. </ul>
  696. <ul class="navList">
  697. <li><a href="../../index.html?InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html" target="_top">Frames</a></li>
  698. <li><a href="ConnexionBddDialog.html" target="_top">No Frames</a></li>
  699. </ul>
  700. <ul class="navList" id="allclasses_navbar_bottom">
  701. <li><a href="../../allclasses-noframe.html">All Classes</a></li>
  702. </ul>
  703. <div>
  704. <script type="text/javascript"><!--
  705. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  706. if(window==top) {
  707. allClassesLink.style.display = "block";
  708. }
  709. else {
  710. allClassesLink.style.display = "none";
  711. }
  712. //-->
  713. </script>
  714. </div>
  715. <div>
  716. <ul class="subNavList">
  717. <li>Summary:&nbsp;</li>
  718. <li><a href="#nested_classes_inherited_from_class_javax.swing.JDialog">Nested</a>&nbsp;|&nbsp;</li>
  719. <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
  720. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  721. <li><a href="#method_summary">Method</a></li>
  722. </ul>
  723. <ul class="subNavList">
  724. <li>Detail:&nbsp;</li>
  725. <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
  726. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  727. <li><a href="#method_detail">Method</a></li>
  728. </ul>
  729. </div>
  730. <a name="skip-navbar_bottom">
  731. <!-- -->
  732. </a></div>
  733. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  734. </body>
  735. </html>