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

Question.html 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  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 Wed Jun 10 23:13:14 CEST 2015 -->
  6. <meta http-equiv="Content-Type" content="text/html" charset="utf8">
  7. <title>Question</title>
  8. <meta name="date" content="2015-06-10">
  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="Question";
  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="../Modele/Categorie.html" title="class in Modele"><span class="strong">Prev Class</span></a></li>
  40. <li><a href="../Modele/Reponses.html" title="class in Modele"><span class="strong">Next Class</span></a></li>
  41. </ul>
  42. <ul class="navList">
  43. <li><a href="../index.html?Modele/Question.html" target="_top">Frames</a></li>
  44. <li><a href="Question.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>Nested&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">Modele</div>
  83. <h2 title="Class Question" class="title">Class Question</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>Modele.Question</li>
  91. </ul>
  92. </li>
  93. </ul>
  94. <div class="description">
  95. <ul class="blockList">
  96. <li class="blockList">
  97. <hr>
  98. <br>
  99. <pre>public class <span class="strong">Question</span>
  100. extends java.lang.Object</pre>
  101. </li>
  102. </ul>
  103. </div>
  104. <div class="summary">
  105. <ul class="blockList">
  106. <li class="blockList">
  107. <!-- =========== FIELD SUMMARY =========== -->
  108. <ul class="blockList">
  109. <li class="blockList"><a name="field_summary">
  110. <!-- -->
  111. </a>
  112. <h3>Field Summary</h3>
  113. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  114. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  115. <tr>
  116. <th class="colFirst" scope="col">Modifier and Type</th>
  117. <th class="colLast" scope="col">Field and Description</th>
  118. </tr>
  119. <tr class="altColor">
  120. <td class="colFirst"><code>protected java.lang.String</code></td>
  121. <td class="colLast"><code><strong><a href="../Modele/Question.html#intitule">intitule</a></strong></code>&nbsp;</td>
  122. </tr>
  123. <tr class="rowColor">
  124. <td class="colFirst"><code>protected int</code></td>
  125. <td class="colLast"><code><strong><a href="../Modele/Question.html#reponse">reponse</a></strong></code>&nbsp;</td>
  126. </tr>
  127. <tr class="altColor">
  128. <td class="colFirst"><code>protected java.lang.String</code></td>
  129. <td class="colLast"><code><strong><a href="../Modele/Question.html#reponse1">reponse1</a></strong></code>&nbsp;</td>
  130. </tr>
  131. <tr class="rowColor">
  132. <td class="colFirst"><code>protected java.lang.String</code></td>
  133. <td class="colLast"><code><strong><a href="../Modele/Question.html#reponse2">reponse2</a></strong></code>&nbsp;</td>
  134. </tr>
  135. </table>
  136. </li>
  137. </ul>
  138. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  139. <ul class="blockList">
  140. <li class="blockList"><a name="constructor_summary">
  141. <!-- -->
  142. </a>
  143. <h3>Constructor Summary</h3>
  144. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  145. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  146. <tr>
  147. <th class="colOne" scope="col">Constructor and Description</th>
  148. </tr>
  149. <tr class="altColor">
  150. <td class="colOne"><code><strong><a href="../Modele/Question.html#Question(java.lang.String,%20java.lang.String,%20java.lang.String,%20int)">Question</a></strong>(java.lang.String&nbsp;intitule,
  151. java.lang.String&nbsp;reponse1,
  152. java.lang.String&nbsp;reponse2,
  153. int&nbsp;reponse)</code>&nbsp;</td>
  154. </tr>
  155. </table>
  156. </li>
  157. </ul>
  158. <!-- ========== METHOD SUMMARY =========== -->
  159. <ul class="blockList">
  160. <li class="blockList"><a name="method_summary">
  161. <!-- -->
  162. </a>
  163. <h3>Method Summary</h3>
  164. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  165. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  166. <tr>
  167. <th class="colFirst" scope="col">Modifier and Type</th>
  168. <th class="colLast" scope="col">Method and Description</th>
  169. </tr>
  170. <tr class="altColor">
  171. <td class="colFirst"><code>java.lang.String</code></td>
  172. <td class="colLast"><code><strong><a href="../Modele/Question.html#getIntitule()">getIntitule</a></strong>()</code>&nbsp;</td>
  173. </tr>
  174. <tr class="rowColor">
  175. <td class="colFirst"><code>int</code></td>
  176. <td class="colLast"><code><strong><a href="../Modele/Question.html#getReponse()">getReponse</a></strong>()</code>&nbsp;</td>
  177. </tr>
  178. <tr class="altColor">
  179. <td class="colFirst"><code>java.lang.String</code></td>
  180. <td class="colLast"><code><strong><a href="../Modele/Question.html#getReponse1()">getReponse1</a></strong>()</code>&nbsp;</td>
  181. </tr>
  182. <tr class="rowColor">
  183. <td class="colFirst"><code>java.lang.String</code></td>
  184. <td class="colLast"><code><strong><a href="../Modele/Question.html#getReponse2()">getReponse2</a></strong>()</code>&nbsp;</td>
  185. </tr>
  186. <tr class="altColor">
  187. <td class="colFirst"><code>void</code></td>
  188. <td class="colLast"><code><strong><a href="../Modele/Question.html#setIntitule(java.lang.String)">setIntitule</a></strong>(java.lang.String&nbsp;intitule)</code>&nbsp;</td>
  189. </tr>
  190. <tr class="rowColor">
  191. <td class="colFirst"><code>void</code></td>
  192. <td class="colLast"><code><strong><a href="../Modele/Question.html#setReponse(int)">setReponse</a></strong>(int&nbsp;reponse)</code>&nbsp;</td>
  193. </tr>
  194. <tr class="altColor">
  195. <td class="colFirst"><code>void</code></td>
  196. <td class="colLast"><code><strong><a href="../Modele/Question.html#setReponse1(java.lang.String)">setReponse1</a></strong>(java.lang.String&nbsp;reponse1)</code>&nbsp;</td>
  197. </tr>
  198. <tr class="rowColor">
  199. <td class="colFirst"><code>void</code></td>
  200. <td class="colLast"><code><strong><a href="../Modele/Question.html#setReponse2(java.lang.String)">setReponse2</a></strong>(java.lang.String&nbsp;reponse2)</code>&nbsp;</td>
  201. </tr>
  202. <tr class="altColor">
  203. <td class="colFirst"><code>java.lang.String</code></td>
  204. <td class="colLast"><code><strong><a href="../Modele/Question.html#toString()">toString</a></strong>()</code>&nbsp;</td>
  205. </tr>
  206. </table>
  207. <ul class="blockList">
  208. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  209. <!-- -->
  210. </a>
  211. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  212. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  213. </ul>
  214. </li>
  215. </ul>
  216. </li>
  217. </ul>
  218. </div>
  219. <div class="details">
  220. <ul class="blockList">
  221. <li class="blockList">
  222. <!-- ============ FIELD DETAIL =========== -->
  223. <ul class="blockList">
  224. <li class="blockList"><a name="field_detail">
  225. <!-- -->
  226. </a>
  227. <h3>Field Detail</h3>
  228. <a name="intitule">
  229. <!-- -->
  230. </a>
  231. <ul class="blockList">
  232. <li class="blockList">
  233. <h4>intitule</h4>
  234. <pre>protected&nbsp;java.lang.String intitule</pre>
  235. </li>
  236. </ul>
  237. <a name="reponse1">
  238. <!-- -->
  239. </a>
  240. <ul class="blockList">
  241. <li class="blockList">
  242. <h4>reponse1</h4>
  243. <pre>protected&nbsp;java.lang.String reponse1</pre>
  244. </li>
  245. </ul>
  246. <a name="reponse2">
  247. <!-- -->
  248. </a>
  249. <ul class="blockList">
  250. <li class="blockList">
  251. <h4>reponse2</h4>
  252. <pre>protected&nbsp;java.lang.String reponse2</pre>
  253. </li>
  254. </ul>
  255. <a name="reponse">
  256. <!-- -->
  257. </a>
  258. <ul class="blockListLast">
  259. <li class="blockList">
  260. <h4>reponse</h4>
  261. <pre>protected&nbsp;int reponse</pre>
  262. </li>
  263. </ul>
  264. </li>
  265. </ul>
  266. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  267. <ul class="blockList">
  268. <li class="blockList"><a name="constructor_detail">
  269. <!-- -->
  270. </a>
  271. <h3>Constructor Detail</h3>
  272. <a name="Question(java.lang.String, java.lang.String, java.lang.String, int)">
  273. <!-- -->
  274. </a>
  275. <ul class="blockListLast">
  276. <li class="blockList">
  277. <h4>Question</h4>
  278. <pre>public&nbsp;Question(java.lang.String&nbsp;intitule,
  279. java.lang.String&nbsp;reponse1,
  280. java.lang.String&nbsp;reponse2,
  281. int&nbsp;reponse)</pre>
  282. </li>
  283. </ul>
  284. </li>
  285. </ul>
  286. <!-- ============ METHOD DETAIL ========== -->
  287. <ul class="blockList">
  288. <li class="blockList"><a name="method_detail">
  289. <!-- -->
  290. </a>
  291. <h3>Method Detail</h3>
  292. <a name="getIntitule()">
  293. <!-- -->
  294. </a>
  295. <ul class="blockList">
  296. <li class="blockList">
  297. <h4>getIntitule</h4>
  298. <pre>public&nbsp;java.lang.String&nbsp;getIntitule()</pre>
  299. </li>
  300. </ul>
  301. <a name="setIntitule(java.lang.String)">
  302. <!-- -->
  303. </a>
  304. <ul class="blockList">
  305. <li class="blockList">
  306. <h4>setIntitule</h4>
  307. <pre>public&nbsp;void&nbsp;setIntitule(java.lang.String&nbsp;intitule)</pre>
  308. </li>
  309. </ul>
  310. <a name="getReponse1()">
  311. <!-- -->
  312. </a>
  313. <ul class="blockList">
  314. <li class="blockList">
  315. <h4>getReponse1</h4>
  316. <pre>public&nbsp;java.lang.String&nbsp;getReponse1()</pre>
  317. </li>
  318. </ul>
  319. <a name="setReponse1(java.lang.String)">
  320. <!-- -->
  321. </a>
  322. <ul class="blockList">
  323. <li class="blockList">
  324. <h4>setReponse1</h4>
  325. <pre>public&nbsp;void&nbsp;setReponse1(java.lang.String&nbsp;reponse1)</pre>
  326. </li>
  327. </ul>
  328. <a name="getReponse2()">
  329. <!-- -->
  330. </a>
  331. <ul class="blockList">
  332. <li class="blockList">
  333. <h4>getReponse2</h4>
  334. <pre>public&nbsp;java.lang.String&nbsp;getReponse2()</pre>
  335. </li>
  336. </ul>
  337. <a name="setReponse2(java.lang.String)">
  338. <!-- -->
  339. </a>
  340. <ul class="blockList">
  341. <li class="blockList">
  342. <h4>setReponse2</h4>
  343. <pre>public&nbsp;void&nbsp;setReponse2(java.lang.String&nbsp;reponse2)</pre>
  344. </li>
  345. </ul>
  346. <a name="getReponse()">
  347. <!-- -->
  348. </a>
  349. <ul class="blockList">
  350. <li class="blockList">
  351. <h4>getReponse</h4>
  352. <pre>public&nbsp;int&nbsp;getReponse()</pre>
  353. </li>
  354. </ul>
  355. <a name="setReponse(int)">
  356. <!-- -->
  357. </a>
  358. <ul class="blockList">
  359. <li class="blockList">
  360. <h4>setReponse</h4>
  361. <pre>public&nbsp;void&nbsp;setReponse(int&nbsp;reponse)</pre>
  362. </li>
  363. </ul>
  364. <a name="toString()">
  365. <!-- -->
  366. </a>
  367. <ul class="blockListLast">
  368. <li class="blockList">
  369. <h4>toString</h4>
  370. <pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
  371. <dl>
  372. <dt><strong>Overrides:</strong></dt>
  373. <dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  374. </dl>
  375. </li>
  376. </ul>
  377. </li>
  378. </ul>
  379. </li>
  380. </ul>
  381. </div>
  382. </div>
  383. <!-- ========= END OF CLASS DATA ========= -->
  384. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  385. <div class="bottomNav"><a name="navbar_bottom">
  386. <!-- -->
  387. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  388. <!-- -->
  389. </a>
  390. <ul class="navList" title="Navigation">
  391. <li><a href="../overview-summary.html">Overview</a></li>
  392. <li><a href="package-summary.html">Package</a></li>
  393. <li class="navBarCell1Rev">Class</li>
  394. <li><a href="package-tree.html">Tree</a></li>
  395. <li><a href="../deprecated-list.html">Deprecated</a></li>
  396. <li><a href="../index-files/index-1.html">Index</a></li>
  397. <li><a href="../help-doc.html">Help</a></li>
  398. </ul>
  399. </div>
  400. <div class="subNav">
  401. <ul class="navList">
  402. <li><a href="../Modele/Categorie.html" title="class in Modele"><span class="strong">Prev Class</span></a></li>
  403. <li><a href="../Modele/Reponses.html" title="class in Modele"><span class="strong">Next Class</span></a></li>
  404. </ul>
  405. <ul class="navList">
  406. <li><a href="../index.html?Modele/Question.html" target="_top">Frames</a></li>
  407. <li><a href="Question.html" target="_top">No Frames</a></li>
  408. </ul>
  409. <ul class="navList" id="allclasses_navbar_bottom">
  410. <li><a href="../allclasses-noframe.html">All Classes</a></li>
  411. </ul>
  412. <div>
  413. <script type="text/javascript"><!--
  414. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  415. if(window==top) {
  416. allClassesLink.style.display = "block";
  417. }
  418. else {
  419. allClassesLink.style.display = "none";
  420. }
  421. //-->
  422. </script>
  423. </div>
  424. <div>
  425. <ul class="subNavList">
  426. <li>Summary:&nbsp;</li>
  427. <li>Nested&nbsp;|&nbsp;</li>
  428. <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
  429. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  430. <li><a href="#method_summary">Method</a></li>
  431. </ul>
  432. <ul class="subNavList">
  433. <li>Detail:&nbsp;</li>
  434. <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
  435. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  436. <li><a href="#method_detail">Method</a></li>
  437. </ul>
  438. </div>
  439. <a name="skip-navbar_bottom">
  440. <!-- -->
  441. </a></div>
  442. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  443. </body>
  444. </html>