litesoft
@ 529
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 |
package org.litesoft.sandbox.csapp.client.widgets; import com.google.gwt.core.client.*; import com.google.gwt.event.dom.client.*; import com.google.gwt.uibinder.client.*; import com.google.gwt.user.client.ui.*; public class MyPanel extends Composite implements IsWidget { private static MyPanelUIBinder uiBinder = GWT.create( MyPanelUIBinder.class ); interface MyPanelUIBinder extends UiBinder<Widget, MyPanel> { } @UiField UploadWidget uploadWidget; @UiField Button buttonTest; public MyPanel() { initWidget( uiBinder.createAndBindUi( this ) ); } @UiHandler("buttonTest") protected void doClose( ClickEvent event ) { uploadWidget.showBusy(); } } |