Revision 20100 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/LabelLegendEvent.java

View differences:

LabelLegendEvent.java
44 44

  
45 45

  
46 46
/**
47
 * Evento de cambio de un texto.
47
 * <p>Event produced when changes the value in the field of labeling of a legend.</p>
48 48
 *
49 49
 * @author Vicente Caballero Navarro
50 50
 */
51 51
public class LabelLegendEvent extends LegendEvent {
52
	/**
53
	 * <p>Previous field value.</p>
54
	 */
52 55
	private int oldFieldId;
56
	
57
	/**
58
	 * <p>New field value.</p>
59
	 */
53 60
	private int newFieldId;
54 61

  
55 62
	/**
56
	 * Crea un nuevo LabelLegendEvent.
63
	 * <p>Creates a new legend label event.</p>
57 64
	 *
58
	 * @param oldFieldId Antiguo ?ndice de campo.
59
	 * @param newFieldId Nuevo ?ndice de campo.
65
	 * @param oldFieldId previous field value
66
	 * @param newFieldId new field value
60 67
	 */
61 68
	public LabelLegendEvent(int oldFieldId, int newFieldId) {
62 69
		this.oldFieldId = oldFieldId;
......
64 71
	}
65 72

  
66 73
	/**
67
	 * Devuelve el nuevo ?ndice del campo.
74
	 * <p>Gets the new field value.</p>
68 75
	 *
69
	 * @return ?ndice.
76
	 * @return the new field value
70 77
	 */
71 78
	public int getNewFieldId() {
72 79
		return newFieldId;
73 80
	}
74 81

  
75 82
	/**
76
	 * Devuelve el antiguo ?ndice del campo.
83
	 * <p>Gets the previous field value.</p>
77 84
	 *
78
	 * @return ?ndice.
85
	 * @return the previous field value
79 86
	 */
80 87
	public int getOldFieldId() {
81 88
		return oldFieldId;

Also available in: Unified diff