Revision 20100 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/IntervalLegendEvent.java
IntervalLegendEvent.java | ||
---|---|---|
41 | 41 |
package com.iver.cit.gvsig.fmap.rendering; |
42 | 42 |
|
43 | 43 |
/** |
44 |
* Evento de cambio de un intervalo
|
|
44 |
* <p>Event produced when changes the interval value of a classification legend.</p>
|
|
45 | 45 |
*/ |
46 | 46 |
public class IntervalLegendEvent extends ClassificationLegendEvent { |
47 |
/** |
|
48 |
* <p>Previous legend interval.</p> |
|
49 |
*/ |
|
47 | 50 |
private IInterval oldInterval; |
51 |
|
|
52 |
/** |
|
53 |
* <p>New legend interval.</p> |
|
54 |
*/ |
|
48 | 55 |
private IInterval newInterval; |
49 | 56 |
|
50 | 57 |
/** |
51 |
* Crea un nuevo IntervalLegendEvent.
|
|
58 |
* <p>Creates a new legend interval event.</p>
|
|
52 | 59 |
* |
53 |
* @param oldInterval Antiguo intervalo.
|
|
54 |
* @param newInterval Nuevo intervalo.
|
|
60 |
* @param oldInterval previous legend interval
|
|
61 |
* @param newInterval new legend interval
|
|
55 | 62 |
*/ |
56 | 63 |
public IntervalLegendEvent(IInterval oldInterval, IInterval newInterval) { |
57 | 64 |
this.oldInterval = oldInterval; |
... | ... | |
59 | 66 |
} |
60 | 67 |
|
61 | 68 |
/** |
62 |
* Devuelve el intervalo anterior.
|
|
69 |
* <p>Gets the previous legend interval.</p>
|
|
63 | 70 |
* |
64 |
* @return Intervalo anterior.
|
|
71 |
* @return the previous legend interval
|
|
65 | 72 |
*/ |
66 | 73 |
public IInterval getOldInterval() { |
67 | 74 |
return oldInterval; |
68 | 75 |
} |
69 | 76 |
|
70 | 77 |
/** |
71 |
* Devuelve el nuevo intervalo.
|
|
78 |
* <p>Gets the new legend interval.</p>
|
|
72 | 79 |
* |
73 |
* @return Intervalo nuevo.
|
|
80 |
* @return the new legend interval
|
|
74 | 81 |
*/ |
75 | 82 |
public IInterval getNewInterval() { |
76 | 83 |
return newInterval; |
Also available in: Unified diff