1
2 package hoplugins.teamAnalyzer.ui;
3
4 import javax.swing.JLabel;
5 import javax.swing.JPanel;
6
7
8 /***
9 * This is an empty panel to display a lineup
10 */
11 public class TeamLineupPanel {
12
13
14 /*** The Panels and Label */
15 private JLabel m_jlTeamName = new JLabel();
16 private JPanel m_clLinkeAussenVerteidiger = new JPanel();
17 private JPanel m_clLinkeFluegel = new JPanel();
18 private JPanel m_clLinkeInnenVerteidiger = new JPanel();
19 private JPanel m_clLinkeMittelfeld = new JPanel();
20 private JPanel m_clLinkerSturm = new JPanel();
21 private JPanel m_clRechteAussenVerteidiger = new JPanel();
22 private JPanel m_clRechteFluegel = new JPanel();
23 private JPanel m_clRechteInnenVerteidiger = new JPanel();
24 private JPanel m_clRechteMittelfeld = new JPanel();
25 private JPanel m_clRechterSturm = new JPanel();
26 private JPanel m_clTorwart = new JPanel();
27 private double leftAttack;
28 private double leftDefence;
29 private double middleAttack;
30 private double middleDefence;
31 private double midfield;
32 private double rightAttack;
33 private double rightDefence;
34
35
36
37 /***
38 * Get the Panel Keeper
39 *
40 * @return TODO Missing Return Method Documentation
41 */
42 public JPanel getKeeperPanel() {
43 return m_clTorwart;
44 }
45
46 /***
47 * TODO Missing Method Documentation
48 *
49 * @param i TODO Missing Method Parameter Documentation
50 */
51 public void setLeftAttack(double i) {
52 leftAttack = i;
53 }
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151 public double getLeftAttack() {
152 return leftAttack;
153 }
154
155 /***
156 * Get the Panel Left Central Defender
157 *
158 * @return TODO Missing Return Method Documentation
159 */
160 public JPanel getLeftCentralDefenderPanel() {
161 return m_clLinkeInnenVerteidiger;
162 }
163
164 /***
165 * TODO Missing Method Documentation
166 *
167 * @param i TODO Missing Method Parameter Documentation
168 */
169 public void setLeftDefence(double i) {
170 leftDefence = i;
171 }
172
173 /***
174 * TODO Missing Method Documentation
175 *
176 * @return TODO Missing Return Method Documentation
177 */
178 public double getLeftDefence() {
179 return leftDefence;
180 }
181
182 /***
183 * Get the Panel Left Forward
184 *
185 * @return TODO Missing Return Method Documentation
186 */
187 public JPanel getLeftForwardPanel() {
188 return m_clLinkerSturm;
189 }
190
191 /***
192 * Get the Panel Left Midfield
193 *
194 * @return TODO Missing Return Method Documentation
195 */
196 public JPanel getLeftMidfieldPanel() {
197 return m_clLinkeMittelfeld;
198 }
199
200 /***
201 * Get the Panel Left Wing
202 *
203 * @return TODO Missing Return Method Documentation
204 */
205 public JPanel getLeftWingPanel() {
206 return m_clLinkeFluegel;
207 }
208
209 /***
210 * Get the Panel Left Wingback
211 *
212 * @return TODO Missing Return Method Documentation
213 */
214 public JPanel getLeftWingbackPanel() {
215 return m_clLinkeAussenVerteidiger;
216 }
217
218 /***
219 * TODO Missing Method Documentation
220 *
221 * @param i TODO Missing Method Parameter Documentation
222 */
223 public void setMiddleAttack(double i) {
224 middleAttack = i;
225 }
226
227 /***
228 * TODO Missing Method Documentation
229 *
230 * @return TODO Missing Return Method Documentation
231 */
232 public double getMiddleAttack() {
233 return middleAttack;
234 }
235
236 /***
237 * TODO Missing Method Documentation
238 *
239 * @param i TODO Missing Method Parameter Documentation
240 */
241 public void setMiddleDefence(double i) {
242 middleDefence = i;
243 }
244
245 /***
246 * TODO Missing Method Documentation
247 *
248 * @return TODO Missing Return Method Documentation
249 */
250 public double getMiddleDefence() {
251 return middleDefence;
252 }
253
254 /***
255 * TODO Missing Method Documentation
256 *
257 * @param i TODO Missing Method Parameter Documentation
258 */
259 public void setMidfield(double i) {
260 midfield = i;
261 }
262
263 /***
264 * TODO Missing Method Documentation
265 *
266 * @return TODO Missing Return Method Documentation
267 */
268 public double getMidfield() {
269 return midfield;
270 }
271
272 /***
273 * TODO Missing Method Documentation
274 *
275 * @param i TODO Missing Method Parameter Documentation
276 */
277 public void setRightAttack(double i) {
278 rightAttack = i;
279 }
280
281 /***
282 * TODO Missing Method Documentation
283 *
284 * @return TODO Missing Return Method Documentation
285 */
286 public double getRightAttack() {
287 return rightAttack;
288 }
289
290 /***
291 * Get the Panel Right Centraldefender
292 *
293 * @return TODO Missing Return Method Documentation
294 */
295 public JPanel getRightCentralDefenderPanel() {
296 return m_clRechteInnenVerteidiger;
297 }
298
299 /***
300 * TODO Missing Method Documentation
301 *
302 * @param i TODO Missing Method Parameter Documentation
303 */
304 public void setRightDefence(double i) {
305 rightDefence = i;
306 }
307
308 /***
309 * TODO Missing Method Documentation
310 *
311 * @return TODO Missing Return Method Documentation
312 */
313 public double getRightDefence() {
314 return rightDefence;
315 }
316
317 /***
318 * Get the Panel Right Forward
319 *
320 * @return TODO Missing Return Method Documentation
321 */
322 public JPanel getRightForwardPanel() {
323 return m_clRechterSturm;
324 }
325
326 /***
327 * Get the Panel Right Midfield
328 *
329 * @return TODO Missing Return Method Documentation
330 */
331 public JPanel getRightMidfieldPanel() {
332 return m_clRechteMittelfeld;
333 }
334
335 /***
336 * Get the Panel Right Wing
337 *
338 * @return TODO Missing Return Method Documentation
339 */
340 public JPanel getRightWingPanel() {
341 return m_clRechteFluegel;
342 }
343
344 /***
345 * Get the Panel Right Wingback
346 *
347 * @return TODO Missing Return Method Documentation
348 */
349 public JPanel getRightWingbackPanel() {
350 return m_clRechteAussenVerteidiger;
351 }
352
353
354
355 /***
356 * Set the Name of the Team
357 *
358 * @param teamname TODO Missing Constructuor Parameter Documentation
359 */
360 public void setTeamName(String teamname) {
361 m_jlTeamName.setText(teamname);
362 }
363
364 /***
365 * Get the Name of the Team
366 *
367 * @return TODO Missing Return Method Documentation
368 */
369 public JLabel getTeamPanel() {
370 return m_jlTeamName;
371 }
372 }