Examples of addClickHandler()


Examples of org.jboss.ballroom.client.widgets.forms.ButtonItem.addClickHandler()

        form = new Form<BootstrapServer>(BootstrapServer.class);
        final TextBoxItem nameItem = new TextBoxItem("name", "Name");
        TextBoxItem urlItem = new TextBoxItem("url", "URL");
        ButtonItem pingItem = new ButtonItem("", "", "Ping");
        pingItem.addClickHandler(new ClickHandler()
        {
            @Override
            public void onClick(final ClickEvent event)
            {
                FormValidation validation = form.validate();
View Full Code Here

Examples of org.jboss.ballroom.client.widgets.icons.FontIcon.addClickHandler()

        headerId = "h_" + DOM.createUniqueId();
        titleText.getElement().setId(headerId);
        titleText.setStyleName("default-window-title");

        FontIcon closeIcon = new FontIcon("icon-remove", FontIcon.Size.SMALL);
        closeIcon.addClickHandler(new ClickHandler(){
            @Override
            public void onClick(ClickEvent clickEvent) {
                callback.hide();
            }
        });
View Full Code Here

Examples of org.jboss.ballroom.client.widgets.tools.ToolButton.addClickHandler()

                            }
                        });
            }
        };
        ToolButton deleteBtn = new ToolButton(Console.CONSTANTS.common_label_delete());
        deleteBtn.addClickHandler(clickHandler);
        topLevelTools.addToolButtonRight(deleteBtn);

        // -------

View Full Code Here

Examples of org.kie.uberfire.client.common.AddButton.addClickHandler()

    private Widget newColumn() {
        AddButton addButton = new AddButton();
        addButton.setText( GuidedDecisionTableConstants.INSTANCE.NewColumn() );
        addButton.setTitle( GuidedDecisionTableConstants.INSTANCE.AddNewColumn() );

        addButton.addClickHandler( new ClickHandler() {
            public void onClick( ClickEvent w ) {
                final FormStylePopup pop = new FormStylePopup();
                pop.setModal( false );

                //List of basic column types
View Full Code Here

Examples of org.onebusaway.webapp.gwt.common.widgets.DivWidget.addClickHandler()

        String name = RoutePresenter.getNameForRoute(route);
        DivWidget w = new DivWidget(name);
        w.addStyleName(_css.stopInfoWindowRouteLongNameEntry());
        if (name.length() > 10)
          w.addStyleName(_css.stopInfoWindowRouteReallyLongNameEntry());
        w.addClickHandler(new ClickHandler() {
          public void onClick(ClickEvent arg0) {
            _stopFinder.queryRoute(route.getId());
          }
        });
        longNameRoutesPanel.add(w);
View Full Code Here

Examples of org.onebusaway.webapp.gwt.common.widgets.SpanWidget.addClickHandler()

    _label.setVisible(!_expanded);
    add(_label);

    ClickHandlerImpl handler = new ClickHandlerImpl();
    image.addClickHandler(handler);
    label.addClickHandler(handler);
  }

  public void addEntry(LocalSearchResult result, TimedPlaceBean bean) {
    DivWidget widget = new DivWidget(result.getName() + " "
        + (bean.getTime() / 60) + " mins");
View Full Code Here

Examples of org.onesocialweb.gwt.client.ui.widget.StyledButton.addClickHandler()

    initWidget(searchPanel);

    searchPanel.setStyleName("topPanel");

    // handlers
    show.addClickHandler(new ClickHandler() {

      public void onClick(ClickEvent event) {
        search();
      }
    });
View Full Code Here

Examples of org.onesocialweb.gwt.client.ui.widget.StyledLabel.addClickHandler()

              }

            });

        label.addClickHandler(new ClickHandler() {
          public void onClick(ClickEvent event) {
            // get the app instance from the session manager
            AbstractApplication app = OswClient.getInstance()
                .getCurrentApplication();
            ProfileWindow profileWindow = (ProfileWindow) app
View Full Code Here

Examples of org.onesocialweb.gwt.client.ui.widget.StyledTooltipImage.addClickHandler()

          title.setText(object.getLinks().get(i).getTitle());
        }

        attachmentFlow.add(image);

        image.addClickHandler(new ClickHandler() {
          public void onClick(ClickEvent event) {
            PicturePreviewDialog.getInstance().showDialog(
                image.getUrl(), uiText.ImagePreview());
          }
        });
View Full Code Here

Examples of org.rhq.coregui.client.util.enhanced.EnhancedIButton.addClickHandler()

        HStack row = new HStack();
        row.setMembersMargin(5);
        row.setAlign(VerticalAlignment.CENTER);
        IButton okButton = new EnhancedIButton(MSG.common_button_ok());
        okButton.addClickHandler(new ClickHandler() {
            public void onClick(ClickEvent event) {

                //F5 refresh check? If they've reloaded the form for some reason then bail.
                boolean credentialsEmpty = ((user == null) || (user.trim().isEmpty()) || (password == null) || (password
                    .trim().isEmpty()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.