1 | |
package org.kuali.student.common.ui.client.widgets.table.scroll; |
2 | |
|
3 | |
public class TableModelEvent { |
4 | |
|
5 | |
public static final int RowInsert = 1; |
6 | |
|
7 | |
public static final int RowUpdate = 2; |
8 | |
|
9 | |
public static final int RowDelete = 3; |
10 | |
public static final int CellUpdate = 4; |
11 | |
|
12 | |
public static final int TableStructure = 5; |
13 | |
public static final int TableData = 6; |
14 | |
|
15 | |
protected int type; |
16 | |
protected int firstRow; |
17 | |
protected int lastRow; |
18 | |
protected int column; |
19 | |
|
20 | 0 | public TableModelEvent(){ |
21 | |
|
22 | 0 | } |
23 | |
|
24 | |
public int getFirstRow() { |
25 | 0 | return firstRow; |
26 | |
} |
27 | |
|
28 | |
public void setFirstRow(int firstRow) { |
29 | 0 | this.firstRow = firstRow; |
30 | 0 | } |
31 | |
|
32 | |
public int getLastRow() { |
33 | 0 | return lastRow; |
34 | |
} |
35 | |
|
36 | |
public void setLastRow(int lastRow) { |
37 | 0 | this.lastRow = lastRow; |
38 | 0 | } |
39 | |
|
40 | |
public int getColumn() { |
41 | 0 | return column; |
42 | |
} |
43 | |
|
44 | |
public void setColumn(int column) { |
45 | 0 | this.column = column; |
46 | 0 | } |
47 | |
|
48 | |
public int getType() { |
49 | 0 | return type; |
50 | |
} |
51 | |
|
52 | |
public void setType(int type) { |
53 | 0 | this.type = type; |
54 | 0 | } |
55 | |
|
56 | |
|
57 | |
} |