litesoft
Diff Revisions
282
vs
475
for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/event/logical/shared/HasSelectionHandlers.java
|
@@ -16,22 +16,25 @@ |
16 |
16 |
|
|
17 |
17 |
|
package com.google.gwt.gen2.event.logical.shared; |
18 |
18 |
|
|
19 |
|
- |
import com.google.gwt.gen2.event.shared.HandlerRegistration; |
|
19 |
+ |
import com.google.gwt.gen2.event.shared.*; |
20 |
20 |
|
|
21 |
21 |
|
/** |
22 |
22 |
|
* A widget that implements this interface is a public source of |
23 |
23 |
|
* {@link SelectionEvent} events. |
24 |
|
- |
* |
|
24 |
+ |
* |
25 |
25 |
|
* @param <ValueType> The type of value being selected |
|
26 |
+ |
* |
26 |
27 |
|
* @deprecated use the com.google.gwt.event.logical.shared classes instead |
27 |
28 |
|
*/ |
28 |
29 |
|
@Deprecated |
29 |
|
- |
public interface HasSelectionHandlers<ValueType> { |
30 |
|
- |
/** |
31 |
|
- |
* Adds a {@link SelectionEvent} handler. |
32 |
|
- |
* |
33 |
|
- |
* @param handler the handler |
34 |
|
- |
* @return the handler registration |
35 |
|
- |
*/ |
36 |
|
- |
HandlerRegistration addSelectionHandler(SelectionHandler<ValueType> handler); |
|
30 |
+ |
public interface HasSelectionHandlers<ValueType> |
|
31 |
+ |
{ |
|
32 |
+ |
/** |
|
33 |
+ |
* Adds a {@link SelectionEvent} handler. |
|
34 |
+ |
* |
|
35 |
+ |
* @param handler the handler |
|
36 |
+ |
* |
|
37 |
+ |
* @return the handler registration |
|
38 |
+ |
*/ |
|
39 |
+ |
HandlerRegistration addSelectionHandler( SelectionHandler<ValueType> handler ); |
37 |
40 |
|
} |