PCYoshi пре 9 година
родитељ
комит
bad851a40e

+ 128
- 82
java/.idea/workspace.xml Прегледај датотеку

@@ -7,10 +7,21 @@
7 7
   </component>
8 8
   <component name="ChangeListManager">
9 9
     <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="">
10
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/package-info.java" />
11
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java" />
12
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.java" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.java" />
13
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.java" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.java" />
10
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/GestionErreurs/BDDException.class" afterPath="$PROJECT_DIR$/out/production/java/GestionErreurs/BDDException.class" />
11
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/Bouton.class" afterPath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/Bouton.class" />
12
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/GestionBddDAO/ConfigBDD.class" afterPath="$PROJECT_DIR$/out/production/java/GestionBddDAO/ConfigBDD.class" />
13
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/GestionBddDAO/ConnexionBDD.class" afterPath="$PROJECT_DIR$/out/production/java/GestionBddDAO/ConnexionBDD.class" />
14
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.class" afterPath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.class" />
15
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/GestionBddDAO/GestionCategories.class" afterPath="$PROJECT_DIR$/out/production/java/GestionBddDAO/GestionCategories.class" />
16
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/GestionBddDAO/GestionQuestions.class" afterPath="$PROJECT_DIR$/out/production/java/GestionBddDAO/GestionQuestions.class" />
17
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/GestionBddDAO/GestionReponses.class" afterPath="$PROJECT_DIR$/out/production/java/GestionBddDAO/GestionReponses.class" />
18
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.class" afterPath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.class" />
19
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.class" afterPath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.class" />
20
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/SplashScreen.class" afterPath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/SplashScreen.class" />
21
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfaceGraphique/Bouton.java" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/Bouton.java" />
22
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/Modele/Categorie.java" afterPath="$PROJECT_DIR$/src/Modele/Categorie.java" />
23
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/Modele/Question.java" afterPath="$PROJECT_DIR$/src/Modele/Question.java" />
24
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" />
14 25
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
15 26
     </list>
16 27
     <ignored path="java.iws" />
@@ -33,64 +44,48 @@
33 44
   </component>
34 45
   <component name="FileEditorManager">
35 46
     <leaf>
36
-      <file leaf-file-name="ConnexionBddDialog.java" pinned="false" current-in-tab="false">
37
-        <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java">
47
+      <file leaf-file-name="NouvelleReponseDialog.java" pinned="false" current-in-tab="false">
48
+        <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.java">
38 49
           <provider selected="true" editor-type-id="text-editor">
39 50
             <state vertical-scroll-proportion="0.0">
40
-              <caret line="168" column="89" selection-start-line="168" selection-start-column="89" selection-end-line="168" selection-end-column="89" />
41
-              <folding>
42
-                <element signature="e#5485#5486#0" expanded="true" />
43
-                <element signature="e#5515#5516#0" expanded="true" />
44
-                <element signature="e#5622#5623#0" expanded="true" />
45
-                <element signature="e#5685#5686#0" expanded="true" />
46
-                <element signature="e#5792#5793#0" expanded="true" />
47
-                <element signature="e#5818#5819#0" expanded="true" />
48
-                <element signature="e#5965#5966#0" expanded="true" />
49
-                <element signature="e#5994#5995#0" expanded="true" />
50
-                <element signature="e#6155#6156#0" expanded="true" />
51
-                <element signature="e#6207#6208#0" expanded="true" />
52
-              </folding>
51
+              <caret line="162" column="28" selection-start-line="162" selection-start-column="28" selection-end-line="162" selection-end-column="28" />
52
+              <folding />
53 53
             </state>
54 54
           </provider>
55 55
         </entry>
56 56
       </file>
57
-      <file leaf-file-name="NouvelleQuestionDialog.java" pinned="false" current-in-tab="false">
58
-        <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.java">
57
+      <file leaf-file-name="Question.java" pinned="false" current-in-tab="true">
58
+        <entry file="file://$PROJECT_DIR$/src/Modele/Question.java">
59 59
           <provider selected="true" editor-type-id="text-editor">
60
-            <state vertical-scroll-proportion="0.0">
61
-              <caret line="118" column="81" selection-start-line="118" selection-start-column="81" selection-end-line="118" selection-end-column="81" />
60
+            <state vertical-scroll-proportion="0.09514926">
61
+              <caret line="4" column="17" selection-start-line="4" selection-start-column="17" selection-end-line="4" selection-end-column="17" />
62 62
               <folding>
63
-                <element signature="e#3434#3435#0" expanded="true" />
64
-                <element signature="e#3466#3467#0" expanded="true" />
65
-                <element signature="e#3618#3619#0" expanded="true" />
66
-                <element signature="e#3658#3659#0" expanded="true" />
63
+                <element signature="e#439#440#0" expanded="true" />
64
+                <element signature="e#461#462#0" expanded="true" />
65
+                <element signature="e#506#507#0" expanded="true" />
66
+                <element signature="e#537#538#0" expanded="true" />
67
+                <element signature="e#569#570#0" expanded="true" />
68
+                <element signature="e#591#592#0" expanded="true" />
69
+                <element signature="e#636#637#0" expanded="true" />
70
+                <element signature="e#667#668#0" expanded="true" />
71
+                <element signature="e#699#700#0" expanded="true" />
72
+                <element signature="e#721#722#0" expanded="true" />
73
+                <element signature="e#766#767#0" expanded="true" />
74
+                <element signature="e#797#798#0" expanded="true" />
75
+                <element signature="e#825#826#0" expanded="true" />
76
+                <element signature="e#846#847#0" expanded="true" />
77
+                <element signature="e#886#887#0" expanded="true" />
78
+                <element signature="e#915#916#0" expanded="true" />
67 79
               </folding>
68 80
             </state>
69 81
           </provider>
70 82
         </entry>
71 83
       </file>
72
-      <file leaf-file-name="NouvelleReponseDialog.java" pinned="false" current-in-tab="false">
73
-        <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.java">
84
+      <file leaf-file-name="Reponses.java" pinned="false" current-in-tab="false">
85
+        <entry file="file://$PROJECT_DIR$/src/Modele/Reponses.java">
74 86
           <provider selected="true" editor-type-id="text-editor">
75 87
             <state vertical-scroll-proportion="0.0">
76
-              <caret line="162" column="28" selection-start-line="162" selection-start-column="28" selection-end-line="162" selection-end-column="28" />
77
-              <folding>
78
-                <element signature="e#3868#3869#0" expanded="true" />
79
-                <element signature="e#3896#3897#0" expanded="true" />
80
-                <element signature="e#3992#3993#0" expanded="true" />
81
-                <element signature="e#4020#4021#0" expanded="true" />
82
-                <element signature="e#4109#4110#0" expanded="true" />
83
-                <element signature="e#4160#4161#0" expanded="true" />
84
-              </folding>
85
-            </state>
86
-          </provider>
87
-        </entry>
88
-      </file>
89
-      <file leaf-file-name="package-info.java" pinned="false" current-in-tab="true">
90
-        <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/package-info.java">
91
-          <provider selected="true" editor-type-id="text-editor">
92
-            <state vertical-scroll-proportion="0.09392265">
93
-              <caret line="2" column="17" selection-start-line="2" selection-start-column="17" selection-end-line="2" selection-end-column="17" />
88
+              <caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
94 89
               <folding />
95 90
             </state>
96 91
           </provider>
@@ -136,7 +131,6 @@
136 131
         <option value="$PROJECT_DIR$/src/ConnexionBddDialog.java" />
137 132
         <option value="$PROJECT_DIR$/src/InterfacePrincipale.java" />
138 133
         <option value="$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java" />
139
-        <option value="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" />
140 134
         <option value="$PROJECT_DIR$/src/GestionBddDAO/ConfigBDD.java" />
141 135
         <option value="$PROJECT_DIR$/src/GestionBddDAO/GestionQuestions.java" />
142 136
         <option value="$PROJECT_DIR$/src/GestionBddDAO/GestionCategories.java" />
@@ -149,6 +143,10 @@
149 143
         <option value="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.java" />
150 144
         <option value="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.java" />
151 145
         <option value="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/package-info.java" />
146
+        <option value="$PROJECT_DIR$/src/InterfaceGraphique/Bouton.java" />
147
+        <option value="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" />
148
+        <option value="$PROJECT_DIR$/src/Modele/Categorie.java" />
149
+        <option value="$PROJECT_DIR$/src/Modele/Question.java" />
152 150
       </list>
153 151
     </option>
154 152
   </component>
@@ -770,7 +768,13 @@
770 768
       <option name="project" value="LOCAL" />
771 769
       <updated>1433971052047</updated>
772 770
     </task>
773
-    <option name="localTasksCounter" value="31" />
771
+    <task id="LOCAL-00031" summary="avancées javadoc4">
772
+      <created>1433973812842</created>
773
+      <option name="number" value="00031" />
774
+      <option name="project" value="LOCAL" />
775
+      <updated>1433973812842</updated>
776
+    </task>
777
+    <option name="localTasksCounter" value="32" />
774 778
     <servers />
775 779
   </component>
776 780
   <component name="TodoView">
@@ -803,7 +807,7 @@
803 807
       <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
804 808
       <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
805 809
       <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2636778" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
806
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.30579966" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
810
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.30579966" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
807 811
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
808 812
       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
809 813
       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
@@ -823,7 +827,6 @@
823 827
     <option name="myLimit" value="2678400000" />
824 828
   </component>
825 829
   <component name="VcsManagerConfiguration">
826
-    <MESSAGE value="test" />
827 830
     <MESSAGE value="creation classe de base" />
828 831
     <MESSAGE value="evolution" />
829 832
     <MESSAGE value="evolution (pikachu evolue en raichu)" />
@@ -848,7 +851,8 @@
848 851
     <MESSAGE value="avancées javadoc" />
849 852
     <MESSAGE value="avancées javadoc2" />
850 853
     <MESSAGE value="avancées javadoc3" />
851
-    <option name="LAST_COMMIT_MESSAGE" value="avancées javadoc3" />
854
+    <MESSAGE value="avancées javadoc4" />
855
+    <option name="LAST_COMMIT_MESSAGE" value="avancées javadoc4" />
852 856
   </component>
853 857
   <component name="XDebuggerManager">
854 858
     <breakpoint-manager>
@@ -1010,14 +1014,6 @@
1010 1014
         </state>
1011 1015
       </provider>
1012 1016
     </entry>
1013
-    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java">
1014
-      <provider selected="true" editor-type-id="text-editor">
1015
-        <state vertical-scroll-proportion="0.47574627">
1016
-          <caret line="28" column="55" selection-start-line="28" selection-start-column="55" selection-end-line="28" selection-end-column="55" />
1017
-          <folding />
1018
-        </state>
1019
-      </provider>
1020
-    </entry>
1021 1017
     <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java">
1022 1018
       <provider selected="true" editor-type-id="text-editor">
1023 1019
         <state vertical-scroll-proportion="0.0">
@@ -1134,19 +1130,6 @@
1134 1130
         </state>
1135 1131
       </provider>
1136 1132
     </entry>
1137
-    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.java">
1138
-      <provider selected="true" editor-type-id="text-editor">
1139
-        <state vertical-scroll-proportion="0.0">
1140
-          <caret line="118" column="81" selection-start-line="118" selection-start-column="81" selection-end-line="118" selection-end-column="81" />
1141
-          <folding>
1142
-            <element signature="e#3434#3435#0" expanded="true" />
1143
-            <element signature="e#3466#3467#0" expanded="true" />
1144
-            <element signature="e#3618#3619#0" expanded="true" />
1145
-            <element signature="e#3658#3659#0" expanded="true" />
1146
-          </folding>
1147
-        </state>
1148
-      </provider>
1149
-    </entry>
1150 1133
     <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java">
1151 1134
       <provider selected="true" editor-type-id="text-editor">
1152 1135
         <state vertical-scroll-proportion="0.0">
@@ -1166,17 +1149,15 @@
1166 1149
         </state>
1167 1150
       </provider>
1168 1151
     </entry>
1169
-    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.java">
1152
+    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.java">
1170 1153
       <provider selected="true" editor-type-id="text-editor">
1171
-        <state vertical-scroll-proportion="0.0">
1172
-          <caret line="162" column="28" selection-start-line="162" selection-start-column="28" selection-end-line="162" selection-end-column="28" />
1154
+        <state vertical-scroll-proportion="0.61049724">
1155
+          <caret line="118" column="81" selection-start-line="118" selection-start-column="81" selection-end-line="118" selection-end-column="81" />
1173 1156
           <folding>
1174
-            <element signature="e#3868#3869#0" expanded="true" />
1175
-            <element signature="e#3896#3897#0" expanded="true" />
1176
-            <element signature="e#3992#3993#0" expanded="true" />
1177
-            <element signature="e#4020#4021#0" expanded="true" />
1178
-            <element signature="e#4109#4110#0" expanded="true" />
1179
-            <element signature="e#4160#4161#0" expanded="true" />
1157
+            <element signature="e#3434#3435#0" expanded="true" />
1158
+            <element signature="e#3466#3467#0" expanded="true" />
1159
+            <element signature="e#3618#3619#0" expanded="true" />
1160
+            <element signature="e#3658#3659#0" expanded="true" />
1180 1161
           </folding>
1181 1162
         </state>
1182 1163
       </provider>
@@ -1189,6 +1170,71 @@
1189 1170
         </state>
1190 1171
       </provider>
1191 1172
     </entry>
1173
+    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java">
1174
+      <provider selected="true" editor-type-id="text-editor">
1175
+        <state vertical-scroll-proportion="0.7292818">
1176
+          <caret line="119" column="27" selection-start-line="119" selection-start-column="27" selection-end-line="119" selection-end-column="27" />
1177
+          <folding />
1178
+        </state>
1179
+      </provider>
1180
+    </entry>
1181
+    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/Bouton.java">
1182
+      <provider selected="true" editor-type-id="text-editor">
1183
+        <state vertical-scroll-proportion="0.53038675">
1184
+          <caret line="12" column="47" selection-start-line="12" selection-start-column="47" selection-end-line="12" selection-end-column="47" />
1185
+          <folding />
1186
+        </state>
1187
+      </provider>
1188
+    </entry>
1189
+    <entry file="file://$PROJECT_DIR$/src/Modele/Categorie.java">
1190
+      <provider selected="true" editor-type-id="text-editor">
1191
+        <state vertical-scroll-proportion="0.8731343">
1192
+          <caret line="40" column="7" selection-start-line="40" selection-start-column="7" selection-end-line="40" selection-end-column="7" />
1193
+          <folding />
1194
+        </state>
1195
+      </provider>
1196
+    </entry>
1197
+    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.java">
1198
+      <provider selected="true" editor-type-id="text-editor">
1199
+        <state vertical-scroll-proportion="0.0">
1200
+          <caret line="162" column="28" selection-start-line="162" selection-start-column="28" selection-end-line="162" selection-end-column="28" />
1201
+          <folding />
1202
+        </state>
1203
+      </provider>
1204
+    </entry>
1205
+    <entry file="file://$PROJECT_DIR$/src/Modele/Reponses.java">
1206
+      <provider selected="true" editor-type-id="text-editor">
1207
+        <state vertical-scroll-proportion="0.0">
1208
+          <caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
1209
+          <folding />
1210
+        </state>
1211
+      </provider>
1212
+    </entry>
1213
+    <entry file="file://$PROJECT_DIR$/src/Modele/Question.java">
1214
+      <provider selected="true" editor-type-id="text-editor">
1215
+        <state vertical-scroll-proportion="0.09514926">
1216
+          <caret line="4" column="17" selection-start-line="4" selection-start-column="17" selection-end-line="4" selection-end-column="17" />
1217
+          <folding>
1218
+            <element signature="e#439#440#0" expanded="true" />
1219
+            <element signature="e#461#462#0" expanded="true" />
1220
+            <element signature="e#506#507#0" expanded="true" />
1221
+            <element signature="e#537#538#0" expanded="true" />
1222
+            <element signature="e#569#570#0" expanded="true" />
1223
+            <element signature="e#591#592#0" expanded="true" />
1224
+            <element signature="e#636#637#0" expanded="true" />
1225
+            <element signature="e#667#668#0" expanded="true" />
1226
+            <element signature="e#699#700#0" expanded="true" />
1227
+            <element signature="e#721#722#0" expanded="true" />
1228
+            <element signature="e#766#767#0" expanded="true" />
1229
+            <element signature="e#797#798#0" expanded="true" />
1230
+            <element signature="e#825#826#0" expanded="true" />
1231
+            <element signature="e#846#847#0" expanded="true" />
1232
+            <element signature="e#886#887#0" expanded="true" />
1233
+            <element signature="e#915#916#0" expanded="true" />
1234
+          </folding>
1235
+        </state>
1236
+      </provider>
1237
+    </entry>
1192 1238
   </component>
1193 1239
   <component name="masterDetails">
1194 1240
     <states>

BIN
java/out/production/java/GestionBddDAO/ConfigBDD.class Прегледај датотеку


BIN
java/out/production/java/GestionBddDAO/ConnexionBDD.class Прегледај датотеку


BIN
java/out/production/java/GestionBddDAO/GestionCategories.class Прегледај датотеку


BIN
java/out/production/java/GestionBddDAO/GestionQuestions.class Прегледај датотеку


BIN
java/out/production/java/GestionBddDAO/GestionReponses.class Прегледај датотеку


BIN
java/out/production/java/GestionErreurs/BDDException.class Прегледај датотеку


BIN
java/out/production/java/InterfaceGraphique/Bouton.class Прегледај датотеку


BIN
java/out/production/java/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.class Прегледај датотеку


BIN
java/out/production/java/InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.class Прегледај датотеку


BIN
java/out/production/java/InterfaceGraphique/DialogBoxes/NouvelleReponseDialog.class Прегледај датотеку


BIN
java/out/production/java/InterfaceGraphique/SplashScreen.class Прегледај датотеку


+ 8
- 0
java/src/InterfaceGraphique/Bouton.java Прегледај датотеку

@@ -2,8 +2,16 @@ package InterfaceGraphique;
2 2
 
3 3
 import javax.swing.*;
4 4
 
5
+/**
6
+ * Bouton personalisé
7
+ */
5 8
 public class Bouton extends JButton
6 9
 {
10
+	/**
11
+	 * Constructeur modifiant certaines propriétés graphique du bouton.
12
+	 * @param text Text affiché par le bouton.
13
+	 * @param icon Icone affiché par le bouton.
14
+	 */
7 15
 	public Bouton(String text, Icon icon)
8 16
 	{
9 17
 		super(text, icon);

+ 42
- 0
java/src/InterfaceGraphique/SplashScreen.java Прегледај датотеку

@@ -3,20 +3,58 @@ package InterfaceGraphique;
3 3
 import javax.swing.*;
4 4
 import java.awt.*;
5 5
 
6
+/**
7
+ * Ecran affiché au démarage de l'application.
8
+ * @author joseph
9
+ */
6 10
 public class SplashScreen extends JWindow
7 11
 {
12
+	/**
13
+	 * Barre de progression.
14
+	 */
8 15
 	private JProgressBar progressBar;
9 16
 
17
+	/**
18
+	 * Chargement configuration bdd.
19
+	 */
10 20
 	public static final int LOADING_BDD_CONF = 0;
21
+	/**
22
+	 * Connection à la bdd.
23
+	 */
11 24
 	public static final int LOADING_BDD_CONNECT = 1;
25
+	/**
26
+	 * Chargement des ressources graphiques.
27
+	 */
12 28
 	public static final int LOADING_RSC = 2;
29
+	/**
30
+	 * Création barre de statut.
31
+	 */
13 32
 	public static final int LOADING_CREATE_STATUS_BAR = 3;
33
+	/**
34
+	 * Création panneau de gestion des catégorie.
35
+	 */
14 36
 	public static final int LOADING_CREATE_PANEL_CATEGORIES = 4;
37
+	/**
38
+	 * Création panneau de gestion des réponses.
39
+	 */
15 40
 	public static final int LOADING_CREATE_PANEL_REPONSES = 5;
41
+	/**
42
+	 * Création panneau de gestion des questions.
43
+	 */
16 44
 	public static final int LOADING_CREATE_PANEL_QUESTIONS = 6;
45
+	/**
46
+	 * Chargement de l'IHM.
47
+	 */
17 48
 	public static final int LOADING_SETUP_UI = 7;
49
+	/**
50
+	 * Chargement terminé.
51
+	 */
18 52
 	public static final int LOADING_READY = 8;
19 53
 
54
+	/**
55
+	 * Constructeur initiant les différents membres et construisant l'interface du splashscreen.
56
+	 * @param owner Parent.
57
+	 */
20 58
 	public SplashScreen(JFrame owner) {
21 59
 		super(owner);
22 60
 
@@ -38,6 +76,10 @@ public class SplashScreen extends JWindow
38 76
 		this.setVisible(true);
39 77
 	}
40 78
 
79
+	/**
80
+	 * Change l'état du splashscreen: avance l'état de la barre de chargement et change son texte. Une pause de 250ms est imposée entre chaque état du chargement pour faciliter la lecture des message.
81
+	 * @param status Une des constantes de classes représentant un état du chargement.
82
+	 */
41 83
 	public void setLoadingProgress(int status)
42 84
 	{
43 85
 		switch (status)

+ 23
- 1
java/src/Modele/Categorie.java Прегледај датотеку

@@ -1,22 +1,44 @@
1 1
 package Modele;
2 2
 
3
+/**
4
+ * Modele pour la représentation d'une catégorie.
5
+ * @author joseph
6
+ */
3 7
 public class Categorie
4 8
 {
9
+	/**
10
+	 * Nom de la catégorie.
11
+	 */
5 12
 	protected String nom;
6 13
 
7
-
14
+	/**
15
+	 * Constructeur initiant le nom de la catégorie.
16
+	 * @param nom Nom de la catégorie.
17
+	 */
8 18
 	public Categorie(String nom) {
9 19
 		this.nom = nom;
10 20
 	}
11 21
 
22
+	/**
23
+	 * Renvoie le nom de la catégorie.
24
+	 * @return Nom de la catégorie.
25
+	 */
12 26
 	public String getNom() {
13 27
 		return nom;
14 28
 	}
15 29
 
30
+	/**
31
+	 * Modifie le nom de la catégorie.
32
+	 * @param nom Nom de la catégorie.
33
+	 */
16 34
 	public void setNom(String nom) {
17 35
 		this.nom = nom;
18 36
 	}
19 37
 
38
+	/**
39
+	 * Renvoie le nom de la catégorie.
40
+	 * @return Nom de la catégorie.
41
+	 */
20 42
 	public String toString() {
21 43
 		return nom;
22 44
 	}

+ 4
- 0
java/src/Modele/Question.java Прегледај датотеку

@@ -1,5 +1,9 @@
1 1
 package Modele;
2 2
 
3
+/**
4
+ * Modéle représentant une question.
5
+ * @author joseph
6
+ */
3 7
 public class Question
4 8
 {
5 9
 	protected String intitule;