Revision 1082 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/ExtentEvent.java

View differences:

ExtentEvent.java
10 10
 */
11 11
public class ExtentEvent extends FMapEvent {
12 12
	private Rectangle2D newExtent;
13
	private static final int EXTENT_EVENT = 0;
13 14

  
15
	public static ExtentEvent createExtentEvent(Rectangle2D r){
16
		return new ExtentEvent(r, EXTENT_EVENT);
17
	}
18
	
14 19
	/**
15 20
	 * Crea un nuevo ExtentEvent.
16 21
	 *
17 22
	 * @param r Extent.
18 23
	 */
19
	public ExtentEvent(Rectangle2D r) {
24
	private ExtentEvent(Rectangle2D r, int eventType) {
25
		setEventType(eventType);
20 26
		newExtent = r;
21 27
	}
22 28

  

Also available in: Unified diff