Statistics
| Revision:

svn-gvsig-desktop / tags / v1_1_Build_1004 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / edition / BeforeRowEditEvent.java @ 12319

History | View | Annotate | Download (748 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 12132 caballero
        String newFID;
8 4832 fjp
        int changeType;
9
        Cancellable cancel;
10 12132 caballero
        public BeforeRowEditEvent(IEditableSource source, String newFID, int changeType, Cancellable cancel,int sourceType)
11 4832 fjp
        {
12 5184 caballero
                super(source, EditionEvent.ROW_EDITION, sourceType);
13 12132 caballero
                this.newFID = newFID;
14 4832 fjp
                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 12132 caballero
        public String getFID() {
33
                return newFID;
34 4832 fjp
        }
35
36
}