ludc
2024-09-14 36c2449aec5b51e5ed4e5c6841154b746060e09a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package com.vci.client.ui.table;
 
import java.util.EventObject;
 
/**
 * 
 * @author xchao
 *
 */
public class CellValueChanagedEvent extends EventObject {
 
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
 
    private int rowIndex;
    private int columnIndex;
    private Object oldValue;
    private Object newValue;
    public CellValueChanagedEvent(Object source, int rowIndex, int columnIndex,
            Object oldValue, Object newValue) {
        super(source);
        this.rowIndex = rowIndex;
        this.columnIndex = columnIndex;
        this.oldValue = oldValue;
        this.newValue = newValue;
    }
    public int getRowIndex() {
        return rowIndex;
    }
    public void setRowIndex(int rowIndex) {
        this.rowIndex = rowIndex;
    }
    public int getColumnIndex() {
        return columnIndex;
    }
    public void setColumnIndex(int columnIndex) {
        this.columnIndex = columnIndex;
    }
    public Object getOldValue() {
        return oldValue;
    }
    public void setOldValue(Object oldValue) {
        this.oldValue = oldValue;
    }
    public Object getNewValue() {
        return newValue;
    }
    public void setNewValue(Object newValue) {
        this.newValue = newValue;
    }
    public static long getSerialversionuid() {
        return serialVersionUID;
    }
    @Override
    public String toString() {
        return "CellValueChanagedEvent [rowIndex=" + rowIndex
                + ", columnIndex=" + columnIndex + ", oldValue=" + oldValue
                + ", newValue=" + newValue + "]";
    }
}