litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/event/client/ColumnSortEvent.java
|
@@ -22,16 +22,13 @@ |
22 |
22 |
|
/** |
23 |
23 |
|
* Logical event fired when a column is sorted. |
24 |
24 |
|
*/ |
25 |
|
- |
public class ColumnSortEvent extends AbstractEvent |
26 |
|
- |
{ |
|
25 |
+ |
public class ColumnSortEvent extends AbstractEvent { |
27 |
26 |
|
/** |
28 |
27 |
|
* Event Key for {@link ColumnSortEvent}. |
29 |
28 |
|
*/ |
30 |
|
- |
public static final Type<ColumnSortEvent, ColumnSortHandler> TYPE = new Type<ColumnSortEvent, ColumnSortHandler>() |
31 |
|
- |
{ |
|
29 |
+ |
public static final Type<ColumnSortEvent, ColumnSortHandler> TYPE = new Type<ColumnSortEvent, ColumnSortHandler>() { |
32 |
30 |
|
@Override |
33 |
|
- |
protected void fire( ColumnSortHandler handler, ColumnSortEvent event ) |
34 |
|
- |
{ |
|
31 |
+ |
protected void fire( ColumnSortHandler handler, ColumnSortEvent event ) { |
35 |
32 |
|
handler.onColumnSorted( event ); |
36 |
33 |
|
} |
37 |
34 |
|
}; |
|
@@ -46,22 +43,19 @@ |
46 |
43 |
|
* |
47 |
44 |
|
* @param sortList information about the sort order |
48 |
45 |
|
*/ |
49 |
|
- |
public ColumnSortEvent( ColumnSortList sortList ) |
50 |
|
- |
{ |
|
46 |
+ |
public ColumnSortEvent( ColumnSortList sortList ) { |
51 |
47 |
|
this.sortList = sortList; |
52 |
48 |
|
} |
53 |
49 |
|
|
54 |
50 |
|
/** |
55 |
51 |
|
* @return information about the sort order of columns |
56 |
52 |
|
*/ |
57 |
|
- |
public ColumnSortList getColumnSortList() |
58 |
|
- |
{ |
|
53 |
+ |
public ColumnSortList getColumnSortList() { |
59 |
54 |
|
return sortList; |
60 |
55 |
|
} |
61 |
56 |
|
|
62 |
57 |
|
@Override |
63 |
|
- |
protected Type getType() |
64 |
|
- |
{ |
|
58 |
+ |
protected Type getType() { |
65 |
59 |
|
return TYPE; |
66 |
60 |
|
} |
67 |
61 |
|
} |