burger-quizz/doc/java/class_page.html
2018-06-07 10:57:43 +02:00

318 lines
14 KiB
HTML
Executable File

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>BurgerQuizz: Page Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> </div>
<div class="headertitle">
<h1>Page Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Page" --><!-- doxytag: inherits="java::awt::event::ActionListener,javax::swing::event::ListSelectionListener" -->
<p>Classe abstraite représentant la partie fixe des pages de catégorie, groupe et question.
<a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Page:</div>
<div class="dyncontent">
<div class="center">
<img src="class_page.png" usemap="#Page_map" alt=""/>
<map id="Page_map" name="Page_map">
<area href="class_page_categorie.html" alt="PageCategorie" shape="rect" coords="0,56,96,80"/>
<area href="class_page_group.html" alt="PageGroup" shape="rect" coords="106,56,202,80"/>
<area href="class_page_question.html" alt="PageQuestion" shape="rect" coords="212,56,308,80"/>
</map>
</div>
<p><a href="class_page-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">abstract void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#a5c02d959a09be34702c08194ca15bd7f">onOpened</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">this appelle cette méthode quand on ouvre l'onglet <a href="#a5c02d959a09be34702c08194ca15bd7f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">abstract void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#afbe0a3cd338ccd322704b0b29cd5896c">onListSelection</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">this appelle cette méthode quand on clique sur un élément de la liste <a href="#afbe0a3cd338ccd322704b0b29cd5896c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">abstract void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#a0cf1c0ee733bd18166063b80d259ec72">modify</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Methode appelée par un clic sur le bouton "Modifier". <a href="#a0cf1c0ee733bd18166063b80d259ec72"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">abstract void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#a50ce50663841862094af6aa57ce106d0">remove</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Methode appelée par un clic sur le bouton "Supprimer". <a href="#a50ce50663841862094af6aa57ce106d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">abstract void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#ad7f2d59b599d3722e3eae5a4366284c3">add</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Methode appelée par un clic sur le bouton "Ajouter". <a href="#ad7f2d59b599d3722e3eae5a4366284c3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#a1e9fa6448078247718afc1635f9e0947">Page</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Place les elements sur la page. <a href="#a1e9fa6448078247718afc1635f9e0947"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#ae2575b63de854601536d166a77c0d54a">actionPerformed</a> (ActionEvent e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#a7b0f4be86985d80b9972a8c73db61364">valueChanged</a> (ListSelectionEvent e)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#af0b791f9a1b6f2cb801b7af62e0cbe0e">setListContent</a> (ArrayList&lt; <a class="el" href="class_list_row.html">ListRow</a> &gt; content)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_list_row.html">ListRow</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#a054a57632469498aecc4eefe7b94e19d">getSelectedListRow</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Récupère la cellule selectionnée dans la liste. <a href="#a054a57632469498aecc4eefe7b94e19d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_page.html#a32cd460734df3ca7e66456e1de8a19b2">setListTop</a> (int top)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Classe abstraite représentant la partie fixe des pages de catégorie, groupe et question. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1e9fa6448078247718afc1635f9e0947"></a><!-- doxytag: member="Page::Page" ref="a1e9fa6448078247718afc1635f9e0947" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Page.Page </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Place les elements sur la page. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae2575b63de854601536d166a77c0d54a"></a><!-- doxytag: member="Page::actionPerformed" ref="ae2575b63de854601536d166a77c0d54a" args="(ActionEvent e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Page.actionPerformed </td>
<td>(</td>
<td class="paramtype">ActionEvent&nbsp;</td>
<td class="paramname"> <em>e</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ad7f2d59b599d3722e3eae5a4366284c3"></a><!-- doxytag: member="Page::add" ref="ad7f2d59b599d3722e3eae5a4366284c3" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">abstract void Page.add </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Methode appelée par un clic sur le bouton "Ajouter". </p>
<p>Implemented in <a class="el" href="class_page_categorie.html#a2eb25c8930f62d390abbff80916d2fd5">PageCategorie</a>.</p>
</div>
</div>
<a class="anchor" id="a054a57632469498aecc4eefe7b94e19d"></a><!-- doxytag: member="Page::getSelectedListRow" ref="a054a57632469498aecc4eefe7b94e19d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_list_row.html">ListRow</a> Page.getSelectedListRow </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Récupère la cellule selectionnée dans la liste. </p>
</div>
</div>
<a class="anchor" id="a0cf1c0ee733bd18166063b80d259ec72"></a><!-- doxytag: member="Page::modify" ref="a0cf1c0ee733bd18166063b80d259ec72" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">abstract void Page.modify </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Methode appelée par un clic sur le bouton "Modifier". </p>
<p>Implemented in <a class="el" href="class_page_categorie.html#a0a9e58ed250a4a3fecf2d8d03ce8a0f9">PageCategorie</a>.</p>
</div>
</div>
<a class="anchor" id="afbe0a3cd338ccd322704b0b29cd5896c"></a><!-- doxytag: member="Page::onListSelection" ref="afbe0a3cd338ccd322704b0b29cd5896c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">abstract void Page.onListSelection </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>this appelle cette méthode quand on clique sur un élément de la liste </p>
<p>Implemented in <a class="el" href="class_page_categorie.html#a37d3b356c22373cb4c4615a7c9e82cf4">PageCategorie</a>.</p>
</div>
</div>
<a class="anchor" id="a5c02d959a09be34702c08194ca15bd7f"></a><!-- doxytag: member="Page::onOpened" ref="a5c02d959a09be34702c08194ca15bd7f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">abstract void Page.onOpened </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>this appelle cette méthode quand on ouvre l'onglet </p>
<p>Implemented in <a class="el" href="class_page_categorie.html#acae4a18ab58186e867764974f0b4187a">PageCategorie</a>.</p>
</div>
</div>
<a class="anchor" id="a50ce50663841862094af6aa57ce106d0"></a><!-- doxytag: member="Page::remove" ref="a50ce50663841862094af6aa57ce106d0" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">abstract void Page.remove </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Methode appelée par un clic sur le bouton "Supprimer". </p>
<p>Implemented in <a class="el" href="class_page_categorie.html#a70f3ff6f36384fbc0373b22beab44c1e">PageCategorie</a>.</p>
</div>
</div>
<a class="anchor" id="af0b791f9a1b6f2cb801b7af62e0cbe0e"></a><!-- doxytag: member="Page::setListContent" ref="af0b791f9a1b6f2cb801b7af62e0cbe0e" args="(ArrayList&lt; ListRow &gt; content)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Page.setListContent </td>
<td>(</td>
<td class="paramtype">ArrayList&lt; <a class="el" href="class_list_row.html">ListRow</a> &gt;&nbsp;</td>
<td class="paramname"> <em>content</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Permet de changer le contenu de la liste </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>content</em>&nbsp;</td><td>ArrayList contenant des <a class="el" href="class_list_row.html" title="Ligne pour les jComboBox ou les jList.">ListRow</a> représentant une entrée </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a32cd460734df3ca7e66456e1de8a19b2"></a><!-- doxytag: member="Page::setListTop" ref="a32cd460734df3ca7e66456e1de8a19b2" args="(int top)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Page.setListTop </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>top</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Modifie la hauteur de la liste, tout en la gardant alignée en bas (redimentionnement auto) </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>top</em>&nbsp;</td><td>Pixe </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a7b0f4be86985d80b9972a8c73db61364"></a><!-- doxytag: member="Page::valueChanged" ref="a7b0f4be86985d80b9972a8c73db61364" args="(ListSelectionEvent e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Page.valueChanged </td>
<td>(</td>
<td class="paramtype">ListSelectionEvent&nbsp;</td>
<td class="paramname"> <em>e</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/media/data/ProjWeb/Java/<a class="el" href="_page_8java.html">Page.java</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue May 29 2012 09:05:38 for BurgerQuizz by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>