Examples of Icon


Examples of com.vaadin.terminal.gwt.client.ui.Icon

        boolean showError = uidl.hasAttribute(ATTRIBUTE_ERROR)
                && !uidl.getBooleanAttribute(ATTRIBUTE_HIDEERRORS);

        if (hasIcon) {
            if (icon == null) {
                icon = new Icon(client);
                icon.setWidth("0");
                icon.setHeight("0");

                DOM.insertChild(getElement(), icon.getElement(),
                        getInsertPosition(ATTRIBUTE_ICON));
View Full Code Here

Examples of de.agilecoders.wicket.core.markup.html.bootstrap.image.Icon

  public FontAwesomePage(final PageParameters varParameters) {
    super(varParameters);

    // inline icon
    add(new Icon("inline-fa", FontAwesomeIconType.camera_retro));

    // larger icons
    add(new Icon("large-fa", FontAwesomeIconTypeBuilder.on(FontAwesomeIconTypeBuilder.FontAwesomeGraphic.camera_retro).size(Size.large).build()));
    add(new Icon("2x-fa", FontAwesomeIconTypeBuilder.on(FontAwesomeIconTypeBuilder.FontAwesomeGraphic.camera_retro).size(Size.two).build()));
    add(new Icon("3x-fa", FontAwesomeIconTypeBuilder.on(FontAwesomeIconTypeBuilder.FontAwesomeGraphic.camera_retro).size(Size.three).build()));
    add(new Icon("4x-fa", FontAwesomeIconTypeBuilder.on(FontAwesomeGraphic.camera_retro).size(Size.four).build()));
    add(new Icon("5x-fa", FontAwesomeIconTypeBuilder.on(FontAwesomeIconTypeBuilder.FontAwesomeGraphic.camera_retro).size(Size.five).build()));

    // spin icons
    add(new Icon("spinner-spin-fa", FontAwesomeIconTypeBuilder.on(FontAwesomeGraphic.spinner).spin().build()));
    add(new Icon("refresh-spin-fa", FontAwesomeIconTypeBuilder.on(FontAwesomeIconTypeBuilder.FontAwesomeGraphic.refresh).spin().build()));
    add(new Icon("cog-spin-fa", FontAwesomeIconTypeBuilder.on(FontAwesomeGraphic.cog).spin().build()));

    // rotate
    add(new Icon("shield-rotate-normal", FontAwesomeIconType.shield));
    add(new Icon("shield-rotate-90", FontAwesomeIconTypeBuilder.on(FontAwesomeIconTypeBuilder.FontAwesomeGraphic.shield)
            .rotate(Rotation.rotate_90).build()));
    add(new Icon("shield-rotate-180", FontAwesomeIconTypeBuilder.on(FontAwesomeIconTypeBuilder.FontAwesomeGraphic.shield)
            .rotate(Rotation.rotate_180).build()));
    add(new Icon("shield-rotate-270", FontAwesomeIconTypeBuilder.on(FontAwesomeIconTypeBuilder.FontAwesomeGraphic.shield)
            .rotate(Rotation.rotate_270).build()));
    add(new Icon("shield-rotate-flip-horizontal", FontAwesomeIconTypeBuilder.on(FontAwesomeIconTypeBuilder.FontAwesomeGraphic.shield)
            .rotate(Rotation.flip_horizontal).build()));
    add(new Icon("shield-rotate-flip-vertical", FontAwesomeIconTypeBuilder.on(FontAwesomeGraphic.shield)
            .rotate(Rotation.flip_vertical).build()));

  }
View Full Code Here

Examples of de.eydamos.guiadvanced.subpart.Icon

            guiBackpack.addSubPart(guiSlot);
        }

        if(!backpack.isIntelligent()) {
            // arrow
            guiBackpack.addSubPart(new Icon(0, 238, 90, 35, 22, 15));
            // clear button
            Button btn_clear = new Button(0, 88, 16, 11, 11, "c");
            guiBackpack.addSubPart(btn_clear);
        } else {
            Button btn_clear = new Button(0, 66, 16, 11, 11, "c");
View Full Code Here

Examples of de.jensd.fx.fontawesome.Icon

                .add(Icon.create()
                        .icon(AwesomeIcon.BITBUCKET)
                        .style("-fx-font-size: 6em; "
                                + "-fx-text-fill: linear-gradient(#ffffff 0%, #d2d2d2); "
                                + "-fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.8) , 4 , 0.0 , 1 , 1 );"))
                .add(new Icon(AwesomeIcon.BAN, null, "-fx-font-size: 12em; -fx-text-fill: red; -fx-opacity: 0.5;", null));

        HBox stackIconBox2 = new HBox();
        stackIconBox2.setSpacing(5.0);
        stackIconBox2.setPadding(new Insets(10.0));
        stackIconBox2.getChildren().addAll(iconStack1);
View Full Code Here

Examples of de.micromata.opengis.kml.v_2_2_0.Icon

        .withName(worksheet.getTitle()).withOpen(true);

    Style style = folder.createAndAddStyle().withId("karma");
   
    if(randomCounter++%2 == 0)
      style.createAndSetIconStyle().withScale(1.399999976158142).withIcon(new Icon().withHref("http://maps.google.com/mapfiles/ms/icons/blue-pushpin.png"));
    else
      style.createAndSetIconStyle().withScale(1.399999976158142).withIcon(new Icon().withHref("http://maps.google.com/mapfiles/ms/icons/red-pushpin.png"));

    for (edu.isi.karma.geospatial.Point point : points) {
      folder.createAndAddPlacemark()
          .withDescription(point.getHTMLDescription())
          .withVisibility(true)
View Full Code Here

Examples of javax.swing.Icon

      }
    });

    add(new JScrollPane(mExclusionsList), cc.xywh(2, 1, 1, 5));

    Icon newIcon = TVBrowserIcons.newIcon(TVBrowserIcons.SIZE_SMALL);
    Icon editIcon = TVBrowserIcons.edit(TVBrowserIcons.SIZE_SMALL);
    Icon deleteIcon = TVBrowserIcons.delete(TVBrowserIcons.SIZE_SMALL);

    mNewExclusionBtn = new JButton(newIcon);
    mEditExclusionBtn = new JButton(editIcon);
    mDeleteExclusionBtn = new JButton(deleteIcon);
View Full Code Here

Examples of javax.swing.Icon

          }
        }

        // get icon from node
        if (value instanceof Node) {
          Icon icon = ((Node)value).getIcon();

          if (icon != null) {
            label.setIcon(icon);
          }
        }
View Full Code Here

Examples of javax.swing.Icon

  public Icon getIcon() {
    if ((mSettingsTab != null) && (mSettingsTab.getIcon() != null)) {
      return mSettingsTab.getIcon();
    }

    Icon icon = mPlugin.getPluginIcon();
    if (icon != null
        && icon instanceof ImageIcon
        && ((ImageIcon) icon).toString().equals(
            AbstractPluginProxy.DEFAULT_PLUGIN_ICON_NAME)) {
      return null;
View Full Code Here

Examples of javax.swing.Icon

    }
  }

  public Icon getIcon() {
    try {
      Icon icon = mSettingsTab.getIcon();
      if (icon != null) {
        return new FixedSizeIcon(16, 16, icon);
      }
      return icon;
    }catch(Throwable t) {
View Full Code Here

Examples of javax.swing.Icon

      };

      mSeparatorAction.putValue(ToolBar.ACTION_ID_KEY, "#separator");
      mSeparatorAction.putValue(ToolBar.ACTION_TYPE_KEY, ToolBar.SEPARATOR);
      mSeparatorAction.putValue(Action.NAME, "Separator");
      mSeparatorAction.putValue(Plugin.BIG_ICON, new Icon() {

        public int getIconHeight() {
          return 22;
        }
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.