60 |
jpm |
1 |
<html>
|
|
|
2 |
<head>
|
|
|
3 |
<title>Documentation</title>
|
|
|
4 |
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
|
|
|
5 |
<link rel='stylesheet' href='style.css' />
|
|
|
6 |
</head>
|
|
|
7 |
|
|
|
8 |
<body>
|
|
|
9 |
<div align='center'>
|
|
|
10 |
<table cellpadding='0' cellspacing='0' id='contenu' class='round' style='width: 80%; margin-bottom: 20px'>
|
|
|
11 |
<tr>
|
|
|
12 |
<td class='borderhg'> </td>
|
|
|
13 |
<td class='borderh'> </td>
|
|
|
14 |
<td class='cornerhd'></td>
|
|
|
15 |
</tr>
|
|
|
16 |
<tr>
|
|
|
17 |
<td class='borderg'> </td>
|
|
|
18 |
<td><a id="top"></a><h2> Class Positionable</h2><div class="description">
|
|
|
19 |
<p>
|
|
|
20 |
<a href="Positionable.html">Positionable</a> est une <span style="text-decoration: underline">interface</span> que doivent implémenter les classes peuvent être positionnées par rapport à un <a href="Point.html">Point</a>.
|
|
|
21 |
</p>
|
|
|
22 |
</div><ul class="links"><li><a href="index.html">Retourner voir la liste de toutes les classes</a></li></ul><h2>Méthodes et propriétés</h2><ul class="constants">
|
|
|
23 |
<li>
|
|
|
24 |
<span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.LEFT">LEFT</a> := <span class="default">1</span>
|
|
|
25 |
</li>
|
|
|
26 |
<li>
|
|
|
27 |
<span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.RIGHT">RIGHT</a> := <span class="default">2</span>
|
|
|
28 |
</li>
|
|
|
29 |
<li>
|
|
|
30 |
<span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.CENTER">CENTER</a> := <span class="default">3</span>
|
|
|
31 |
</li>
|
|
|
32 |
<li>
|
|
|
33 |
<span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.TOP">TOP</a> := <span class="default">4</span>
|
|
|
34 |
</li>
|
|
|
35 |
<li>
|
|
|
36 |
<span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.BOTTOM">BOTTOM</a> := <span class="default">5</span>
|
|
|
37 |
</li>
|
|
|
38 |
<li>
|
|
|
39 |
<span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.MIDDLE">MIDDLE</a> := <span class="default">6</span>
|
|
|
40 |
</li>
|
|
|
41 |
</ul><ul class="methods"><li>
|
|
|
42 |
<span class="access">public</span> <a href="Positionable.html#method.setAlign">setAlign</a>(<span class="type">int</span> <span class="argument">$h</span> := <span class="default">NULL</span>, <span class="type">int</span> <span class="argument">$v</span> := <span class="default">NULL</span>)
|
|
|
43 |
</li></ul><h2>Documentation</h2><ul class="doc">
|
|
|
44 |
<li class="constant">
|
|
|
45 |
<a id="constant.LEFT"></a><span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.LEFT">LEFT</a> := <span class="default">1</span><div class="description">
|
|
|
46 |
Désigne un alignement à gauche.
|
|
|
47 |
</div>
|
|
|
48 |
<div class="description-bottom"><a href="Positionable.html#top">Remonter</a></div>
|
|
|
49 |
</li>
|
|
|
50 |
<li class="constant">
|
|
|
51 |
<a id="constant.RIGHT"></a><span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.RIGHT">RIGHT</a> := <span class="default">2</span><div class="description">
|
|
|
52 |
Désigne un alignement à droite.
|
|
|
53 |
</div>
|
|
|
54 |
<div class="description-bottom"><a href="Positionable.html#top">Remonter</a></div>
|
|
|
55 |
</li>
|
|
|
56 |
<li class="constant">
|
|
|
57 |
<a id="constant.CENTER"></a><span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.CENTER">CENTER</a> := <span class="default">3</span><div class="description">
|
|
|
58 |
Désigne un alignement au centre.
|
|
|
59 |
</div>
|
|
|
60 |
<div class="description-bottom"><a href="Positionable.html#top">Remonter</a></div>
|
|
|
61 |
</li>
|
|
|
62 |
<li class="constant">
|
|
|
63 |
<a id="constant.TOP"></a><span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.TOP">TOP</a> := <span class="default">4</span><div class="description">
|
|
|
64 |
Désigne un alignement en haut.
|
|
|
65 |
</div>
|
|
|
66 |
<div class="description-bottom"><a href="Positionable.html#top">Remonter</a></div>
|
|
|
67 |
</li>
|
|
|
68 |
<li class="constant">
|
|
|
69 |
<a id="constant.BOTTOM"></a><span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.BOTTOM">BOTTOM</a> := <span class="default">5</span><div class="description">
|
|
|
70 |
Désigne un alignement en bas.
|
|
|
71 |
</div>
|
|
|
72 |
<div class="description-bottom"><a href="Positionable.html#top">Remonter</a></div>
|
|
|
73 |
</li>
|
|
|
74 |
<li class="constant">
|
|
|
75 |
<a id="constant.MIDDLE"></a><span class="access">const</span> <span class="type">int</span> <a href="Positionable.html#constant.MIDDLE">MIDDLE</a> := <span class="default">6</span><div class="description">
|
|
|
76 |
Désigne un alignement au centre.
|
|
|
77 |
</div>
|
|
|
78 |
<div class="description-bottom"><a href="Positionable.html#top">Remonter</a></div>
|
|
|
79 |
</li>
|
|
|
80 |
<li class="method">
|
|
|
81 |
<a id="method.setAlign"></a><span class="access">public</span> <a href="Positionable.html#method.setAlign">setAlign</a>(<span class="type">int</span> <span class="argument">$h</span> := <span class="default">NULL</span>, <span class="type">int</span> <span class="argument">$v</span> := <span class="default">NULL</span>)
|
|
|
82 |
<div class="description">
|
|
|
83 |
Change l'alignement par rapport au point où l'objet sera affiché.
|
|
|
84 |
$h correspond à l'alignement horizontal (<a href="Positionable.html#constant.LEFT">Positionable::LEFT</a>, <a href="Positionable.html#constant.RIGHT">Positionable::RIGHT</a> ou <a href="Positionable.html#constant.CENTER">Positionable::CENTER</a>) et $v à l'alignement vertical (<a href="Positionable.html#constant.TOP">Positionable::TOP</a>, <a href="Positionable.html#constant.BOTTOM">Positionable::BOTTOM</a> ou <a href="Positionable.html#constant.MIDDLE">Positionable::MIDDLE</a>).
|
|
|
85 |
Si vous ne souhaitez pas modifier une des deux valeurs, vous pouvez passer NULL.
|
|
|
86 |
</div>
|
|
|
87 |
<div class="description-bottom"><a href="Positionable.html#top">Remonter</a></div>
|
|
|
88 |
</li>
|
|
|
89 |
</ul>
|
|
|
90 |
</td>
|
|
|
91 |
<td class='borderd'> </td>
|
|
|
92 |
</tr>
|
|
|
93 |
<tr>
|
|
|
94 |
<td class='cornerbg'></td>
|
|
|
95 |
<td class='borderb'> </td>
|
|
|
96 |
<td class='cornerbd'></td>
|
|
|
97 |
</tr>
|
|
|
98 |
</table>
|
|
|
99 |
</div>
|
|
|
100 |
</body>
|
|
|
101 |
</html>
|