root / branches / v10 / frameworks / _fwAndami / src / com / iver / andami / plugins / config / generate / SkinExtensionType.java @ 10715
History | View | Annotate | Download (18.8 KB)
1 |
/*
|
---|---|
2 |
* This class was automatically generated with
|
3 |
* <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
|
4 |
* Schema.
|
5 |
* $Id: SkinExtensionType.java 10715 2007-03-12 15:55:40Z jcampos $
|
6 |
*/
|
7 |
|
8 |
package com.iver.andami.plugins.config.generate; |
9 |
|
10 |
//---------------------------------/
|
11 |
//- Imported classes and packages -/
|
12 |
//---------------------------------/
|
13 |
|
14 |
import java.io.IOException; |
15 |
import java.io.Reader; |
16 |
import java.io.Serializable; |
17 |
import java.io.Writer; |
18 |
import java.util.Enumeration; |
19 |
import java.util.Vector; |
20 |
import org.exolab.castor.xml.MarshalException; |
21 |
import org.exolab.castor.xml.Marshaller; |
22 |
import org.exolab.castor.xml.Unmarshaller; |
23 |
import org.exolab.castor.xml.ValidationException; |
24 |
import org.xml.sax.ContentHandler; |
25 |
|
26 |
/**
|
27 |
* Class SkinExtensionType.
|
28 |
*
|
29 |
* @version $Revision: 10715 $ $Date: 2007-03-12 16:55:40 +0100 (Mon, 12 Mar 2007) $
|
30 |
*/
|
31 |
public class SkinExtensionType implements java.io.Serializable { |
32 |
|
33 |
|
34 |
//--------------------------/
|
35 |
//- Class/Member Variables -/
|
36 |
//--------------------------/
|
37 |
|
38 |
/**
|
39 |
* Field _className
|
40 |
*/
|
41 |
private java.lang.String _className;
|
42 |
|
43 |
/**
|
44 |
* Field _menuList
|
45 |
*/
|
46 |
private java.util.Vector _menuList;
|
47 |
|
48 |
/**
|
49 |
* Field _toolBarList
|
50 |
*/
|
51 |
private java.util.Vector _toolBarList;
|
52 |
|
53 |
/**
|
54 |
* Field _comboButtonList
|
55 |
*/
|
56 |
private java.util.Vector _comboButtonList;
|
57 |
|
58 |
/**
|
59 |
* Field _comboScaleList
|
60 |
*/
|
61 |
private java.util.Vector _comboScaleList;
|
62 |
|
63 |
|
64 |
//----------------/
|
65 |
//- Constructors -/
|
66 |
//----------------/
|
67 |
|
68 |
public SkinExtensionType() {
|
69 |
super();
|
70 |
_menuList = new Vector(); |
71 |
_toolBarList = new Vector(); |
72 |
_comboButtonList = new Vector(); |
73 |
_comboScaleList = new Vector(); |
74 |
} //-- com.iver.andami.plugins.config.generate.SkinExtensionType()
|
75 |
|
76 |
|
77 |
//-----------/
|
78 |
//- Methods -/
|
79 |
//-----------/
|
80 |
|
81 |
/**
|
82 |
* Method addComboButton
|
83 |
*
|
84 |
* @param vComboButton
|
85 |
*/
|
86 |
public void addComboButton(com.iver.andami.plugins.config.generate.ComboButton vComboButton) |
87 |
throws java.lang.IndexOutOfBoundsException
|
88 |
{ |
89 |
_comboButtonList.addElement(vComboButton); |
90 |
} //-- void addComboButton(com.iver.andami.plugins.config.generate.ComboButton)
|
91 |
|
92 |
/**
|
93 |
* Method addComboButton
|
94 |
*
|
95 |
* @param index
|
96 |
* @param vComboButton
|
97 |
*/
|
98 |
public void addComboButton(int index, com.iver.andami.plugins.config.generate.ComboButton vComboButton) |
99 |
throws java.lang.IndexOutOfBoundsException
|
100 |
{ |
101 |
_comboButtonList.insertElementAt(vComboButton, index); |
102 |
} //-- void addComboButton(int, com.iver.andami.plugins.config.generate.ComboButton)
|
103 |
|
104 |
/**
|
105 |
* Method addComboScale
|
106 |
*
|
107 |
* @param vComboScale
|
108 |
*/
|
109 |
public void addComboScale(com.iver.andami.plugins.config.generate.ComboScale vComboScale) |
110 |
throws java.lang.IndexOutOfBoundsException
|
111 |
{ |
112 |
_comboScaleList.addElement(vComboScale); |
113 |
} //-- void addComboScale(com.iver.andami.plugins.config.generate.ComboScale)
|
114 |
|
115 |
/**
|
116 |
* Method addComboScale
|
117 |
*
|
118 |
* @param index
|
119 |
* @param vComboScale
|
120 |
*/
|
121 |
public void addComboScale(int index, com.iver.andami.plugins.config.generate.ComboScale vComboScale) |
122 |
throws java.lang.IndexOutOfBoundsException
|
123 |
{ |
124 |
_comboScaleList.insertElementAt(vComboScale, index); |
125 |
} //-- void addComboScale(int, com.iver.andami.plugins.config.generate.ComboScale)
|
126 |
|
127 |
/**
|
128 |
* Method addMenu
|
129 |
*
|
130 |
* @param vMenu
|
131 |
*/
|
132 |
public void addMenu(com.iver.andami.plugins.config.generate.Menu vMenu) |
133 |
throws java.lang.IndexOutOfBoundsException
|
134 |
{ |
135 |
_menuList.addElement(vMenu); |
136 |
} //-- void addMenu(com.iver.andami.plugins.config.generate.Menu)
|
137 |
|
138 |
/**
|
139 |
* Method addMenu
|
140 |
*
|
141 |
* @param index
|
142 |
* @param vMenu
|
143 |
*/
|
144 |
public void addMenu(int index, com.iver.andami.plugins.config.generate.Menu vMenu) |
145 |
throws java.lang.IndexOutOfBoundsException
|
146 |
{ |
147 |
_menuList.insertElementAt(vMenu, index); |
148 |
} //-- void addMenu(int, com.iver.andami.plugins.config.generate.Menu)
|
149 |
|
150 |
/**
|
151 |
* Method addToolBar
|
152 |
*
|
153 |
* @param vToolBar
|
154 |
*/
|
155 |
public void addToolBar(com.iver.andami.plugins.config.generate.ToolBar vToolBar) |
156 |
throws java.lang.IndexOutOfBoundsException
|
157 |
{ |
158 |
_toolBarList.addElement(vToolBar); |
159 |
} //-- void addToolBar(com.iver.andami.plugins.config.generate.ToolBar)
|
160 |
|
161 |
/**
|
162 |
* Method addToolBar
|
163 |
*
|
164 |
* @param index
|
165 |
* @param vToolBar
|
166 |
*/
|
167 |
public void addToolBar(int index, com.iver.andami.plugins.config.generate.ToolBar vToolBar) |
168 |
throws java.lang.IndexOutOfBoundsException
|
169 |
{ |
170 |
_toolBarList.insertElementAt(vToolBar, index); |
171 |
} //-- void addToolBar(int, com.iver.andami.plugins.config.generate.ToolBar)
|
172 |
|
173 |
/**
|
174 |
* Method enumerateComboButton
|
175 |
*/
|
176 |
public java.util.Enumeration enumerateComboButton()
|
177 |
{ |
178 |
return _comboButtonList.elements();
|
179 |
} //-- java.util.Enumeration enumerateComboButton()
|
180 |
|
181 |
/**
|
182 |
* Method enumerateComboScale
|
183 |
*/
|
184 |
public java.util.Enumeration enumerateComboScale()
|
185 |
{ |
186 |
return _comboScaleList.elements();
|
187 |
} //-- java.util.Enumeration enumerateComboScale()
|
188 |
|
189 |
/**
|
190 |
* Method enumerateMenu
|
191 |
*/
|
192 |
public java.util.Enumeration enumerateMenu()
|
193 |
{ |
194 |
return _menuList.elements();
|
195 |
} //-- java.util.Enumeration enumerateMenu()
|
196 |
|
197 |
/**
|
198 |
* Method enumerateToolBar
|
199 |
*/
|
200 |
public java.util.Enumeration enumerateToolBar()
|
201 |
{ |
202 |
return _toolBarList.elements();
|
203 |
} //-- java.util.Enumeration enumerateToolBar()
|
204 |
|
205 |
/**
|
206 |
* Returns the value of field 'className'.
|
207 |
*
|
208 |
* @return the value of field 'className'.
|
209 |
*/
|
210 |
public java.lang.String getClassName()
|
211 |
{ |
212 |
return this._className; |
213 |
} //-- java.lang.String getClassName()
|
214 |
|
215 |
/**
|
216 |
* Method getComboButton
|
217 |
*
|
218 |
* @param index
|
219 |
*/
|
220 |
public com.iver.andami.plugins.config.generate.ComboButton getComboButton(int index) |
221 |
throws java.lang.IndexOutOfBoundsException
|
222 |
{ |
223 |
//-- check bounds for index
|
224 |
if ((index < 0) || (index > _comboButtonList.size())) { |
225 |
throw new IndexOutOfBoundsException(); |
226 |
} |
227 |
|
228 |
return (com.iver.andami.plugins.config.generate.ComboButton) _comboButtonList.elementAt(index);
|
229 |
} //-- com.iver.andami.plugins.config.generate.ComboButton getComboButton(int)
|
230 |
|
231 |
/**
|
232 |
* Method getComboButton
|
233 |
*/
|
234 |
public com.iver.andami.plugins.config.generate.ComboButton[] getComboButton() |
235 |
{ |
236 |
int size = _comboButtonList.size();
|
237 |
com.iver.andami.plugins.config.generate.ComboButton[] mArray = new com.iver.andami.plugins.config.generate.ComboButton[size]; |
238 |
for (int index = 0; index < size; index++) { |
239 |
mArray[index] = (com.iver.andami.plugins.config.generate.ComboButton) _comboButtonList.elementAt(index); |
240 |
} |
241 |
return mArray;
|
242 |
} //-- com.iver.andami.plugins.config.generate.ComboButton[] getComboButton()
|
243 |
|
244 |
/**
|
245 |
* Method getComboButtonCount
|
246 |
*/
|
247 |
public int getComboButtonCount() |
248 |
{ |
249 |
return _comboButtonList.size();
|
250 |
} //-- int getComboButtonCount()
|
251 |
|
252 |
/**
|
253 |
* Method getComboScale
|
254 |
*
|
255 |
* @param index
|
256 |
*/
|
257 |
public com.iver.andami.plugins.config.generate.ComboScale getComboScale(int index) |
258 |
throws java.lang.IndexOutOfBoundsException
|
259 |
{ |
260 |
//-- check bounds for index
|
261 |
if ((index < 0) || (index > _comboScaleList.size())) { |
262 |
throw new IndexOutOfBoundsException(); |
263 |
} |
264 |
|
265 |
return (com.iver.andami.plugins.config.generate.ComboScale) _comboScaleList.elementAt(index);
|
266 |
} //-- com.iver.andami.plugins.config.generate.ComboScale getComboScale(int)
|
267 |
|
268 |
/**
|
269 |
* Method getComboScale
|
270 |
*/
|
271 |
public com.iver.andami.plugins.config.generate.ComboScale[] getComboScale() |
272 |
{ |
273 |
int size = _comboScaleList.size();
|
274 |
com.iver.andami.plugins.config.generate.ComboScale[] mArray = new com.iver.andami.plugins.config.generate.ComboScale[size]; |
275 |
for (int index = 0; index < size; index++) { |
276 |
mArray[index] = (com.iver.andami.plugins.config.generate.ComboScale) _comboScaleList.elementAt(index); |
277 |
} |
278 |
return mArray;
|
279 |
} //-- com.iver.andami.plugins.config.generate.ComboScale[] getComboScale()
|
280 |
|
281 |
/**
|
282 |
* Method getComboScaleCount
|
283 |
*/
|
284 |
public int getComboScaleCount() |
285 |
{ |
286 |
return _comboScaleList.size();
|
287 |
} //-- int getComboScaleCount()
|
288 |
|
289 |
/**
|
290 |
* Method getMenu
|
291 |
*
|
292 |
* @param index
|
293 |
*/
|
294 |
public com.iver.andami.plugins.config.generate.Menu getMenu(int index) |
295 |
throws java.lang.IndexOutOfBoundsException
|
296 |
{ |
297 |
//-- check bounds for index
|
298 |
if ((index < 0) || (index > _menuList.size())) { |
299 |
throw new IndexOutOfBoundsException(); |
300 |
} |
301 |
|
302 |
return (com.iver.andami.plugins.config.generate.Menu) _menuList.elementAt(index);
|
303 |
} //-- com.iver.andami.plugins.config.generate.Menu getMenu(int)
|
304 |
|
305 |
/**
|
306 |
* Method getMenu
|
307 |
*/
|
308 |
public com.iver.andami.plugins.config.generate.Menu[] getMenu() |
309 |
{ |
310 |
int size = _menuList.size();
|
311 |
com.iver.andami.plugins.config.generate.Menu[] mArray = new com.iver.andami.plugins.config.generate.Menu[size]; |
312 |
for (int index = 0; index < size; index++) { |
313 |
mArray[index] = (com.iver.andami.plugins.config.generate.Menu) _menuList.elementAt(index); |
314 |
} |
315 |
return mArray;
|
316 |
} //-- com.iver.andami.plugins.config.generate.Menu[] getMenu()
|
317 |
|
318 |
/**
|
319 |
* Method getMenuCount
|
320 |
*/
|
321 |
public int getMenuCount() |
322 |
{ |
323 |
return _menuList.size();
|
324 |
} //-- int getMenuCount()
|
325 |
|
326 |
/**
|
327 |
* Method getToolBar
|
328 |
*
|
329 |
* @param index
|
330 |
*/
|
331 |
public com.iver.andami.plugins.config.generate.ToolBar getToolBar(int index) |
332 |
throws java.lang.IndexOutOfBoundsException
|
333 |
{ |
334 |
//-- check bounds for index
|
335 |
if ((index < 0) || (index > _toolBarList.size())) { |
336 |
throw new IndexOutOfBoundsException(); |
337 |
} |
338 |
|
339 |
return (com.iver.andami.plugins.config.generate.ToolBar) _toolBarList.elementAt(index);
|
340 |
} //-- com.iver.andami.plugins.config.generate.ToolBar getToolBar(int)
|
341 |
|
342 |
/**
|
343 |
* Method getToolBar
|
344 |
*/
|
345 |
public com.iver.andami.plugins.config.generate.ToolBar[] getToolBar() |
346 |
{ |
347 |
int size = _toolBarList.size();
|
348 |
com.iver.andami.plugins.config.generate.ToolBar[] mArray = new com.iver.andami.plugins.config.generate.ToolBar[size]; |
349 |
for (int index = 0; index < size; index++) { |
350 |
mArray[index] = (com.iver.andami.plugins.config.generate.ToolBar) _toolBarList.elementAt(index); |
351 |
} |
352 |
return mArray;
|
353 |
} //-- com.iver.andami.plugins.config.generate.ToolBar[] getToolBar()
|
354 |
|
355 |
/**
|
356 |
* Method getToolBarCount
|
357 |
*/
|
358 |
public int getToolBarCount() |
359 |
{ |
360 |
return _toolBarList.size();
|
361 |
} //-- int getToolBarCount()
|
362 |
|
363 |
/**
|
364 |
* Method isValid
|
365 |
*/
|
366 |
public boolean isValid() |
367 |
{ |
368 |
try {
|
369 |
validate(); |
370 |
} |
371 |
catch (org.exolab.castor.xml.ValidationException vex) {
|
372 |
return false; |
373 |
} |
374 |
return true; |
375 |
} //-- boolean isValid()
|
376 |
|
377 |
/**
|
378 |
* Method marshal
|
379 |
*
|
380 |
* @param out
|
381 |
*/
|
382 |
public void marshal(java.io.Writer out) |
383 |
throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
384 |
{ |
385 |
|
386 |
Marshaller.marshal(this, out);
|
387 |
} //-- void marshal(java.io.Writer)
|
388 |
|
389 |
/**
|
390 |
* Method marshal
|
391 |
*
|
392 |
* @param handler
|
393 |
*/
|
394 |
public void marshal(org.xml.sax.ContentHandler handler) |
395 |
throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
396 |
{ |
397 |
|
398 |
Marshaller.marshal(this, handler);
|
399 |
} //-- void marshal(org.xml.sax.ContentHandler)
|
400 |
|
401 |
/**
|
402 |
* Method removeAllComboButton
|
403 |
*/
|
404 |
public void removeAllComboButton() |
405 |
{ |
406 |
_comboButtonList.removeAllElements(); |
407 |
} //-- void removeAllComboButton()
|
408 |
|
409 |
/**
|
410 |
* Method removeAllComboScale
|
411 |
*/
|
412 |
public void removeAllComboScale() |
413 |
{ |
414 |
_comboScaleList.removeAllElements(); |
415 |
} //-- void removeAllComboScale()
|
416 |
|
417 |
/**
|
418 |
* Method removeAllMenu
|
419 |
*/
|
420 |
public void removeAllMenu() |
421 |
{ |
422 |
_menuList.removeAllElements(); |
423 |
} //-- void removeAllMenu()
|
424 |
|
425 |
/**
|
426 |
* Method removeAllToolBar
|
427 |
*/
|
428 |
public void removeAllToolBar() |
429 |
{ |
430 |
_toolBarList.removeAllElements(); |
431 |
} //-- void removeAllToolBar()
|
432 |
|
433 |
/**
|
434 |
* Method removeComboButton
|
435 |
*
|
436 |
* @param index
|
437 |
*/
|
438 |
public com.iver.andami.plugins.config.generate.ComboButton removeComboButton(int index) |
439 |
{ |
440 |
java.lang.Object obj = _comboButtonList.elementAt(index); |
441 |
_comboButtonList.removeElementAt(index); |
442 |
return (com.iver.andami.plugins.config.generate.ComboButton) obj;
|
443 |
} //-- com.iver.andami.plugins.config.generate.ComboButton removeComboButton(int)
|
444 |
|
445 |
/**
|
446 |
* Method removeComboScale
|
447 |
*
|
448 |
* @param index
|
449 |
*/
|
450 |
public com.iver.andami.plugins.config.generate.ComboScale removeComboScale(int index) |
451 |
{ |
452 |
java.lang.Object obj = _comboScaleList.elementAt(index); |
453 |
_comboScaleList.removeElementAt(index); |
454 |
return (com.iver.andami.plugins.config.generate.ComboScale) obj;
|
455 |
} //-- com.iver.andami.plugins.config.generate.ComboScale removeComboScale(int)
|
456 |
|
457 |
/**
|
458 |
* Method removeMenu
|
459 |
*
|
460 |
* @param index
|
461 |
*/
|
462 |
public com.iver.andami.plugins.config.generate.Menu removeMenu(int index) |
463 |
{ |
464 |
java.lang.Object obj = _menuList.elementAt(index); |
465 |
_menuList.removeElementAt(index); |
466 |
return (com.iver.andami.plugins.config.generate.Menu) obj;
|
467 |
} //-- com.iver.andami.plugins.config.generate.Menu removeMenu(int)
|
468 |
|
469 |
/**
|
470 |
* Method removeToolBar
|
471 |
*
|
472 |
* @param index
|
473 |
*/
|
474 |
public com.iver.andami.plugins.config.generate.ToolBar removeToolBar(int index) |
475 |
{ |
476 |
java.lang.Object obj = _toolBarList.elementAt(index); |
477 |
_toolBarList.removeElementAt(index); |
478 |
return (com.iver.andami.plugins.config.generate.ToolBar) obj;
|
479 |
} //-- com.iver.andami.plugins.config.generate.ToolBar removeToolBar(int)
|
480 |
|
481 |
/**
|
482 |
* Sets the value of field 'className'.
|
483 |
*
|
484 |
* @param className the value of field 'className'.
|
485 |
*/
|
486 |
public void setClassName(java.lang.String className) |
487 |
{ |
488 |
this._className = className;
|
489 |
} //-- void setClassName(java.lang.String)
|
490 |
|
491 |
/**
|
492 |
* Method setComboButton
|
493 |
*
|
494 |
* @param index
|
495 |
* @param vComboButton
|
496 |
*/
|
497 |
public void setComboButton(int index, com.iver.andami.plugins.config.generate.ComboButton vComboButton) |
498 |
throws java.lang.IndexOutOfBoundsException
|
499 |
{ |
500 |
//-- check bounds for index
|
501 |
if ((index < 0) || (index > _comboButtonList.size())) { |
502 |
throw new IndexOutOfBoundsException(); |
503 |
} |
504 |
_comboButtonList.setElementAt(vComboButton, index); |
505 |
} //-- void setComboButton(int, com.iver.andami.plugins.config.generate.ComboButton)
|
506 |
|
507 |
/**
|
508 |
* Method setComboButton
|
509 |
*
|
510 |
* @param comboButtonArray
|
511 |
*/
|
512 |
public void setComboButton(com.iver.andami.plugins.config.generate.ComboButton[] comboButtonArray) |
513 |
{ |
514 |
//-- copy array
|
515 |
_comboButtonList.removeAllElements(); |
516 |
for (int i = 0; i < comboButtonArray.length; i++) { |
517 |
_comboButtonList.addElement(comboButtonArray[i]); |
518 |
} |
519 |
} //-- void setComboButton(com.iver.andami.plugins.config.generate.ComboButton)
|
520 |
|
521 |
/**
|
522 |
* Method setComboScale
|
523 |
*
|
524 |
* @param index
|
525 |
* @param vComboScale
|
526 |
*/
|
527 |
public void setComboScale(int index, com.iver.andami.plugins.config.generate.ComboScale vComboScale) |
528 |
throws java.lang.IndexOutOfBoundsException
|
529 |
{ |
530 |
//-- check bounds for index
|
531 |
if ((index < 0) || (index > _comboScaleList.size())) { |
532 |
throw new IndexOutOfBoundsException(); |
533 |
} |
534 |
_comboScaleList.setElementAt(vComboScale, index); |
535 |
} //-- void setComboScale(int, com.iver.andami.plugins.config.generate.ComboScale)
|
536 |
|
537 |
/**
|
538 |
* Method setComboScale
|
539 |
*
|
540 |
* @param comboScaleArray
|
541 |
*/
|
542 |
public void setComboScale(com.iver.andami.plugins.config.generate.ComboScale[] comboScaleArray) |
543 |
{ |
544 |
//-- copy array
|
545 |
_comboScaleList.removeAllElements(); |
546 |
for (int i = 0; i < comboScaleArray.length; i++) { |
547 |
_comboScaleList.addElement(comboScaleArray[i]); |
548 |
} |
549 |
} //-- void setComboScale(com.iver.andami.plugins.config.generate.ComboScale)
|
550 |
|
551 |
/**
|
552 |
* Method setMenu
|
553 |
*
|
554 |
* @param index
|
555 |
* @param vMenu
|
556 |
*/
|
557 |
public void setMenu(int index, com.iver.andami.plugins.config.generate.Menu vMenu) |
558 |
throws java.lang.IndexOutOfBoundsException
|
559 |
{ |
560 |
//-- check bounds for index
|
561 |
if ((index < 0) || (index > _menuList.size())) { |
562 |
throw new IndexOutOfBoundsException(); |
563 |
} |
564 |
_menuList.setElementAt(vMenu, index); |
565 |
} //-- void setMenu(int, com.iver.andami.plugins.config.generate.Menu)
|
566 |
|
567 |
/**
|
568 |
* Method setMenu
|
569 |
*
|
570 |
* @param menuArray
|
571 |
*/
|
572 |
public void setMenu(com.iver.andami.plugins.config.generate.Menu[] menuArray) |
573 |
{ |
574 |
//-- copy array
|
575 |
_menuList.removeAllElements(); |
576 |
for (int i = 0; i < menuArray.length; i++) { |
577 |
_menuList.addElement(menuArray[i]); |
578 |
} |
579 |
} //-- void setMenu(com.iver.andami.plugins.config.generate.Menu)
|
580 |
|
581 |
/**
|
582 |
* Method setToolBar
|
583 |
*
|
584 |
* @param index
|
585 |
* @param vToolBar
|
586 |
*/
|
587 |
public void setToolBar(int index, com.iver.andami.plugins.config.generate.ToolBar vToolBar) |
588 |
throws java.lang.IndexOutOfBoundsException
|
589 |
{ |
590 |
//-- check bounds for index
|
591 |
if ((index < 0) || (index > _toolBarList.size())) { |
592 |
throw new IndexOutOfBoundsException(); |
593 |
} |
594 |
_toolBarList.setElementAt(vToolBar, index); |
595 |
} //-- void setToolBar(int, com.iver.andami.plugins.config.generate.ToolBar)
|
596 |
|
597 |
/**
|
598 |
* Method setToolBar
|
599 |
*
|
600 |
* @param toolBarArray
|
601 |
*/
|
602 |
public void setToolBar(com.iver.andami.plugins.config.generate.ToolBar[] toolBarArray) |
603 |
{ |
604 |
//-- copy array
|
605 |
_toolBarList.removeAllElements(); |
606 |
for (int i = 0; i < toolBarArray.length; i++) { |
607 |
_toolBarList.addElement(toolBarArray[i]); |
608 |
} |
609 |
} //-- void setToolBar(com.iver.andami.plugins.config.generate.ToolBar)
|
610 |
|
611 |
/**
|
612 |
* Method unmarshal
|
613 |
*
|
614 |
* @param reader
|
615 |
*/
|
616 |
public static java.lang.Object unmarshal(java.io.Reader reader) |
617 |
throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
618 |
{ |
619 |
return (com.iver.andami.plugins.config.generate.SkinExtensionType) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.SkinExtensionType.class, reader);
|
620 |
} //-- java.lang.Object unmarshal(java.io.Reader)
|
621 |
|
622 |
/**
|
623 |
* Method validate
|
624 |
*/
|
625 |
public void validate() |
626 |
throws org.exolab.castor.xml.ValidationException
|
627 |
{ |
628 |
org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
|
629 |
validator.validate(this);
|
630 |
} //-- void validate()
|
631 |
|
632 |
} |