File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
plugin/src/main/java/com/arcbees/chosen/client/event
sample/src/main/java/com/arcbees/chosen/sample/client/application/widgetsample Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2121
2222public class ReadyEvent extends ChosenEvent <ReadyEvent .ReadyHandler > {
2323 public interface ReadyHandler extends EventHandler {
24- void onReady ();
24+ void onReady (ReadyEvent event );
2525 }
2626
2727 public static final Type <ReadyHandler > TYPE = new Type <ReadyHandler >();
@@ -41,7 +41,7 @@ public Type<ReadyHandler> getAssociatedType() {
4141
4242 @ Override
4343 protected void dispatch (ReadyHandler handler ) {
44- handler .onReady ();
44+ handler .onReady (this );
4545 }
4646
4747}
Original file line number Diff line number Diff line change 2020import com .arcbees .chosen .client .event .ChosenChangeEvent .ChosenChangeHandler ;
2121import com .arcbees .chosen .client .event .HidingDropDownEvent .HidingDropDownHandler ;
2222import com .arcbees .chosen .client .event .MaxSelectedEvent .MaxSelectedHandler ;
23+ import com .arcbees .chosen .client .event .ReadyEvent ;
2324import com .arcbees .chosen .client .event .ReadyEvent .ReadyHandler ;
2425import com .arcbees .chosen .client .event .ShowingDropDownEvent .ShowingDropDownHandler ;
2526import com .arcbees .chosen .client .gwt .ChosenListBox ;
@@ -77,7 +78,7 @@ private void log(String eventName, String additional) {
7778 ).scrollTop ($ ("#log" ).get (0 ).getScrollHeight ());
7879 }
7980
80- public void onReady () {
81+ public void onReady (ReadyEvent event ) {
8182 log ("ReadyEvent" , "" );
8283 }
8384
You can’t perform that action at this time.
0 commit comments