Java Code Examples for com.google.gwt.event.dom.client.ClickHandler

The following code examples are extracted from open source projects. You can click to vote up the examples that are useful to you.

Example 1

From project bpm-console, under directory /gui/war/src/main/java/org/jboss/bpm/console/client/common/.

Source file: PagingPanel.java

  23 
vote

public PagingPanel(final PagingCallback callback){
  super(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
  setStyleName("bpm-paging-panel");
  this.callback=callback;
  ClickHandler clickHandler=new ClickHandler(){
    public void onClick(    ClickEvent clickEvent){
      page--;
      rightBounds=false;
      callback.rev();
    }
  }
;
  revBtn=new Button(ButtonHelper.createButtonLabel(Caption.IMAGES.toolCollapseLeft(),"",ButtonHelper.ButtonLabelType.NO_TEXT),clickHandler);
  this.add(revBtn);
  ClickHandler clickHandler2=new ClickHandler(){
    public void onClick(    ClickEvent clickEvent){
      page++;
      leftBounds=false;
      callback.ffw();
    }
  }
;
  ffwBtn=new Button(ButtonHelper.createButtonLabel(Caption.IMAGES.toolCollapseRight(),"",ButtonHelper.ButtonLabelType.NO_TEXT),clickHandler2);
  this.add(ffwBtn);
}
 

Example 2

From project ballroom, under directory /widgets/src/main/java/org/jboss/ballroom/client/widgets/tabs/.

Source file: VerticalTabLayoutPanel.java

  22 
vote

TabDelegate(String html,final int index){
  super(html);
  this.index=index;
  setStyleName("vertical-tabpanel-tab");
  addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      demoteAll();
      addStyleName("vertical-tabpanel-tab-selected");
      decks.showWidget(index);
    }
  }
);
}
 

Example 3

From project Caronas, under directory /src/main/java/parceirosDaEstrada/web/client/paineis/.

Source file: PainelOpcoesDeCarona.java

  22 
vote

public void acionarSolicitacaoAction(){
  buttonSolicitarVaga.addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
      try {
        SistemaWebMain.getSistema().solicitarVaga(idSession,carona.getID());
        Window.alert("Sua vaga foi solicitada!");
      }
 catch (      SolicitacaoIlegalException e) {
        Window.alert(e.getMessage() + "!");
      }
    }
  }
);
}
 

Example 4

From project gwt-bootstrap, under directory /src/showcase/java/com/github/gwtbootstrap/showcase/client/.

Source file: Navigation.java

  22 
vote

public Navigation(){
  tabPosition.setValue(Tabs.LEFT);
  tabPosition.setAcceptableValues(Arrays.asList(Tabs.values()));
  initWidget(uiBinder.createAndBindUi(this));
  ClickHandler handler=new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      Window.alert("ClickHandler navlink example.");
    }
  }
;
  navlink1.addClickHandler(handler);
  navlink2.addClickHandler(handler);
}
 

Example 5

From project annotare2, under directory /app/web/src/main/java/uk/ac/ebi/fg/annotare2/web/gwt/editor/client/view/widget/.

Source file: UploadStatus.java

  21 
vote

@Override public HandlerRegistration addCancelHandler(final UploadCancelHandler handler){
  return cancelIcon.addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
      event.preventDefault();
      handler.onCancel();
    }
  }
);
}
 

Example 6

From project guvnorng, under directory /guvnorng-showcase/src/main/java/org/drools/guvnor/client/editors/factmodel/.

Source file: FactModelEditor.java

  21 
vote

public FactModelEditor(FactMetaModel factMetaModel,List<FactMetaModel> superTypeFactModels,ModelNameHelper modelNameHelper){
  this.factMetaModel=factMetaModel;
  this.superTypeFactModels=superTypeFactModels;
  this.modelNameHelper=modelNameHelper;
  add(uiBinder.createAndBindUi(this));
  titleLabel.setText(getTitleText());
  ClickHandler expandClickHandler=new ClickHandler(){
    public void onClick(    ClickEvent event){
      onTitleClicked();
    }
  }
;
  icon.addClickHandler(expandClickHandler);
  titleLabel.addClickHandler(expandClickHandler);
  setIconImage();
  moveUpIcon.setTitle(Constants.INSTANCE.MoveUp());
  moveDownIcon.setTitle(Constants.INSTANCE.MoveDown());
  deleteIcon.setTitle(Constants.INSTANCE.RemoveThisFactType());
  addOpenHandler(new OpenHandler<AbstractLazyStackPanelHeader>(){
    public void onOpen(    OpenEvent<AbstractLazyStackPanelHeader> event){
      expanded=true;
      setIconImage();
    }
  }
);
  addCloseHandler(new CloseHandler<AbstractLazyStackPanelHeader>(){
    public void onClose(    CloseEvent<AbstractLazyStackPanelHeader> event){
      expanded=false;
      setIconImage();
    }
  }
);
}
 

Example 7

From project gwt-three.js-test, under directory /src/com/akjava/gwt/threetest/client/.

Source file: CanvasDemo.java

  21 
vote

@Override public Widget getControler(){
  if (exportButton == null) {
    exportButton=new Button("Export Image");
    exportButton.addClickHandler(new ClickHandler(){
      @Override public void onClick(      ClickEvent event){
        String url=canvas.toDataUrl();
        ExportUtils.openTabAbsoluteURLImage(url,"canvastest");
      }
    }
);
  }
  return exportButton;
}
 

Example 8

From project GwtMobile, under directory /kitchensink/com/gwtmobile/phonegap/kitchensink/client/.

Source file: PhoneGapHeaderPanel.java

  21 
vote

public PhoneGapHeaderPanel(){
  this.setLeftButton("Back");
  this.setRightButton("Doc");
  this.setRightButtonClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      String url="http://docs.phonegap.com/";
      String caption=PhoneGapHeaderPanel.this.getCaption();
      url=url + "phonegap_" + getDocument()+ "_"+ getDocument2()+ ".md.html#"+ caption;
      ChildBrowser.showWebPage(url,true);
    }
  }
);
}
 

Example 9

From project GwtMobile-PhoneGap, under directory /kitchensink/com/gwtmobile/phonegap/kitchensink/client/.

Source file: PhoneGapHeaderPanel.java

  21 
vote

public PhoneGapHeaderPanel(){
  this.setLeftButton("Back");
  this.setRightButton("Doc");
  this.setRightButtonClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      String url=Utils.isAndroid() ? "http://docs.phonegap.com/en/1.1.0/" : Window.Location.getHref() + "/../docs/";
      String caption=PhoneGapHeaderPanel.this.getCaption();
      url=url + "phonegap_" + getDocument()+ "_"+ getDocument2()+ ".md.html#"+ caption;
      ChildBrowser.showWebPage(url);
    }
  }
);
}
 

Example 10

From project GwtMobile-UI, under directory /src/com/gwtmobile/ui/client/page/.

Source file: Page.java

  21 
vote

/** 
 * Adds a home button handler.  It assumes the right button in the header is the home button. </br>  By Frank Mena 2012-04-11
 * @param header the header
 */
public void addHomeHandler(HeaderPanel header){
  header.setRightButtonClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      goHome();
    }
  }
);
}
 

Example 11

From project GWTPOT, under directory /src/com/fountainhead/client/view/.

Source file: ErrorPageView.java

  21 
vote

protected void bindCustomUiHandlers(){
  okButton.addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      if (getUiHandlers() != null) {
        getUiHandlers().onOkButtonClicked();
      }
    }
  }
);
}
 

Example 12

From project hazelcast-cluster-monitor, under directory /src/main/java/com/hazelcast/monitor/client/.

Source file: ClusterWidgets.java

  21 
vote

private Anchor createLink(String name,final ConfigLink config){
  Anchor anchor=new Anchor(name);
  anchor.addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent clickEvent){
      hazelcastMonitor.onValueChangeHandler.handle(config);
    }
  }
);
  return anchor;
}
 

Example 13

From project james-hupa, under directory /client/src/main/java/org/apache/hupa/client/widgets/.

Source file: MessageHeaders.java

  21 
vote

private Widget createLinkToShow(String name,final Widget widget){
  final EnableHyperlink link=new EnableHyperlink(name + ":");
  link.addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
      widget.setVisible(true);
      link.setEnabled(false);
    }
  }
);
  widget.setVisible(false);
  return link;
}
 

Example 14

From project java-maven-tests, under directory /src/gwt-best-practices/src/main/java/com/truward/gbp/client/presenters/.

Source file: LoginPresenter.java

  21 
vote

public LoginPresenter(View view,HandlerManager eventBus,AppServiceAsync appService){
  this.view=view;
  this.eventBus=eventBus;
  this.appService=appService;
  view.getLoginButton().addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
      doLogin();
    }
  }
);
}
 

Example 15

From project jbpm-form-builder, under directory /jbpm-gwt-form-builder/src/main/java/org/jbpm/formbuilder/client/effect/.

Source file: RemoveColumnFormEffect.java

  21 
vote

@Override public PopupPanel createPanel(){
  ConfirmDialog dialog=new ConfirmDialog(i18n.RemoveColumnWarning());
  dialog.addOkButtonHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      createStyles();
    }
  }
);
  return dialog;
}
 

Example 16

From project mapmaker, under directory /src/main/java/org/jason/mapmaker/client/presenter/featuresMetadata/.

Source file: ImportFeaturesMetadataPresenter.java

  21 
vote

@Override protected void onBind(){
  getView().getImportButton().addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent clickEvent){
      doImport();
    }
  }
);
}
 

Example 17

From project maven3-support, under directory /maven3-plugin/src/main/java/org/hudsonci/maven/plugin/ui/gwt/buildinfo/internal/.

Source file: MainPanelViewImpl.java

  21 
vote

private void initRefresh(){
  refresh.setResource(BuildInfoResources.INSTANCE.refresh());
  refresh.setAltText("Refresh information.");
  refresh.addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
      presenter.refresh();
    }
  }
);
}
 

Example 18

From project netnumeri, under directory /lib/gwt-2.5.0.rc1/samples/DynaTableRf/src/main/java/com/google/gwt/sample/dynatablerf/client/widgets/.

Source file: NameLabel.java

  21 
vote

public NameLabel(final EventBus eventBus){
  initWidget(nameEditor);
  if (eventBus != null) {
    nameEditor.addClickHandler(new ClickHandler(){
      public void onClick(      ClickEvent event){
        eventBus.fireEvent(new EditPersonEvent(person));
      }
    }
);
  }
}
 

Example 19

From project next, under directory /src/next/i/view/widgets/.

Source file: XPopup.java

  21 
vote

public XPopup(){
  setStyleName("xpopupOverlay");
  addDomHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
      hide();
    }
  }
,ClickEvent.getType());
}
 

Example 20

From project next-demo, under directory /src/next/interfaces/controller/animation/.

Source file: FadeController.java

  21 
vote

public FadeController(){
  setTitle("Fade Example");
  getNavigationBar().setLeftTitle("Done",Type.BUTTON);
  getNavigationBar().getLeftButton().setHighlighted(true);
  getNavigationBar().getLeftButton().addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
      FadeController.this.fadeOut();
    }
  }
);
  TableData tableDS=new TableData();
  tableDS.add(data());
  initDataSource(tableDS);
}
 

Example 21

From project nuxeo-opensocial, under directory /nuxeo-opensocial-container/src/main/java/org/nuxeo/opensocial/container/client/external/html/.

Source file: HTMLPresenter.java

  21 
vote

private void registerImageClick(){
  display.getHtmlPicture().addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
      String url=model.getData().getHtmlPictureLink();
      if (url != null && !url.isEmpty()) {
        Window.open(url,"_blank",null);
      }
    }
  }
);
}
 

Example 22

From project accesointeligente, under directory /src/org/accesointeligente/client/views/.

Source file: MainView.java

  20 
vote

@Override public void setNotificationMessage(final NotificationEventParams params){
  final FlowPanel notification=new FlowPanel();
  Label notificationClose=new Label();
  Label notificationLabel=new Label(params.getMessage());
  notification.setStyleName(params.getType().getType());
  notificationClose.addStyleName("closeNotice");
  notificationLabel.addStyleName("fLeft");
  notification.setVisible(true);
  Timer notificationTimer=new Timer(){
    @Override public void run(){
      notification.setVisible(false);
    }
  }
;
  if (params.getDuration() > 0) {
    notificationTimer.schedule(params.getDuration());
  }
  notificationClose.addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      notificationPanel.remove(notification);
    }
  }
);
  notification.add(notificationClose);
  notification.add(notificationLabel);
  if (params.getType().equals(NotificationEventType.SUCCESS)) {
    clearNotifications();
  }
  notificationPanel.insert(notification,0);
  if (notificationPanel.getWidgetCount() > 3) {
    for (Integer index=3; index < notificationPanel.getWidgetCount(); index++) {
      notificationPanel.remove(index);
    }
  }
}
 

Example 23

From project emite, under directory /examples/src/main/java/com/calclab/emite/example/pingpong/client/.

Source file: PingPongCommonPresenter.java

  20 
vote

@Inject public PingPongCommonPresenter(final XmppSession session,final ConnectionEventsSupervisor connectionEventsSupervisor,final SessionEventsSupervisor sessionEventsSupervisor,final PingPongDisplay display){
  display.printHeader("Welcome to ping pong examples",PingPongDisplay.Style.important);
  display.addLoginClickHandler(new ClickHandler(){
    @Override public void onClick(    final ClickEvent event){
      if (session.isState(SessionState.disconnected)) {
        display.print("Logging in...",Style.info);
        PageAssist.loginFromMeta(session);
      }
 else {
        display.print("Current state: " + session.getSessionState(),Style.info);
      }
    }
  }
);
  display.addLogoutClickHandler(new ClickHandler(){
    @Override public void onClick(    final ClickEvent event){
      if (session.isReady()) {
        display.print("Logging out...",Style.info);
        session.logout();
      }
 else {
        display.print("Current state: " + session.getSessionState(),Style.info);
      }
    }
  }
);
  display.addClearClickHandler(new ClickHandler(){
    @Override public void onClick(    final ClickEvent event){
      display.clearOutput();
    }
  }
);
}
 

Example 24

From project exo-training, under directory /gxt-showcase/src/main/java/com/sencha/gxt/explorer/client/view/.

Source file: CheckBoxListViewExample.java

  20 
vote

public Widget asWidget(){
  final ContentPanel panel=new ContentPanel(GWT.<ContentPanelAppearance>create(FramedPanelAppearance.class));
  panel.setCollapsible(true);
  panel.setAnimCollapse(false);
  panel.setHeadingText("CheckBox ListView (0 items selected)");
  panel.setWidth(300);
  panel.setBodyBorder(false);
  Button b=new Button("get checked items");
  b.addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
    }
  }
);
  panel.add(b);
  return panel;
}
 

Example 25

From project FormDesigner, under directory /OpenRosa/src/org/openrosa/client/view/.

Source file: QuestionItextView.java

  20 
vote

/** 
 * Sets up the addLanguage and addForm buttons to have dialogue boxes pop up and all that.
 */
private void initButtonsAndLabels(){
  currentDef=null;
  addFormButton=new Button("Add a new TextForm");
  lblItextID=new Label("ItextID:");
  txtItextID=new TextBox();
  txtItextID.addKeyUpHandler(new KeyUpHandler(){
    public void onKeyUp(    KeyUpEvent event){
      updateItextID();
    }
  }
);
  txtItextID.addBlurHandler(new BlurHandler(){
    public void onBlur(    BlurEvent event){
      updateItextID();
    }
  }
);
  addFormButton.addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      String newForm=Window.prompt("Please enter the name of the new TextForm you would like to edit","long/short/etc");
      addForm(newForm);
    }
  }
);
}
 

Example 26

From project gadget-server, under directory /gadget-web/src/main/java/org/overlord/gadgets/web/client/view/.

Source file: Footer.java

  20 
vote

public Widget asWidget(){
  LayoutPanel layout=new LayoutPanel();
  layout.setStyleName("footer-panel");
  HTML settings=new HTML("Messages");
  settings.addStyleName("footer-link");
  settings.addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
    }
  }
);
  layout.add(settings);
  HTML version=new HTML("Version: 1.0.0-SNAPSHOT");
  version.getElement().setAttribute("style","color:#ffffff;font-size:10px; align:left");
  layout.add(version);
  layout.setWidgetLeftWidth(version,20,Style.Unit.PX,200,Style.Unit.PX);
  layout.setWidgetTopHeight(version,3,Style.Unit.PX,16,Style.Unit.PX);
  layout.setWidgetRightWidth(settings,5,Style.Unit.PX,60,Style.Unit.PX);
  layout.setWidgetTopHeight(settings,3,Style.Unit.PX,28,Style.Unit.PX);
  return layout;
}
 

Example 27

From project gwt-maven-plugin, under directory /src/it/MGWT-226/gwt/src/main/java/gwt/client/.

Source file: Application.java

  20 
vote

@Override public void onModuleLoad(){
  final Panel root=RootPanel.get();
  final Button button1=new Button("RPC 1");
  final Button button2=new Button("RPC 2");
  button1.addClickHandler(new ClickHandler(){
    @Override public void onClick(    final ClickEvent event){
      GWT.<Rpc1ServiceAsync>create(Rpc1Service.class).getString(index++,new WindowAlertAsyncCallback());
    }
  }
);
  button2.addClickHandler(new ClickHandler(){
    @Override public void onClick(    final ClickEvent event){
      GWT.<Rpc2ServiceAsync>create(Rpc2Service.class).getString(index++,new WindowAlertAsyncCallback());
    }
  }
);
  root.add(button1);
  root.add(button2);
}
 

Example 28

From project gwt-mvp-contacts, under directory /com.toedter.gwt.demo.contacts/src/com/toedter/gwt/demo/contacts/client/ui/.

Source file: ToolBarView.java

  20 
vote

public ToolBarView(){
  initWidget(binder.createAndBindUi(this));
  saveButton.addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      presenter.saveContact();
    }
  }
);
  addContactButton.addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      presenter.addContact();
    }
  }
);
  deleteContactButton.addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      presenter.deleteContact();
    }
  }
);
}
 

Example 29

From project gwtphonegap, under directory /src/main/java/com/googlecode/gwtphonegap/client/plugins/childbrowser/.

Source file: ChildBrowserBrowserImpl.java

  20 
vote

/** 
 */
public Browser(){
  container=new FlowPanel();
  container.setSize("100%","100%");
  container.getElement().getStyle().setPosition(Position.ABSOLUTE);
  container.getElement().getStyle().setZIndex(1000);
  FlowPanel frameStupidPanel=new FlowPanel();
  frameStupidPanel.getElement().getStyle().setPosition(Position.ABSOLUTE);
  frameStupidPanel.getElement().getStyle().setTop(0,Unit.PX);
  frameStupidPanel.getElement().getStyle().setLeft(0,Unit.PX);
  frameStupidPanel.getElement().getStyle().setRight(0,Unit.PX);
  frameStupidPanel.getElement().getStyle().setBottom(32,Unit.PX);
  frame=new Frame();
  frame.setSize("100%","100%");
  frame.addDomHandler(new LoadHandler(){
    @Override public void onLoad(    LoadEvent event){
      onLocationChange(getUrlFromFrame(frame.getElement()));
    }
  }
,LoadEvent.getType());
  frame.getElement().getStyle().setBackgroundColor("white");
  frame.getElement().getStyle().setOverflow(Overflow.AUTO);
  container.add(frame);
  FlowPanel flowPanel=new FlowPanel();
  flowPanel.getElement().getStyle().setPosition(Position.ABSOLUTE);
  flowPanel.getElement().getStyle().setLeft(0,Unit.PX);
  flowPanel.getElement().getStyle().setRight(0,Unit.PX);
  flowPanel.getElement().getStyle().setBottom(0,Unit.PX);
  flowPanel.getElement().getStyle().setHeight(32,Unit.PX);
  button=new Button("close");
  button.addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      close();
      onClose();
    }
  }
);
  flowPanel.add(button);
  container.add(flowPanel);
  initWidget(container);
}
 

Example 30

From project kevoree-library, under directory /javase/org.kevoree.library.javase.webserver.aceEditor/src/main/java/org/kevoree/library/javase/webserver/latexEditor/client/.

Source file: latexEditor.java

  20 
vote

/** 
 * This is the entry point method.
 */
public void onModuleLoad(){
  fileExplorer=new latexEditorFileExplorer();
  VerticalPanel leftBar=new VerticalPanel();
  Button btCompile=new Button();
  btCompile.setText("Generate PDF");
  btCompile.setStyleName("btn");
  btCompile.addStyleName("primary");
  btCompile.addStyleName("small");
  btCompile.addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      latexEditorRPC.callForCompile(fileExplorer);
    }
  }
);
  Button btDefault=new Button();
  btDefault.setText("Set main file");
  btDefault.setStyleName("btn");
  btDefault.addStyleName("primary");
  btDefault.addStyleName("small");
  btDefault.addClickHandler(new ClickHandler(){
    @Override public void onClick(    ClickEvent event){
      fileExplorer.setSelectAsDefault();
    }
  }
);
  HorizontalPanel bts=new HorizontalPanel();
  bts.setBorderWidth(0);
  bts.add(btCompile);
  bts.add(btDefault);
  leftBar.add(bts);
  ScrollPanelWrapper scrollP=new ScrollPanelWrapper(fileExplorer);
  leftBar.add(scrollP);
  RootPanel.get("files").add(leftBar);
}
 

Example 31

From project narya, under directory /core/src/main/java/com/threerings/admin/web/client/.

Source file: ConfigFieldEditor.java

  20 
vote

public ConfigFieldEditor(ConfigField field,Command onChange){
  _field=field;
  _onChange=onChange;
  _value=buildWidget(field);
  _name=new Label(field.name);
  _name.setStyleName("fieldName");
  _reset=new Label("X");
  _reset.setStyleName("resetButton");
  _reset.addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
      resetField();
      updateModificationState();
    }
  }
);
  _reset.setVisible(false);
}
 

Example 32

From project ned, under directory /NEDAdminConsole/src/org/ned/server/nedadminconsole/client/widgets/.

Source file: NedStatisticsWidget.java

  20 
vote

public NedStatisticsWidget(){
  VerticalPanel verticalPanel=new VerticalPanel();
  verticalPanel.setSpacing(15);
  verticalPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
  initWidget(verticalPanel);
  verticalPanel.setSize("100%","50px");
  buttonDownload=new Button();
  buttonDownload.setText(NedRes.instance().statisticsDownload());
  buttonDownload.addClickHandler(new ClickHandler(){
    public void onClick(    ClickEvent event){
      com.google.gwt.user.client.Window.Location.assign(GWT.getHostPageBaseURL() + "NedStatisticsFileServlet");
    }
  }
);
  verticalPanel.add(buttonDownload);
  buttonDownload.setSize("30%","");
}
 

Example 33

From project jagger, under directory /webclient/src/main/java/com/griddynamics/jagger/webclient/client/callback/.

Source file: SessionScopePlotListQueryCallback.java

  19 
vote

public SessionScopePlotListQueryCallback(String sessionId,Panel sessionScopePlotList,HTMLPanel plotPanel,ClickHandler sessionScopePlotCheckBoxClickHandler,JaggerResources resources){
  this.sessionId=sessionId;
  this.sessionScopePlotList=sessionScopePlotList;
  this.plotPanel=plotPanel;
  this.sessionScopePlotCheckBoxClickHandler=sessionScopePlotCheckBoxClickHandler;
  this.resources=resources;
}