litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/event/client/CellUnhighlightEvent.java
|
@@ -22,16 +22,13 @@ |
22 |
22 |
|
/** |
23 |
23 |
|
* Logical event fired when a cell is unhighlighted. |
24 |
24 |
|
*/ |
25 |
|
- |
public class CellUnhighlightEvent extends UnhighlightEvent<Cell> |
26 |
|
- |
{ |
|
25 |
+ |
public class CellUnhighlightEvent extends UnhighlightEvent<Cell> { |
27 |
26 |
|
/** |
28 |
27 |
|
* Event Key for {@link CellUnhighlightEvent}. |
29 |
28 |
|
*/ |
30 |
|
- |
public static final Type<CellUnhighlightEvent, CellUnhighlightHandler> TYPE = new Type<CellUnhighlightEvent, CellUnhighlightHandler>() |
31 |
|
- |
{ |
|
29 |
+ |
public static final Type<CellUnhighlightEvent, CellUnhighlightHandler> TYPE = new Type<CellUnhighlightEvent, CellUnhighlightHandler>() { |
32 |
30 |
|
@Override |
33 |
|
- |
protected void fire( CellUnhighlightHandler handler, CellUnhighlightEvent event ) |
34 |
|
- |
{ |
|
31 |
+ |
protected void fire( CellUnhighlightHandler handler, CellUnhighlightEvent event ) { |
35 |
32 |
|
handler.onCellUnhighlight( event ); |
36 |
33 |
|
} |
37 |
34 |
|
}; |
|
@@ -42,8 +39,7 @@ |
42 |
39 |
|
* @param rowIndex the index of the highlighted row |
43 |
40 |
|
* @param cellIndex the index of the highlighted cell |
44 |
41 |
|
*/ |
45 |
|
- |
public CellUnhighlightEvent( int rowIndex, int cellIndex ) |
46 |
|
- |
{ |
|
42 |
+ |
public CellUnhighlightEvent( int rowIndex, int cellIndex ) { |
47 |
43 |
|
this( new Cell( rowIndex, cellIndex ) ); |
48 |
44 |
|
} |
49 |
45 |
|
|
|
@@ -52,14 +48,12 @@ |
52 |
48 |
|
* |
53 |
49 |
|
* @param cell the cell being highlighted |
54 |
50 |
|
*/ |
55 |
|
- |
public CellUnhighlightEvent( Cell cell ) |
56 |
|
- |
{ |
|
51 |
+ |
public CellUnhighlightEvent( Cell cell ) { |
57 |
52 |
|
super( cell ); |
58 |
53 |
|
} |
59 |
54 |
|
|
60 |
55 |
|
@Override |
61 |
|
- |
protected Type getType() |
62 |
|
- |
{ |
|
56 |
+ |
protected Type getType() { |
63 |
57 |
|
return TYPE; |
64 |
58 |
|
} |
65 |
59 |
|
} |