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".

NouvelleQuestionDialog.html 27KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  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:10 CEST 2015 -->
  6. <meta http-equiv="Content-Type" content="text/html" charset="utf8">
  7. <title>NouvelleQuestionDialog</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="NouvelleQuestionDialog";
  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><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html" title="class in InterfaceGraphique.DialogBoxes"><span class="strong">Prev Class</span></a></li>
  40. <li><a href="../../InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.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/NouvelleQuestionDialog.html" target="_top">Frames</a></li>
  44. <li><a href="NouvelleQuestionDialog.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 NouvelleQuestionDialog" class="title">Class NouvelleQuestionDialog</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.NouvelleQuestionDialog</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">NouvelleQuestionDialog</span>
  129. extends javax.swing.JDialog
  130. implements java.awt.event.ActionListener</pre>
  131. <div class="block">Boite de dialogue modale pour renseigner une nouvelle question.</div>
  132. <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../serialized-form.html#InterfaceGraphique.DialogBoxes.NouvelleQuestionDialog">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/NouvelleQuestionDialog.html#annuler">annuler</a></strong></code>
  197. <div class="block">Annulation</div>
  198. </td>
  199. </tr>
  200. <tr class="rowColor">
  201. <td class="colFirst"><code>private javax.swing.JTextField</code></td>
  202. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html#intitule">intitule</a></strong></code>
  203. <div class="block">Intitulé de la question.</div>
  204. </td>
  205. </tr>
  206. <tr class="altColor">
  207. <td class="colFirst"><code>private boolean</code></td>
  208. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html#mofidEffectues">mofidEffectues</a></strong></code>
  209. <div class="block">Modification des valeurs déja présentes ou non</div>
  210. </td>
  211. </tr>
  212. <tr class="rowColor">
  213. <td class="colFirst"><code>private javax.swing.JButton</code></td>
  214. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html#ok">ok</a></strong></code>
  215. <div class="block">Validation</div>
  216. </td>
  217. </tr>
  218. <tr class="altColor">
  219. <td class="colFirst"><code>private javax.swing.JComboBox</code></td>
  220. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html#reponse">reponse</a></strong></code>
  221. <div class="block">Liste des réponses possible.</div>
  222. </td>
  223. </tr>
  224. </table>
  225. <ul class="blockList">
  226. <li class="blockList"><a name="fields_inherited_from_class_javax.swing.JDialog">
  227. <!-- -->
  228. </a>
  229. <h3>Fields inherited from class&nbsp;javax.swing.JDialog</h3>
  230. <code>accessibleContext, rootPane, rootPaneCheckingEnabled</code></li>
  231. </ul>
  232. <ul class="blockList">
  233. <li class="blockList"><a name="fields_inherited_from_class_java.awt.Dialog">
  234. <!-- -->
  235. </a>
  236. <h3>Fields inherited from class&nbsp;java.awt.Dialog</h3>
  237. <code>DEFAULT_MODALITY_TYPE</code></li>
  238. </ul>
  239. <ul class="blockList">
  240. <li class="blockList"><a name="fields_inherited_from_class_java.awt.Component">
  241. <!-- -->
  242. </a>
  243. <h3>Fields inherited from class&nbsp;java.awt.Component</h3>
  244. <code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
  245. </ul>
  246. <ul class="blockList">
  247. <li class="blockList"><a name="fields_inherited_from_class_javax.swing.WindowConstants">
  248. <!-- -->
  249. </a>
  250. <h3>Fields inherited from interface&nbsp;javax.swing.WindowConstants</h3>
  251. <code>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE</code></li>
  252. </ul>
  253. <ul class="blockList">
  254. <li class="blockList"><a name="fields_inherited_from_class_java.awt.image.ImageObserver">
  255. <!-- -->
  256. </a>
  257. <h3>Fields inherited from interface&nbsp;java.awt.image.ImageObserver</h3>
  258. <code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
  259. </ul>
  260. </li>
  261. </ul>
  262. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  263. <ul class="blockList">
  264. <li class="blockList"><a name="constructor_summary">
  265. <!-- -->
  266. </a>
  267. <h3>Constructor Summary</h3>
  268. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  269. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  270. <tr>
  271. <th class="colOne" scope="col">Constructor and Description</th>
  272. </tr>
  273. <tr class="altColor">
  274. <td class="colOne"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html#NouvelleQuestionDialog(java.lang.String,%20java.lang.String,%20int,%20java.lang.String,%20java.lang.String,%20javax.swing.JFrame)">NouvelleQuestionDialog</a></strong>(java.lang.String&nbsp;title,
  275. java.lang.String&nbsp;defIntitule,
  276. int&nbsp;defReponse,
  277. java.lang.String&nbsp;reponse1,
  278. java.lang.String&nbsp;reponse2,
  279. javax.swing.JFrame&nbsp;parent)</code>
  280. <div class="block">Constructeur préremplissant les champs de la boite de dialogue.</div>
  281. </td>
  282. </tr>
  283. </table>
  284. </li>
  285. </ul>
  286. <!-- ========== METHOD SUMMARY =========== -->
  287. <ul class="blockList">
  288. <li class="blockList"><a name="method_summary">
  289. <!-- -->
  290. </a>
  291. <h3>Method Summary</h3>
  292. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  293. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  294. <tr>
  295. <th class="colFirst" scope="col">Modifier and Type</th>
  296. <th class="colLast" scope="col">Method and Description</th>
  297. </tr>
  298. <tr class="altColor">
  299. <td class="colFirst"><code>void</code></td>
  300. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</a></strong>(java.awt.event.ActionEvent&nbsp;e)</code>
  301. <div class="block">Répond au clic sur les bouton: confirme/infirme que des changements on eu lieu, aprés vérification de la conformité des valeurs rentrées dans les champs.</div>
  302. </td>
  303. </tr>
  304. <tr class="rowColor">
  305. <td class="colFirst"><code>boolean</code></td>
  306. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html#afficher()">afficher</a></strong>()</code>
  307. <div class="block">Affiche la boite de dialogue.</div>
  308. </td>
  309. </tr>
  310. <tr class="altColor">
  311. <td class="colFirst"><code>private void</code></td>
  312. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html#createInterface(java.lang.String,%20int,%20java.lang.String,%20java.lang.String)">createInterface</a></strong>(java.lang.String&nbsp;defIntitule,
  313. int&nbsp;defReponse,
  314. java.lang.String&nbsp;reponse1,
  315. java.lang.String&nbsp;reponse2)</code>
  316. <div class="block">Construit l'interface de la boite de dialogue.</div>
  317. </td>
  318. </tr>
  319. <tr class="rowColor">
  320. <td class="colFirst"><code>java.lang.String</code></td>
  321. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html#getIntitule()">getIntitule</a></strong>()</code>
  322. <div class="block">Renvoie l'intitulé de la question.</div>
  323. </td>
  324. </tr>
  325. <tr class="altColor">
  326. <td class="colFirst"><code>int</code></td>
  327. <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html#getReponse()">getReponse</a></strong>()</code>
  328. <div class="block">Renvoie le numéro de la bonne réponse à la question.</div>
  329. </td>
  330. </tr>
  331. </table>
  332. <ul class="blockList">
  333. <li class="blockList"><a name="methods_inherited_from_class_javax.swing.JDialog">
  334. <!-- -->
  335. </a>
  336. <h3>Methods inherited from class&nbsp;javax.swing.JDialog</h3>
  337. <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>
  338. </ul>
  339. <ul class="blockList">
  340. <li class="blockList"><a name="methods_inherited_from_class_java.awt.Dialog">
  341. <!-- -->
  342. </a>
  343. <h3>Methods inherited from class&nbsp;java.awt.Dialog</h3>
  344. <code>addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBack</code></li>
  345. </ul>
  346. <ul class="blockList">
  347. <li class="blockList"><a name="methods_inherited_from_class_java.awt.Window">
  348. <!-- -->
  349. </a>
  350. <h3>Methods inherited from class&nbsp;java.awt.Window</h3>
  351. <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>
  352. </ul>
  353. <ul class="blockList">
  354. <li class="blockList"><a name="methods_inherited_from_class_java.awt.Container">
  355. <!-- -->
  356. </a>
  357. <h3>Methods inherited from class&nbsp;java.awt.Container</h3>
  358. <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>
  359. </ul>
  360. <ul class="blockList">
  361. <li class="blockList"><a name="methods_inherited_from_class_java.awt.Component">
  362. <!-- -->
  363. </a>
  364. <h3>Methods inherited from class&nbsp;java.awt.Component</h3>
  365. <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>
  366. </ul>
  367. <ul class="blockList">
  368. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  369. <!-- -->
  370. </a>
  371. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  372. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  373. </ul>
  374. </li>
  375. </ul>
  376. </li>
  377. </ul>
  378. </div>
  379. <div class="details">
  380. <ul class="blockList">
  381. <li class="blockList">
  382. <!-- ============ FIELD DETAIL =========== -->
  383. <ul class="blockList">
  384. <li class="blockList"><a name="field_detail">
  385. <!-- -->
  386. </a>
  387. <h3>Field Detail</h3>
  388. <a name="intitule">
  389. <!-- -->
  390. </a>
  391. <ul class="blockList">
  392. <li class="blockList">
  393. <h4>intitule</h4>
  394. <pre>private&nbsp;javax.swing.JTextField intitule</pre>
  395. <div class="block">Intitulé de la question.</div>
  396. </li>
  397. </ul>
  398. <a name="ok">
  399. <!-- -->
  400. </a>
  401. <ul class="blockList">
  402. <li class="blockList">
  403. <h4>ok</h4>
  404. <pre>private&nbsp;javax.swing.JButton ok</pre>
  405. <div class="block">Validation</div>
  406. </li>
  407. </ul>
  408. <a name="annuler">
  409. <!-- -->
  410. </a>
  411. <ul class="blockList">
  412. <li class="blockList">
  413. <h4>annuler</h4>
  414. <pre>private&nbsp;javax.swing.JButton annuler</pre>
  415. <div class="block">Annulation</div>
  416. </li>
  417. </ul>
  418. <a name="mofidEffectues">
  419. <!-- -->
  420. </a>
  421. <ul class="blockList">
  422. <li class="blockList">
  423. <h4>mofidEffectues</h4>
  424. <pre>private&nbsp;boolean mofidEffectues</pre>
  425. <div class="block">Modification des valeurs déja présentes ou non</div>
  426. </li>
  427. </ul>
  428. <a name="reponse">
  429. <!-- -->
  430. </a>
  431. <ul class="blockListLast">
  432. <li class="blockList">
  433. <h4>reponse</h4>
  434. <pre>private&nbsp;javax.swing.JComboBox reponse</pre>
  435. <div class="block">Liste des réponses possible.</div>
  436. </li>
  437. </ul>
  438. </li>
  439. </ul>
  440. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  441. <ul class="blockList">
  442. <li class="blockList"><a name="constructor_detail">
  443. <!-- -->
  444. </a>
  445. <h3>Constructor Detail</h3>
  446. <a name="NouvelleQuestionDialog(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, javax.swing.JFrame)">
  447. <!-- -->
  448. </a>
  449. <ul class="blockListLast">
  450. <li class="blockList">
  451. <h4>NouvelleQuestionDialog</h4>
  452. <pre>public&nbsp;NouvelleQuestionDialog(java.lang.String&nbsp;title,
  453. java.lang.String&nbsp;defIntitule,
  454. int&nbsp;defReponse,
  455. java.lang.String&nbsp;reponse1,
  456. java.lang.String&nbsp;reponse2,
  457. javax.swing.JFrame&nbsp;parent)</pre>
  458. <div class="block">Constructeur préremplissant les champs de la boite de dialogue.</div>
  459. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>title</code> - Titre de la boite de dialogue.</dd><dd><code>defIntitule</code> - Intitulé question.</dd><dd><code>defReponse</code> - Numéro bonne réponse.</dd><dd><code>reponse1</code> - Réponse une.</dd><dd><code>reponse2</code> - Réponse deux.</dd><dd><code>parent</code> - Parent.</dd></dl>
  460. </li>
  461. </ul>
  462. </li>
  463. </ul>
  464. <!-- ============ METHOD DETAIL ========== -->
  465. <ul class="blockList">
  466. <li class="blockList"><a name="method_detail">
  467. <!-- -->
  468. </a>
  469. <h3>Method Detail</h3>
  470. <a name="createInterface(java.lang.String, int, java.lang.String, java.lang.String)">
  471. <!-- -->
  472. </a>
  473. <ul class="blockList">
  474. <li class="blockList">
  475. <h4>createInterface</h4>
  476. <pre>private&nbsp;void&nbsp;createInterface(java.lang.String&nbsp;defIntitule,
  477. int&nbsp;defReponse,
  478. java.lang.String&nbsp;reponse1,
  479. java.lang.String&nbsp;reponse2)</pre>
  480. <div class="block">Construit l'interface de la boite de dialogue.</div>
  481. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>defIntitule</code> - Intitulé question.</dd><dd><code>defReponse</code> - Numéro bonne réponse.</dd><dd><code>reponse1</code> - Réponse une.</dd><dd><code>reponse2</code> - Réponse deux.</dd></dl>
  482. </li>
  483. </ul>
  484. <a name="afficher()">
  485. <!-- -->
  486. </a>
  487. <ul class="blockList">
  488. <li class="blockList">
  489. <h4>afficher</h4>
  490. <pre>public&nbsp;boolean&nbsp;afficher()</pre>
  491. <div class="block">Affiche la boite de dialogue.</div>
  492. <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>
  493. </li>
  494. </ul>
  495. <a name="actionPerformed(java.awt.event.ActionEvent)">
  496. <!-- -->
  497. </a>
  498. <ul class="blockList">
  499. <li class="blockList">
  500. <h4>actionPerformed</h4>
  501. <pre>public&nbsp;void&nbsp;actionPerformed(java.awt.event.ActionEvent&nbsp;e)</pre>
  502. <div class="block">Répond au clic sur les bouton: confirme/infirme que des changements on eu lieu, aprés vérification de la conformité des valeurs rentrées dans les champs.</div>
  503. <dl>
  504. <dt><strong>Specified by:</strong></dt>
  505. <dd><code>actionPerformed</code>&nbsp;in interface&nbsp;<code>java.awt.event.ActionListener</code></dd>
  506. <dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - Un ActionEvent au clic sur un bouton.</dd></dl>
  507. </li>
  508. </ul>
  509. <a name="getIntitule()">
  510. <!-- -->
  511. </a>
  512. <ul class="blockList">
  513. <li class="blockList">
  514. <h4>getIntitule</h4>
  515. <pre>public&nbsp;java.lang.String&nbsp;getIntitule()</pre>
  516. <div class="block">Renvoie l'intitulé de la question.</div>
  517. <dl><dt><span class="strong">Returns:</span></dt><dd>l'intitulé de la question.</dd></dl>
  518. </li>
  519. </ul>
  520. <a name="getReponse()">
  521. <!-- -->
  522. </a>
  523. <ul class="blockListLast">
  524. <li class="blockList">
  525. <h4>getReponse</h4>
  526. <pre>public&nbsp;int&nbsp;getReponse()</pre>
  527. <div class="block">Renvoie le numéro de la bonne réponse à la question.</div>
  528. <dl><dt><span class="strong">Returns:</span></dt><dd>le numéro de la bonne réponse à la question.</dd></dl>
  529. </li>
  530. </ul>
  531. </li>
  532. </ul>
  533. </li>
  534. </ul>
  535. </div>
  536. </div>
  537. <!-- ========= END OF CLASS DATA ========= -->
  538. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  539. <div class="bottomNav"><a name="navbar_bottom">
  540. <!-- -->
  541. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  542. <!-- -->
  543. </a>
  544. <ul class="navList" title="Navigation">
  545. <li><a href="../../overview-summary.html">Overview</a></li>
  546. <li><a href="package-summary.html">Package</a></li>
  547. <li class="navBarCell1Rev">Class</li>
  548. <li><a href="package-tree.html">Tree</a></li>
  549. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  550. <li><a href="../../index-files/index-1.html">Index</a></li>
  551. <li><a href="../../help-doc.html">Help</a></li>
  552. </ul>
  553. </div>
  554. <div class="subNav">
  555. <ul class="navList">
  556. <li><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html" title="class in InterfaceGraphique.DialogBoxes"><span class="strong">Prev Class</span></a></li>
  557. <li><a href="../../InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.html" title="class in InterfaceGraphique.DialogBoxes"><span class="strong">Next Class</span></a></li>
  558. </ul>
  559. <ul class="navList">
  560. <li><a href="../../index.html?InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html" target="_top">Frames</a></li>
  561. <li><a href="NouvelleQuestionDialog.html" target="_top">No Frames</a></li>
  562. </ul>
  563. <ul class="navList" id="allclasses_navbar_bottom">
  564. <li><a href="../../allclasses-noframe.html">All Classes</a></li>
  565. </ul>
  566. <div>
  567. <script type="text/javascript"><!--
  568. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  569. if(window==top) {
  570. allClassesLink.style.display = "block";
  571. }
  572. else {
  573. allClassesLink.style.display = "none";
  574. }
  575. //-->
  576. </script>
  577. </div>
  578. <div>
  579. <ul class="subNavList">
  580. <li>Summary:&nbsp;</li>
  581. <li><a href="#nested_classes_inherited_from_class_javax.swing.JDialog">Nested</a>&nbsp;|&nbsp;</li>
  582. <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
  583. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  584. <li><a href="#method_summary">Method</a></li>
  585. </ul>
  586. <ul class="subNavList">
  587. <li>Detail:&nbsp;</li>
  588. <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
  589. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  590. <li><a href="#method_detail">Method</a></li>
  591. </ul>
  592. </div>
  593. <a name="skip-navbar_bottom">
  594. <!-- -->
  595. </a></div>
  596. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  597. </body>
  598. </html>