Subversion Repository Public Repository

litesoft

Diff Revisions 282 vs 475 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/event/client/CellUnhighlightEvent.java

Diff revisions: vs.
  @@ -16,44 +16,50 @@
16 16
17 17 package com.google.gwt.gen2.table.event.client;
18 18
19 - import com.google.gwt.gen2.event.logical.shared.UnhighlightEvent;
20 - import com.google.gwt.gen2.table.event.client.TableEvent.Cell;
19 + import com.google.gwt.gen2.event.logical.shared.*;
20 + import com.google.gwt.gen2.table.event.client.TableEvent.*;
21 21
22 22 /**
23 23 * Logical event fired when a cell is unhighlighted.
24 24 */
25 - public class CellUnhighlightEvent extends UnhighlightEvent<Cell> {
26 - /**
27 - * Event Key for {@link CellUnhighlightEvent}.
28 - */
29 - public static final Type<CellUnhighlightEvent, CellUnhighlightHandler> TYPE = new Type<CellUnhighlightEvent, CellUnhighlightHandler>() {
30 - @Override
31 - protected void fire(CellUnhighlightHandler handler, CellUnhighlightEvent event) {
32 - handler.onCellUnhighlight(event);
25 + public class CellUnhighlightEvent extends UnhighlightEvent<Cell>
26 + {
27 + /**
28 + * Event Key for {@link CellUnhighlightEvent}.
29 + */
30 + public static final Type<CellUnhighlightEvent, CellUnhighlightHandler> TYPE = new Type<CellUnhighlightEvent, CellUnhighlightHandler>()
31 + {
32 + @Override
33 + protected void fire( CellUnhighlightHandler handler, CellUnhighlightEvent event )
34 + {
35 + handler.onCellUnhighlight( event );
36 + }
37 + };
38 +
39 + /**
40 + * Construct a new {@link CellUnhighlightEvent}.
41 + *
42 + * @param rowIndex the index of the highlighted row
43 + * @param cellIndex the index of the highlighted cell
44 + */
45 + public CellUnhighlightEvent( int rowIndex, int cellIndex )
46 + {
47 + this( new Cell( rowIndex, cellIndex ) );
48 + }
49 +
50 + /**
51 + * Construct a new {@link CellUnhighlightEvent}.
52 + *
53 + * @param cell the cell being highlighted
54 + */
55 + public CellUnhighlightEvent( Cell cell )
56 + {
57 + super( cell );
33 58 }
34 - };
35 59
36 - /**
37 - * Construct a new {@link CellUnhighlightEvent}.
38 - *
39 - * @param rowIndex the index of the highlighted row
40 - * @param cellIndex the index of the highlighted cell
41 - */
42 - public CellUnhighlightEvent(int rowIndex, int cellIndex) {
43 - this(new Cell(rowIndex, cellIndex));
44 - }
45 -
46 - /**
47 - * Construct a new {@link CellUnhighlightEvent}.
48 - *
49 - * @param cell the cell being highlighted
50 - */
51 - public CellUnhighlightEvent(Cell cell) {
52 - super(cell);
53 - }
54 -
55 - @Override
56 - protected Type getType() {
57 - return TYPE;
58 - }
60 + @Override
61 + protected Type getType()
62 + {
63 + return TYPE;
64 + }
59 65 }