litesoft
Diff Revisions
282
vs
475
for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/event/logical/shared/BeforeShowEvent.java
|
@@ -15,34 +15,39 @@ |
15 |
15 |
|
*/ |
16 |
16 |
|
package com.google.gwt.gen2.event.logical.shared; |
17 |
17 |
|
|
18 |
|
- |
import com.google.gwt.gen2.event.shared.AbstractEvent; |
|
18 |
+ |
import com.google.gwt.gen2.event.shared.*; |
19 |
19 |
|
|
20 |
20 |
|
/** |
21 |
21 |
|
* Fired directly before an event source's contents are shown. |
22 |
|
- |
* |
|
22 |
+ |
* |
23 |
23 |
|
* @deprecated use the com.google.gwt.event.logical.shared classes instead |
24 |
24 |
|
*/ |
25 |
25 |
|
@Deprecated |
26 |
|
- |
public class BeforeShowEvent extends AbstractEvent { |
|
26 |
+ |
public class BeforeShowEvent extends AbstractEvent |
|
27 |
+ |
{ |
27 |
28 |
|
|
28 |
|
- |
/** |
29 |
|
- |
* Event type for {@link BeforeShowEvent}. |
30 |
|
- |
*/ |
31 |
|
- |
public static final Type<BeforeShowEvent, BeforeShowHandler> TYPE = new Type<BeforeShowEvent, BeforeShowHandler>() { |
32 |
|
- |
@Override |
33 |
|
- |
protected void fire(BeforeShowHandler handler, BeforeShowEvent event) { |
34 |
|
- |
handler.onBeforeShow(event); |
35 |
|
- |
} |
36 |
|
- |
}; |
|
29 |
+ |
/** |
|
30 |
+ |
* Event type for {@link BeforeShowEvent}. |
|
31 |
+ |
*/ |
|
32 |
+ |
public static final Type<BeforeShowEvent, BeforeShowHandler> TYPE = new Type<BeforeShowEvent, BeforeShowHandler>() |
|
33 |
+ |
{ |
|
34 |
+ |
@Override |
|
35 |
+ |
protected void fire( BeforeShowHandler handler, BeforeShowEvent event ) |
|
36 |
+ |
{ |
|
37 |
+ |
handler.onBeforeShow( event ); |
|
38 |
+ |
} |
|
39 |
+ |
}; |
37 |
40 |
|
|
38 |
|
- |
/** |
39 |
|
- |
* Constructor. |
40 |
|
- |
*/ |
41 |
|
- |
public BeforeShowEvent() { |
42 |
|
- |
} |
|
41 |
+ |
/** |
|
42 |
+ |
* Constructor. |
|
43 |
+ |
*/ |
|
44 |
+ |
public BeforeShowEvent() |
|
45 |
+ |
{ |
|
46 |
+ |
} |
43 |
47 |
|
|
44 |
|
- |
@Override |
45 |
|
- |
protected Type getType() { |
46 |
|
- |
return TYPE; |
47 |
|
- |
} |
|
48 |
+ |
@Override |
|
49 |
+ |
protected Type getType() |
|
50 |
+ |
{ |
|
51 |
+ |
return TYPE; |
|
52 |
+ |
} |
48 |
53 |
|
} |