Examples of Icon


Examples of at.bestsolution.efxclipse.tooling.jdt.ui.internal.editors.model.anttasks.parameters.Icon

        T result = caseInfo(info);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ParametersPackage.ICON: {
        Icon icon = (Icon)theEObject;
        T result = caseIcon(icon);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ParametersPackage.SPLASH: {
View Full Code Here

Examples of com.colorfulsoftware.atom.Icon

          null, null);
      contributors.add(contributor);

      Rights rights = feedDoc.buildRights("GPL 1.0", null);

      Icon icon = feedDoc.buildIcon(null, "http://host/images/icon.png");

      Logo logo = feedDoc.buildLogo(null, "http://host/images/logo.png");

      List<Attribute> catAttrs = new LinkedList<Attribute>();
      catAttrs.add(feedDoc.buildAttribute("term", "music"));
View Full Code Here

Examples of com.github.gwtbootstrap.client.ui.Icon

                pageLink.setActive(true);
            }
            pagination.add(pageLink);
        }

        Icon leftPageIcon = new Icon(IconType.ANGLE_LEFT);
        leftPageIcon.setIconSize(IconSize.LARGE);
        leftPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
        leftPageIcon.sinkEvents(Event.ONCLICK);
        leftPageIcon.addHandler(new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                gotoPage(currentPage - 1);
            }
        }, ClickEvent.getType());
        Tooltip leftPageTooltip = new Tooltip( GoogleDisplayerConstants.INSTANCE.googleTableDisplayer_gotoPreviousPage() );
        leftPageTooltip.add(leftPageIcon);

        Icon rightPageIcon = new Icon(IconType.ANGLE_RIGHT);
        rightPageIcon.setIconSize(IconSize.LARGE);
        rightPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
        rightPageIcon.sinkEvents(Event.ONCLICK);
        rightPageIcon.addHandler(new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                gotoPage(currentPage + 1);
            }
        }, ClickEvent.getType());
        Tooltip rightPageTooltip = new Tooltip( GoogleDisplayerConstants.INSTANCE.googleTableDisplayer_gotoNextPage() );
        rightPageTooltip.add(rightPageIcon);

        Icon firstPageIcon = new Icon(IconType.DOUBLE_ANGLE_LEFT);
        firstPageIcon.setIconSize(IconSize.LARGE);
        firstPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
        firstPageIcon.sinkEvents(Event.ONCLICK);
        firstPageIcon.addHandler(new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                gotoPage(1);
            }
        }, ClickEvent.getType());
        Tooltip firstPageTooltip = new Tooltip( GoogleDisplayerConstants.INSTANCE.googleTableDisplayer_gotoFirstPage() );
        firstPageTooltip.add(firstPageIcon);

        Icon lastPageIcon = new Icon(IconType.DOUBLE_ANGLE_RIGHT);
        lastPageIcon.setIconSize(IconSize.LARGE);
        lastPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
        lastPageIcon.sinkEvents(Event.ONCLICK);
        lastPageIcon.addHandler(new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                gotoPage(numberOfPages);
            }
        }, ClickEvent.getType());
View Full Code Here

Examples of com.google.gwt.chrome.crx.client.Icon

              WindowChannel.Message data) {
            final RecordingDataMessage recordingDataMessage = data.cast();
            int tabId = recordingDataMessage.getTabId();
            int browserId = recordingDataMessage.getBrowserId();
            TabModel tabModel = browserConnectionMap.get(browserId).tabMap.get(tabId);
            Icon pageActionIcon;
            if (recordingDataMessage.isRecording()) {
              tabModel.dataInstance.resumeMonitoring();
              pageActionIcon = browserAction.mtIconActive();
              // We need to ensure that the profiling options are in synch in
              // the browser with the current state reflected in the UI.
View Full Code Here

Examples of com.google.gwt.maps.client.overlay.Icon

  @Override
  public void onShow() {
    map.clearOverlays();

    // Create our "tiny" marker icon
    Icon icon = Icon.newInstance(
        "http://labs.google.com/ridefinder/images/mm_20_red.png");
    icon.setShadowURL("http://labs.google.com/ridefinder/images/mm_20_shadow.png");
    icon.setIconSize(Size.newInstance(12, 20));
    icon.setShadowSize(Size.newInstance(22, 20));
    icon.setIconAnchor(Point.newInstance(6, 20));
    icon.setInfoWindowAnchor(Point.newInstance(5, 1));

    // Add 10 markers to the map at random locations
    LatLngBounds bounds = map.getBounds();
    LatLng southWest = bounds.getSouthWest();
    LatLng northEast = bounds.getNorthEast();
View Full Code Here

Examples of com.jigen.ant.Icon

 
  public void appendIcons() throws IOException
  {
    for (RunnableResource runnable : jigen.getRunnables())
    {
      Icon icon = runnable.getIcon();
     
      if (icon != null)
      {
        File iconSource = runnable.getIcon().getSource();
       
        appendFile("icons/" + iconSource.getName(), iconSource);
      }
    }
   
    for (Resource resource : jigen.getResources())
    {
      Icon icon = resource.getIcon();
     
      if (icon != null)
      {
        File iconSource = resource.getIcon().getSource();
     
View Full Code Here

Examples of com.lbslocal.cc.objects.v0.common.Icon

        mapOptionsDependencyObjects[1] = cr.new ObjectsHelper();
        mapOptionsDependencyObjects[1].object = new Icon[0];
        mapOptionsDependencyObjects[1].alias = "icon";
       
        mapOptionsDependencyObjects[2] = cr.new ObjectsHelper();
        mapOptionsDependencyObjects[2].object = new Icon();
        mapOptionsDependencyObjects[2].alias = "Icon";
       
        mapOptionsDependencyObjects[3] = cr.new ObjectsHelper();
        mapOptionsDependencyObjects[3].object = new Point();
        mapOptionsDependencyObjects[3].alias = "point";
 
        MapOptions mo = (MapOptions) cr.getObjectFromXML(ph.XMLFile, "mo", MapOptions.class, mapOptionsDependencyObjects);
       
        String routeId = cr.getFieldFromXML(ph.XMLFile, "routeId");
        int radius = Integer.valueOf(cr.getFieldFromXML(ph.XMLFile, "radius"));
       
        try
        {
          mi = cMr.getZoomRadius(routeId, point, radius, mo, id_licenca, mapType);
        }
        catch (Exception e)
        {
          e.printStackTrace();
        }
       
        response.setContentType("text/xml");
        response.setCharacterEncoding("UTF-8");
       
        ObjectsHelper[] dependencyObjects = new ObjectsHelper[2];
       
        dependencyObjects[0] = cr.new ObjectsHelper();
        dependencyObjects[0].object = new Extent();
        dependencyObjects[0].alias = "extent";
       
        dependencyObjects[1] = cr.new ObjectsHelper();
        dependencyObjects[1].object = new MapInfo();
        dependencyObjects[1].alias = "MapInfo";

        response.getWriter().write("<?xml version='1.0' encoding='UTF-8'?>\n" + cr.getXMLFromObject(mi, dependencyObjects) + "");
      }
      if (ph.fields[0].equals("getMap"))
      {
        MapInfo mi = new MapInfo();
       
        String mapType = cr.getFieldFromXML(ph.XMLFile, "maptype");
       
        if (!mapType.toLowerCase().equals("gif") && !mapType.toLowerCase().equals("png") && !mapType.toLowerCase().equals("jpg") ){
          mapType = "png";
        }
       
        Extent extent = (Extent) cr.getObjectFromXML(ph.XMLFile, "extent", Extent.class, null);
       
        ObjectsHelper[] mapOptionsDependencyObjects = new ObjectsHelper[4];
       
        mapOptionsDependencyObjects[0] = cr.new ObjectsHelper();
        mapOptionsDependencyObjects[0].object = new MapSize();
        mapOptionsDependencyObjects[0].alias = "mapSize";
       
        mapOptionsDependencyObjects[1] = cr.new ObjectsHelper();
        mapOptionsDependencyObjects[1].object = new Icon[0];
        mapOptionsDependencyObjects[1].alias = "icon";
       
        mapOptionsDependencyObjects[2] = cr.new ObjectsHelper();
        mapOptionsDependencyObjects[2].object = new Icon();
        mapOptionsDependencyObjects[2].alias = "Icon";
       
        mapOptionsDependencyObjects[3] = cr.new ObjectsHelper();
        mapOptionsDependencyObjects[3].object = new Point();
        mapOptionsDependencyObjects[3].alias = "point";
View Full Code Here

Examples of com.liferay.faces.alloy.component.icon.Icon

      ApplicationFactory applicationFactory = (ApplicationFactory) FactoryFinder.getFactory(
          FactoryFinder.APPLICATION_FACTORY);
      Application application = applicationFactory.getApplication();

      // Create an icon component that is to remain detached from the component tree.
      Icon icon = (Icon) application.createComponent(Icon.COMPONENT_TYPE);
      String buttonIconName = getButtonIconName();
      icon.setName(buttonIconName);

      // Create a button component that that is also to remain detached from the component tree.
      Button button = (Button) application.createComponent(Button.COMPONENT_TYPE);
      List<UIComponent> buttonChildren = button.getChildren();
      buttonChildren.add(icon);
View Full Code Here

Examples of com.sishuok.es.maintain.icon.entity.Icon

        throw new RuntimeException("discarded method");
    }

    @RequestMapping(value = "{type}/create", method = RequestMethod.GET)
    public String showCreateForm(@PathVariable(value = "type") IconType type, Model model) {
        Icon icon = new Icon();
        icon.setType(type);
        if (type == IconType.css_sprite || type == IconType.upload_file) {
            icon.setWidth(13);
            icon.setHeight(13);
        }
        model.addAttribute("m", icon);
        return super.showCreateForm(model);
    }
View Full Code Here

Examples of com.vaadin.client.ui.Icon

        if (getWidget().icon != null) {
            getWidget().anchor.removeChild(getWidget().icon.getElement());
            getWidget().icon = null;
        }
        Icon icon = getIcon();
        if (icon != null) {
            getWidget().icon = icon;
            getWidget().anchor.insertBefore(icon.getElement(),
                    getWidget().captionElement);
        }
    }
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.