Examples of Icon


Examples of org.apache.openejb.jee.Icon

                    + ". Please redeploy the jar");
        }
        bean.ejbDeploymentId = d.getDeploymentId();
        bean.containerId = d.getContainerId();

        Icon icon = s.getIcon();
        bean.largeIcon = (icon == null) ? null : icon.getLargeIcon();
        bean.smallIcon = (icon == null) ? null : icon.getSmallIcon();
        bean.description = s.getDescription();
        bean.displayName = s.getDisplayName();
        bean.ejbClass = s.getEjbClass();
        bean.ejbName = s.getEjbName();
        bean.home = s.getHome();
View Full Code Here

Examples of org.cast.cwm.components.Icon

      link.setVisible(ISIApplication.get().isPageNumbersOn());
      link.add(new Label("pageNum", String.valueOf(pageNumDisplay)).setRenderBodyOnly(true));

      feedbackRequired = false;

      Icon envelopImage;
      if (page.equals(currentPage)) {
        envelopImage = new EnvelopImageWithStatusUpdate("icon", new Model<ISIXmlSection>(page));
        link.setEnabled(false);
        link.add(new ClassAttributeModifier("current"));
      } else {
        envelopImage = new EnvelopeImage("icon", new Model<ISIXmlSection>(page));
      }
     
      // for teachers add any of the status icons, for students, just add the envelope if appropriate
      if (teacher && (currentSectionStatus != null)) {
        // if the page has feedback (red envelope) then display the envelope
        // otherwise, display the needs review icon or no icon at all
        if ((currentSectionStatus.getCompleted() == true) &&
          (currentSectionStatus.getReviewed() == false) &&
          (!feedbackRequired)) {
          Icon icon = new Icon("icon", "img/icons/status_ready.png", "Ready for review");
          link.add(icon);
          // don't display the status icon if there's no response group on this page
          icon.setVisible(page.hasResponseGroup());
        } else {
          link.add(envelopImage);
        }
      } else { // just add the envelope for the student
        link.add(envelopImage);
View Full Code Here

Examples of org.cybergarage.upnp.Icon

  void updateIconList(TreeNode parentNode, Device device)
  {
    IconList iconList = device.getIconList();
    int nIcons = iconList.size();
    for (int n=0; n<nIcons; n++) {
      Icon icon = iconList.getIcon(n);
      String url = icon.getURL();
      TreeNode iconNode = new TreeNode(url);
      iconNode.setUserData(icon);
      parentNode.add(iconNode);
    }
  }
View Full Code Here

Examples of org.dcarew.model.annotations.Icon

      name = nameAnnotation.value();
    else
      name = CoreUtils.getShortName(clazz);
   
    // icon property
    Icon iconAnnotation = clazz.getAnnotation(Icon.class);
   
    if (iconAnnotation != null)
    {
      URL iconURL = clazz.getClassLoader().getResource(iconAnnotation.value());
     
      icon = ModelPlugin.getPlugin().getImage(iconURL);
    }
    else
    {
View Full Code Here

Examples of org.dmtf.schemas.ovf.envelope._1.ProductSectionType.Icon

        product.getCategoryOrProperty().add(createProperty("password", disk.getLoginPassword()));

        final String diskIcon = disk.getIconPath();
        if (diskIcon != null)
        {
            Icon icon = OVFProductUtils.createIcon(50, 50, "jpg", diskIcon); // XXX icon
            // details
            OVFProductUtils.addProductIcon(product, icon);
        }
        // warn
View Full Code Here

Examples of org.fourthline.cling.model.meta.Icon

    /**
     * Try loading the icon specified in the properties file
     */
    private Icon loadIcon() {
      File iconFile = new File(properties.getIconPath());
      Icon icon = null;
      try {
        if (iconFile.exists() && iconFile.canRead()) {
          icon = new Icon("image/png", 48, 48, 8, iconFile);
        } else {
          log.warning("Custom icon " + properties.getIconPath() + " could not be read.");
        }
      } catch (IOException e) {
        log.warning("IO Exception trying to load icon file at " + properties.getIconPath());
View Full Code Here

Examples of org.geoserver.web.wicket.Icon

                    Property<WorkspaceInfo> property) {
                if ( property == NAME ) {
                    return workspaceLink(id, itemModel);
                } else if (property == DEFAULT) {
                    if(getCatalog().getDefaultWorkspace().equals(itemModel.getObject()))
                        return new Icon(id, CatalogIconFactory.ENABLED_ICON);
                    else
                        return new Label(id, "");
                }
               
                throw new IllegalArgumentException("No such property "+ property.getName());
View Full Code Here

Examples of org.gwtbootstrap3.client.ui.Icon

                if (icon != null) {
                    icon.removeFromParent();
                }

                icon = new Icon();
                icon.setType(iconType);
                icon.setSize(iconSize);
                icon.setFlip(iconFlip);
                icon.setRotate(iconRotate);
                icon.setMuted(iconMuted);
View Full Code Here

Examples of org.gwtopenmaps.openlayers.client.Icon

        }
        return null;
    }

    public static Icon getIcon(IconType type, boolean selected) {
        return new Icon(getIconUrl(type, selected), iconSize, iconOffset);
    }
View Full Code Here

Examples of org.jboss.annotation.javaee.Icon

               {
                  DescriptionGroupMetaData descriptionGroup = tagMetaData.getDescriptionGroup();
                  if (descriptionGroup.getIcons() != null && descriptionGroup.getIcons().value() != null
                        && (descriptionGroup.getIcons().value().length > 0))
                  {
                     Icon icon = descriptionGroup.getIcons().value()[0];
                     tagInfo.setLargeIcon(icon.largeIcon());
                     tagInfo.setSmallIcon(icon.smallIcon());
                  }
                  tagInfo.setInfoString(descriptionGroup.getDescription());
                  tagInfo.setDisplayName(descriptionGroup.getDisplayName());
               }
               // Variable
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.