Revision 16185 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/LabelLegendEvent.java
LabelLegendEvent.java | ||
---|---|---|
44 | 44 |
|
45 | 45 |
|
46 | 46 |
/** |
47 |
* Evento de cambio de un texto. |
|
48 |
* |
|
47 |
* |
|
48 |
* <p>The class <code>LabelLegendEvent</code> stores all necessary information of an event |
|
49 |
* produced when a modification in a text is done.</p> |
|
50 |
* |
|
51 |
* @see FMapEvent |
|
49 | 52 |
* @author Vicente Caballero Navarro |
50 | 53 |
*/ |
51 | 54 |
public class LabelLegendEvent extends LegendEvent { |
... | ... | |
53 | 56 |
private int newFieldId; |
54 | 57 |
|
55 | 58 |
/** |
56 |
* Crea un nuevo LabelLegendEvent.
|
|
59 |
* Creates a new LabelLegendEvent.
|
|
57 | 60 |
* |
58 |
* @param oldFieldId Antiguo ?ndice de campo.
|
|
59 |
* @param newFieldId Nuevo ?ndice de campo.
|
|
61 |
* @param oldFieldId Old field index.
|
|
62 |
* @param newFieldId New field index.
|
|
60 | 63 |
*/ |
61 | 64 |
public LabelLegendEvent(int oldFieldId, int newFieldId) { |
62 | 65 |
this.oldFieldId = oldFieldId; |
... | ... | |
64 | 67 |
} |
65 | 68 |
|
66 | 69 |
/** |
67 |
* Devuelve el nuevo ?ndice del campo.
|
|
70 |
* Returns the new field index.
|
|
68 | 71 |
* |
69 |
* @return ?ndice.
|
|
72 |
* @return index.
|
|
70 | 73 |
*/ |
71 | 74 |
public int getNewFieldId() { |
72 | 75 |
return newFieldId; |
73 | 76 |
} |
74 | 77 |
|
75 | 78 |
/** |
76 |
* Devuelve el antiguo ?ndice del campo.
|
|
79 |
* Returns the old field index.
|
|
77 | 80 |
* |
78 |
* @return ?ndice.
|
|
81 |
* @return index.
|
|
79 | 82 |
*/ |
80 | 83 |
public int getOldFieldId() { |
81 | 84 |
return oldFieldId; |
82 | 85 |
} |
83 |
} |
|
86 |
} |
Also available in: Unified diff