Revision 20098 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/IntervalLegendEvent.java

View differences:

IntervalLegendEvent.java
44 44
import com.iver.cit.gvsig.fmap.layers.LegendEvent;
45 45

  
46 46
/**
47
 * <p>Event produced when changes the interval value of a classification legend.</p>
47 48
 * 
48
 * <p>The class <code>IntervalLegendEvent</code> stores all necessary information of an event 
49
 * produced on a interval change.</p>
49
 * @see FMapEvent
50 50
 * 
51
 * @see FMapEvent
52 51
 * @author jaume dominguez faus - jaume.dominguez@iver.es
53 52
 */
54 53
public class IntervalLegendEvent extends ClassificationLegendEvent {
54
	/**
55
	 * <p>Previous legend interval.</p> 
56
	 */
55 57
	private IInterval oldInterval;
58
	/**
59
	 * <p>Previous legend interval.</p> 
60
	 */
56 61
	private IInterval newInterval;
57 62

  
58 63
	/**
59
	 * Constructor method.Creates a new IntervalLegendEvent.
64
	 * <p>Creates a new legend interval event.</p>
60 65
	 *
61
	 * @param oldInterval old interval.
62
	 * @param newInterval new interval.
66
	 * @param oldInterval previous legend interval
67
	 * @param newInterval new legend interval
63 68
	 */
64 69
	public IntervalLegendEvent(IInterval oldInterval, IInterval newInterval) {
65 70
		this.oldInterval = oldInterval;
......
67 72
	}
68 73

  
69 74
	/**
70
	 * Returns the last interval.
75
	 * <p>Gets the previous legend interval.</p>
71 76
	 *
72
	 * @return Last interval.
77
	 * @return the previous legend interval
73 78
	 */
74 79
	public IInterval getOldInterval() {
75 80
		return oldInterval;
76 81
	}
77 82

  
78 83
	/**
79
	 * Returns the new interval
84
	 * <p>Gets the new legend interval.</p>
80 85
	 *
81
	 * @return New interval.
86
	 * @return the new legend interval
82 87
	 */
83 88
	public IInterval getNewInterval() {
84 89
		return newInterval;
85 90
	}
91

  
86 92
	/**
87
	 * Returns the type of the event.
93
	 * <p>Returns the type of this legend event.</p>
94
	 * 
95
	 * @return the type of this legend event
96
	 * 
97
	 * @see LegendEvent#LEGEND_INTERVAL_CHANGED
88 98
	 */
89 99
	public int getEventType() {
90 100
		return LegendEvent.LEGEND_INTERVAL_CHANGED;
91 101
	}
92

  
93 102
}

Also available in: Unified diff