svn-gvsig-desktop / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / edition / BeforeRowEditEvent.java @ 6356
History | View | Annotate | Download (745 Bytes)
1 | 4832 | fjp | package com.iver.cit.gvsig.fmap.edition; |
---|---|---|---|
2 | |||
3 | 5317 | fjp | import com.iver.utiles.swing.threads.Cancellable; |
4 | 4832 | fjp | |
5 | public class BeforeRowEditEvent extends EditionEvent { |
||
6 | |||
7 | long numRow;
|
||
8 | int changeType;
|
||
9 | Cancellable cancel; |
||
10 | 5184 | caballero | public BeforeRowEditEvent(IEditableSource source, long numRow, int changeType, Cancellable cancel,int sourceType) |
11 | 4832 | fjp | { |
12 | 5184 | caballero | super(source, EditionEvent.ROW_EDITION, sourceType);
|
13 | 4832 | fjp | this.numRow = numRow;
|
14 | this.changeType = changeType;
|
||
15 | this.cancel = cancel;
|
||
16 | } |
||
17 | /**
|
||
18 | * @return Returns the cancel.
|
||
19 | */
|
||
20 | public Cancellable getCancel() {
|
||
21 | return cancel;
|
||
22 | } |
||
23 | /**
|
||
24 | * @return Returns the changeType.
|
||
25 | */
|
||
26 | public int getChangeType() { |
||
27 | return changeType;
|
||
28 | } |
||
29 | /**
|
||
30 | * @return Returns the numRow.
|
||
31 | */
|
||
32 | public long getNumRow() { |
||
33 | return numRow;
|
||
34 | } |
||
35 | |||
36 | } |