Revision 38564 branches/v2_0_0_prep/frameworks/_fwAndami/src/org/gvsig/andami/plugins/config/generate/Menu.java
Menu.java | ||
---|---|---|
32 | 32 |
//--------------------------/ |
33 | 33 |
//- Class/Member Variables -/ |
34 | 34 |
//--------------------------/ |
35 |
|
|
36 | 35 |
/** |
36 |
* Field _name |
|
37 |
*/ |
|
38 |
private java.lang.String _name; |
|
39 |
|
|
40 |
/** |
|
37 | 41 |
* Field _actionCommand |
38 | 42 |
*/ |
39 | 43 |
private java.lang.String _actionCommand; |
... | ... | |
71 | 75 |
/** |
72 | 76 |
* Field _position |
73 | 77 |
*/ |
74 |
private int _position;
|
|
78 |
private long _position;
|
|
75 | 79 |
|
76 | 80 |
/** |
77 | 81 |
* keeps track of state for field: _position |
... | ... | |
183 | 187 |
* |
184 | 188 |
* @return the value of field 'position'. |
185 | 189 |
*/ |
186 |
public int getPosition()
|
|
190 |
public long getPosition()
|
|
187 | 191 |
{ |
188 | 192 |
return this._position; |
189 | 193 |
} //-- int getPosition() |
... | ... | |
239 | 243 |
} //-- boolean isValid() |
240 | 244 |
|
241 | 245 |
/** |
246 |
* Returns the value of field 'name'. |
|
247 |
* |
|
248 |
* @return the value of field 'name'. |
|
249 |
*/ |
|
250 |
public java.lang.String getName() |
|
251 |
{ |
|
252 |
return this._name; |
|
253 |
} //-- java.lang.String getName() |
|
254 |
|
|
255 |
/** |
|
242 | 256 |
* Method marshal |
243 | 257 |
* |
244 | 258 |
* @param out |
... | ... | |
324 | 338 |
} //-- void setMnemonic(java.lang.String) |
325 | 339 |
|
326 | 340 |
/** |
341 |
* Sets the value of field 'name'. |
|
342 |
* |
|
343 |
* @param name the value of field 'name'. |
|
344 |
*/ |
|
345 |
public void setName(java.lang.String name) |
|
346 |
{ |
|
347 |
this._name = name; |
|
348 |
} //-- void setName(java.lang.String) |
|
349 |
|
|
350 |
/** |
|
327 | 351 |
* Sets the value of field 'position'. |
328 | 352 |
* |
329 | 353 |
* @param position the value of field 'position'. |
330 | 354 |
*/ |
331 |
public void setPosition(int position)
|
|
355 |
public void setPosition(long position)
|
|
332 | 356 |
{ |
333 |
this._position = position;
|
|
357 |
this._position = position;
|
|
334 | 358 |
this._has_position = true; |
335 | 359 |
} //-- void setPosition(int) |
336 | 360 |
|
... | ... | |
375 | 399 |
validator.validate(this); |
376 | 400 |
} //-- void validate() |
377 | 401 |
|
402 |
public String toString() { |
|
403 |
StringBuffer buffer = new StringBuffer(); |
|
404 |
buffer.append("Menu {"); |
|
405 |
buffer.append("name='").append(this._name).append("', "); |
|
406 |
buffer.append("text='").append(this._text).append("', "); |
|
407 |
buffer.append("tooltip='").append(this._tooltip).append("', "); |
|
408 |
buffer.append("actionCommand='").append(this._actionCommand).append("', "); |
|
409 |
buffer.append("position='").append(this._position).append("', "); |
|
410 |
buffer.append("icon='").append(this._icon).append("', "); |
|
411 |
buffer.append("enableText='").append(this._enableText).append("' }"); |
|
412 |
return buffer.toString(); |
|
413 |
} |
|
378 | 414 |
} |
Also available in: Unified diff