Examples of Icons


Examples of fr.soleil.util.icon.Icons

    }
   
    private void initComponents() {
        this.setSize(Toolkit.getDefaultToolkit().getScreenSize().width / 3,
                Toolkit.getDefaultToolkit().getScreenSize().height / 3);
        icons = new Icons("fr.soleil.bean.samplesbean.icons");
        mainPanel = new JPanel(new BorderLayout());
        add(mainPanel);
        this.setVisible(true);
    }
View Full Code Here

Examples of fr.soleil.util.icon.Icons

     *
     * @return an {@link Icons}
     */
    protected Icons createIconBundle() {
        try {
            return new Icons(getClass().getPackage().getName() + ".icons");
        }
        catch (Exception e) {
            return null;
        }
    }
View Full Code Here

Examples of fr.soleil.util.icon.Icons

     *
     * @return an {@link Icons}
     */
    protected Icons createIconBundle() {
        try {
            return new Icons(getClass().getPackage().getName() + ".icons");
        }
        catch (Exception e) {
            return null;
        }
    }
View Full Code Here

Examples of gwtquery.plugins.ui.widgets.Accordion.Icons

    return "Customize Icons";
  }

  public void setupDemoElement(final Element demo) {

    final Icons icons = Icons.create().header("ui-icon-circle-arrow-e").headerSelected("ui-icon-circle-arrow-s");
    $("#accordion", demo).as(Ui).accordion(Options.create().icons(icons));

    $("#toggle", demo).as(Ui).button().toggle(new Function() {
      @Override
      public boolean f(Event e) {
View Full Code Here

Examples of nu.fw.jeti.images.Icons

   
   
  public Plugin(Backend backend) throws IOException
  {
    loadParser();
    new Icons(parser,"emoticons");
   
    /*
    //if(Start.programURL == null && !new File(Start.path + "plugins" + File.separator + "emoticons").exists()) throw new IOException("no emoticons");
    emoticons =Preferences.getPlugable("emoticons");
    loadParser();
View Full Code Here

Examples of org.jboss.annotation.javaee.Icons

            if (descriptions != null)
                dg.setDescriptions(descriptions);
            DisplayNames displayNames = getDisplayName(displayName);
            if (displayNames != null)
                dg.setDisplayNames(displayNames);
            Icons icons = getIcons(smallIcon, largeIcon);
            if (icons != null)
                dg.setIcons(icons);
        }
        return dg;
    }
View Full Code Here

Examples of org.jboss.annotation.javaee.Icons

      dedn.setLanguage("de");

      DisplayName[] expecteddns = {endn, frdn, dedn};
      assertEquals(expecteddns, displayNames.value());

      Icons icons = group.getIcons();
      assertNotNull(icons);
      IconImpl enicn = new IconImpl();
      enicn.setId("en-ear-icon-id");
      enicn.setSmallIcon("en-ear-small-icon");
      enicn.setLargeIcon("en-ear-large-icon");
      IconImpl fricn = new IconImpl();
      fricn.setLanguage("fr");
      fricn.setId("fr-ear-icon-id");
      fricn.setSmallIcon("fr-ear-small-icon");
      fricn.setLargeIcon("fr-ear-large-icon");
      IconImpl deicn = new IconImpl();
      deicn.setLanguage("de");
      deicn.setId("de-ear-icon-id");
      deicn.setSmallIcon("de-ear-small-icon");
      deicn.setLargeIcon("de-ear-large-icon");
     
      Icon[] expectedicns = {enicn, fricn, deicn};
      assertEquals(expectedicns, icons.value());
   }
View Full Code Here

Examples of org.jboss.annotation.javaee.Icons

      dedn.setLanguage("de");

      DisplayName[] expecteddns = {endn, frdn, dedn};
      assertEquals(expecteddns, displayNames.value());

      Icons icons = group.getIcons();
      assertNotNull(icons);
      IconImpl enicn = new IconImpl();
      enicn.setId("en-ear-icon-id");
      enicn.setSmallIcon("en-ear-small-icon");
      enicn.setLargeIcon("en-ear-large-icon");
      IconImpl fricn = new IconImpl();
      fricn.setLanguage("fr");
      fricn.setId("fr-ear-icon-id");
      fricn.setSmallIcon("fr-ear-small-icon");
      fricn.setLargeIcon("fr-ear-large-icon");
      IconImpl deicn = new IconImpl();
      deicn.setLanguage("de");
      deicn.setId("de-ear-icon-id");
      deicn.setSmallIcon("de-ear-small-icon");
      deicn.setLargeIcon("de-ear-large-icon");
     
      Icon[] expectedicns = {enicn, fricn, deicn};
      assertEquals(expectedicns, icons.value());
   }
View Full Code Here

Examples of org.jboss.annotation.javaee.Icons

   protected void assertIcon(Ear5xMetaData ear)
      throws Exception
   {
      DescriptionGroupMetaData group = ear.getDescriptionGroup();
      assertNotNull(group);
      Icons icons = group.getIcons();
      assertNotNull(icons);
     
      IconImpl en = new IconImpl();
      en.setId("en-ear-icon-id");
      en.setSmallIcon("en-ear-small-icon");
      en.setLargeIcon("en-ear-large-icon");
      IconImpl fr = new IconImpl();
      fr.setLanguage("fr");
      fr.setId("fr-ear-icon-id");
      fr.setSmallIcon("fr-ear-small-icon");
      fr.setLargeIcon("fr-ear-large-icon");
      IconImpl de = new IconImpl();
      de.setLanguage("de");
      de.setId("de-ear-icon-id");
      de.setSmallIcon("de-ear-small-icon");
      de.setLargeIcon("de-ear-large-icon");
     
      Icon[] expected = {en, fr, de};
      assertEquals(expected, icons.value());
   }
View Full Code Here

Examples of org.jboss.annotation.javaee.Icons

   public void testIconDefaultLanguage() throws Exception
   {
      DescriptionsElement result = unmarshal(DescriptionsElement.class);
      DescriptionGroupMetaData group = result.getDescriptionGroup();
      assertNotNull(group);
      Icons icons = group.getIcons();
      assertNotNull(icons);
     
      IconImpl icon = new IconImpl();
      icon.setSmallIcon("small");
      icon.setLargeIcon("large");
      assertEquals(new Icon[] { icon }, icons.value());
   }
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.