Examples of addStyleName()


Examples of org.onebusaway.webapp.gwt.oba_library.view.PatchMarker.addStyleName()

        LatLngBounds regionBounds = region.getBounds();
        PatchMarker marker = new PatchMarker(regionBounds);
        Style style = marker.getStyle();
        style.setProperty("backgroundColor", color);
        marker.addStyleName("patch");

        // _overlays.add(marker);
        _mapOverlayManager.addOverlay(marker, 10, 15);

        bounds.extend(regionBounds.getNorthEast());
View Full Code Here

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

        // get the link to the image
        final StyledTooltipImage image = new StyledTooltipImage(object
            .getLinks().get(i).getHref(), "attachment",
            uiText.ShowPreview());

        image.addStyleName("link");

        // if the activity has a title
        if (activity.hasTitle() && activity.getTitle().length() > 0) {

          // and the link has a title as well
View Full Code Here

Examples of org.pentaho.gwt.widgets.client.dialogs.MessageDialogBox.addStyleName()

  private void showValidateOutputLocationError() {
    String title = Messages.getString( "outputLocationErrorTitle" );
    String message = Messages.getString( "outputLocationErrorMessage" );
    MessageDialogBox dialogBox =
        new MessageDialogBox( title, message, false, false, true, Messages.getString( "close" ), null, null ); //$NON-NLS-1$
    dialogBox.addStyleName( "pentaho-dialog-small" );
    dialogBox.center();
  }

  private native JsArray<JsJob> parseJson( String json )
  /*-{
 
View Full Code Here

Examples of org.rstudio.core.client.widget.ProgressImage.addStyleName()

     
      // add progress
      HorizontalPanel progressPanel = new HorizontalPanel();
      ProgressImage progressImage =  new ProgressImage(
                                       CoreResources.INSTANCE.progress_gray());
      progressImage.addStyleName(RESOURCES.styles().progressImage());
      progressImage.show(true);
      progressPanel.add(progressImage);
      progressPanel.add(new Label(PROGRESS_MESSAGE));
      addLeftWidget(progressPanel);
   }
View Full Code Here

Examples of org.rstudio.core.client.widget.SmallButton.addStyleName()

  
   private SmallButton createButton(String caption)
   {
      SmallButton button = new SmallButton(caption);
      button.addStyleName(RES.styles().codeFilesListButton());
      button.fillWidth();
      return button;
   }
  
   private final ListBox listBox_;
View Full Code Here

Examples of org.rstudio.core.client.widget.ToolbarButton.addStyleName()

   {
      PrimaryWindowFrame frame = new PrimaryWindowFrame("Console", null);

      ToolbarButton goToWorkingDirButton =
            commands_.goToWorkingDir().createToolbarButton();
      goToWorkingDirButton.addStyleName(
            ThemeResources.INSTANCE.themeStyles().windowFrameToolbarButton());

      @SuppressWarnings("unused")
      ConsoleTabPanel consoleTabPanel = new ConsoleTabPanel(frame,
                                                            consolePane_,
View Full Code Here

Examples of org.rstudio.studio.client.common.HelpLink.addStyleName()

           
            verticalPanel.add(msg);
           
            HelpLink vcsHelpLink = new VcsHelpLink();
            vcsHelpLink.setCaption("Using " + getTitle() + " with RStudio");
            vcsHelpLink.addStyleName(styles.vcsHelpLink());
            verticalPanel.add(vcsHelpLink);
         }
         else
         {
            HTML msg = new HTML(
View Full Code Here

Examples of org.rstudio.studio.client.common.vcs.VcsHelpLink.addStyleName()

           
            verticalPanel.add(msg);
           
            HelpLink vcsHelpLink = new VcsHelpLink();
            vcsHelpLink.setCaption("Using " + getTitle() + " with RStudio");
            vcsHelpLink.addStyleName(styles.vcsHelpLink());
            verticalPanel.add(vcsHelpLink);
         }
         else
         {
            HTML msg = new HTML(
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.button.text.TextButton.addStyleName()

    TextButton template = new TextButton("", TextButtonStyle.REGULAR_BUTTON, "");
    template.setUiListener(buttonLogic.getUiEventListener());
    buttonLogic.setButtonDisplay(template);
    // Apply some extra css to make it render correctly in the editor.
    template.addStyleName(css.button());
    return template;
  }

  private void onContentEventsChanged(ContentElement element) {
    ClickButton buttonLogic = element.getProperty(Button.BUTTON_LOGIC_PROP);
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.