litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/sliderbar/client/event/BarValueChangedEvent.java
|
@@ -1,13 +1,13 @@ |
1 |
1 |
|
package org.litesoft.GWT.client.widgets.sliderbar.client.event; |
2 |
2 |
|
|
3 |
|
- |
import com.google.gwt.event.shared.GwtEvent; |
|
3 |
+ |
import com.google.gwt.event.shared.*; |
4 |
4 |
|
|
5 |
|
- |
public class BarValueChangedEvent extends GwtEvent<BarValueChangedHandler>{ |
|
5 |
+ |
public class BarValueChangedEvent extends GwtEvent<BarValueChangedHandler> { |
6 |
6 |
|
public static Type<BarValueChangedHandler> TYPE = new Type<BarValueChangedHandler>(); |
7 |
7 |
|
|
8 |
8 |
|
int value; |
9 |
9 |
|
|
10 |
|
- |
public BarValueChangedEvent(int position){ |
|
10 |
+ |
public BarValueChangedEvent( int position ) { |
11 |
11 |
|
this.value = position; |
12 |
12 |
|
} |
13 |
13 |
|
|
|
@@ -15,7 +15,7 @@ |
15 |
15 |
|
return value; |
16 |
16 |
|
} |
17 |
17 |
|
|
18 |
|
- |
public void setValue(int position) { |
|
18 |
+ |
public void setValue( int position ) { |
19 |
19 |
|
this.value = position; |
20 |
20 |
|
} |
21 |
21 |
|
|
|
@@ -25,9 +25,7 @@ |
25 |
25 |
|
} |
26 |
26 |
|
|
27 |
27 |
|
@Override |
28 |
|
- |
protected void dispatch(BarValueChangedHandler handler) { |
29 |
|
- |
handler.onBarValueChanged(this); |
|
28 |
+ |
protected void dispatch( BarValueChangedHandler handler ) { |
|
29 |
+ |
handler.onBarValueChanged( this ); |
30 |
30 |
|
} |
31 |
|
- |
|
32 |
|
- |
|
33 |
31 |
|
} |