Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/event/client/RowHighlightEvent.java

Diff revisions: vs.
  @@ -22,16 +22,13 @@
22 22 /**
23 23 * Logical event fired when a row is highlighted.
24 24 */
25 - public class RowHighlightEvent extends HighlightEvent<Row>
26 - {
25 + public class RowHighlightEvent extends HighlightEvent<Row> {
27 26 /**
28 27 * Event Key for {@link RowHighlightEvent}.
29 28 */
30 - public static final Type<RowHighlightEvent, RowHighlightHandler> TYPE = new Type<RowHighlightEvent, RowHighlightHandler>()
31 - {
29 + public static final Type<RowHighlightEvent, RowHighlightHandler> TYPE = new Type<RowHighlightEvent, RowHighlightHandler>() {
32 30 @Override
33 - protected void fire( RowHighlightHandler handler, RowHighlightEvent event )
34 - {
31 + protected void fire( RowHighlightHandler handler, RowHighlightEvent event ) {
35 32 handler.onRowHighlight( event );
36 33 }
37 34 };
  @@ -41,8 +38,7 @@
41 38 *
42 39 * @param rowIndex the index of the highlighted row
43 40 */
44 - public RowHighlightEvent( int rowIndex )
45 - {
41 + public RowHighlightEvent( int rowIndex ) {
46 42 this( new Row( rowIndex ) );
47 43 }
48 44
  @@ -51,14 +47,12 @@
51 47 *
52 48 * @param row the row being highlighted
53 49 */
54 - public RowHighlightEvent( Row row )
55 - {
50 + public RowHighlightEvent( Row row ) {
56 51 super( row );
57 52 }
58 53
59 54 @Override
60 - protected Type getType()
61 - {
55 + protected Type getType() {
62 56 return TYPE;
63 57 }
64 58 }