litesoft
@ 948
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
package org.litesoft.GWT.client.widgets.sliderbar.client.event; import com.google.gwt.event.shared.*; public class BarValueChangedEvent extends GwtEvent<BarValueChangedHandler> { public static Type<BarValueChangedHandler> TYPE = new Type<BarValueChangedHandler>(); int value; public BarValueChangedEvent( int position ) { this.value = position; } public int getValue() { return value; } public void setValue( int position ) { this.value = position; } @Override public Type<BarValueChangedHandler> getAssociatedType() { return TYPE; } @Override protected void dispatch( BarValueChangedHandler handler ) { handler.onBarValueChanged( this ); } } |