litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/event/client/RowValueChangeEvent.java
|
@@ -23,16 +23,13 @@ |
23 |
23 |
|
* |
24 |
24 |
|
* @param <RowType> the data type of the row values |
25 |
25 |
|
*/ |
26 |
|
- |
public class RowValueChangeEvent<RowType> extends AbstractEvent |
27 |
|
- |
{ |
|
26 |
+ |
public class RowValueChangeEvent<RowType> extends AbstractEvent { |
28 |
27 |
|
/** |
29 |
28 |
|
* Event Key for {@link RowValueChangeEvent}. |
30 |
29 |
|
*/ |
31 |
|
- |
public static final Type<RowValueChangeEvent, RowValueChangeHandler> TYPE = new Type<RowValueChangeEvent, RowValueChangeHandler>() |
32 |
|
- |
{ |
|
30 |
+ |
public static final Type<RowValueChangeEvent, RowValueChangeHandler> TYPE = new Type<RowValueChangeEvent, RowValueChangeHandler>() { |
33 |
31 |
|
@Override |
34 |
|
- |
protected void fire( RowValueChangeHandler handler, RowValueChangeEvent event ) |
35 |
|
- |
{ |
|
32 |
+ |
protected void fire( RowValueChangeHandler handler, RowValueChangeEvent event ) { |
36 |
33 |
|
handler.onRowValueChange( event ); |
37 |
34 |
|
} |
38 |
35 |
|
}; |
|
@@ -53,8 +50,7 @@ |
53 |
50 |
|
* @param rowIndex the index of the removed row |
54 |
51 |
|
* @param rowValue the new row value |
55 |
52 |
|
*/ |
56 |
|
- |
public RowValueChangeEvent( int rowIndex, RowType rowValue ) |
57 |
|
- |
{ |
|
53 |
+ |
public RowValueChangeEvent( int rowIndex, RowType rowValue ) { |
58 |
54 |
|
this.rowIndex = rowIndex; |
59 |
55 |
|
this.rowValue = rowValue; |
60 |
56 |
|
} |
|
@@ -62,22 +58,19 @@ |
62 |
58 |
|
/** |
63 |
59 |
|
* @return the index of the row |
64 |
60 |
|
*/ |
65 |
|
- |
public int getRowIndex() |
66 |
|
- |
{ |
|
61 |
+ |
public int getRowIndex() { |
67 |
62 |
|
return rowIndex; |
68 |
63 |
|
} |
69 |
64 |
|
|
70 |
65 |
|
/** |
71 |
66 |
|
* @return the row value |
72 |
67 |
|
*/ |
73 |
|
- |
public RowType getRowValue() |
74 |
|
- |
{ |
|
68 |
+ |
public RowType getRowValue() { |
75 |
69 |
|
return rowValue; |
76 |
70 |
|
} |
77 |
71 |
|
|
78 |
72 |
|
@Override |
79 |
|
- |
protected Type getType() |
80 |
|
- |
{ |
|
73 |
+ |
protected Type getType() { |
81 |
74 |
|
return TYPE; |
82 |
75 |
|
} |
83 |
76 |
|
} |