Examples of Theme


Examples of com.x5.template.Theme

    }
    return componentSet;
  }
 
  private void write(SortedMap<String, List<ArtemisTypeMapping>> mappedSystems, ColumnIndexMapping columnIndices) {
    Theme theme = new Theme();
    Chunk chunk = theme.makeChunk("matrix");
   
    List<ArtemisTypeMapping> mapping = new ArrayList<ArtemisTypeMapping>();
    for (Entry<String,List<ArtemisTypeMapping>> entry : mappedSystems.entrySet()) {
      mapping.add(new ArtemisTypeMapping(entry.getKey()));
      mapping.addAll(entry.getValue());
View Full Code Here

Examples of csa.jportal.theme.Theme



        if (Configuration.getConfiguration().isInit()) // this can be if e.g. in Netbeans IDE panel is used as a bean
        {
            Theme t = Configuration.getConfiguration().getCurrentTheme();
            jLabel7.setIcon(new javax.swing.ImageIcon(t.getImage("AllIconSmall.png"))); // NOI18N
            jLabel7.setName("jLabel7"); // NOI18N
            jLabel7.setText(""); // NOI18N

            jLabel6.setIcon(new javax.swing.ImageIcon(t.getImage("BlueIconSmall.png"))); // NOI18N
            jLabel6.setName("jLabel6"); // NOI18N

            jLabel5.setIcon(new javax.swing.ImageIcon(t.getImage("RedIconSmall.png"))); // NOI18N
            jLabel5.setName("jLabel5"); // NOI18N

            jLabel4.setIcon(new javax.swing.ImageIcon(t.getImage("GreenIconSmall.png"))); // NOI18N
            jLabel4.setName("jLabel4"); // NOI18N

            jLabel3.setIcon(new javax.swing.ImageIcon(t.getImage("WhiteIconSmall.png"))); // NOI18N
            jLabel3.setName("jLabel3"); // NOI18N

            jLabel1.setIcon(new javax.swing.ImageIcon(t.getImage("BlackIconSmall.png"))); // NOI18N
            jLabel1.setName("jLabel1"); // NOI18N
        }
       
       
        jComboBoxKey.removeAllItems();
View Full Code Here

Examples of de.ailis.xadrian.data.Theme

     */
    private ThemeFactory()
    {
        for (LookAndFeelInfo laf: UIManager.getInstalledLookAndFeels())
        {
            Theme theme = new Theme(laf.getName(), laf.getClassName());
            this.themeMap.put(laf.getClassName(), theme);
            this.themes.add(theme);
        }
    }
View Full Code Here

Examples of de.biehlerjosef.unofficialeasybacklogadapter.domain.Theme

  }
 
  public Theme getTheme(Backlog backlog, Integer themeId) {
    throwIfParametersMissing();
    String content = httpAdapter.getResult(Constants.GET_THEME, getBaseUrl(), getApiKey(), String.valueOf(backlog.getId()), String.valueOf(themeId));
    Theme theme = getDomainObject(content, Theme.class);
    theme.setBacklog(backlog);
    return theme;
  }
View Full Code Here

Examples of giggler.ui.swt.skin.themes.Theme

                            themeComboBox.getItem(combo.getSelectionIndex()) != storedTheme);
                    }
                }
            });
           
            Theme themes[] = ThemeFactory.getThemes();
           
            for (Theme theme : themes) {

                themeComboBox.add(theme.getName());
            }
View Full Code Here

Examples of net.sourceforge.pebble.domain.Theme

   * Tests that the upload action is set correctly for theme files.
   */
  public void testUploadActionForThemeFiles() throws Exception {
    request.setParameter("path", "/");
    request.setParameter("type", FileMetaData.THEME_FILE);
    Theme theme = new Theme(blog, "custom", "/some/path");
    blog.setEditableTheme(theme);
    action.process(request, response);
    assertEquals("uploadFileToTheme.secureaction", action.getModel().get("uploadAction"));
  }
View Full Code Here

Examples of org.apache.harmony.awt.Theme

            try {
                return (Theme) Class.forName(className).newInstance();
            } catch (Exception e) {
            }
        }
        return new Theme();
    }
View Full Code Here

Examples of org.apache.jetspeed.decoration.Theme

                if (icon == null)
                {
                    icon = "";
                }
                ThemeBean theme = new ThemeBean(decor.getName(), title, icon);               
                Theme pageTheme = (Theme)rc.getRequest().getAttribute("org.apache.jetspeed.theme");
                if (overrideTheme == null)
                  overrideTheme = pageTheme.getPageLayoutDecoration().getName();
                if (overrideTheme.equals(decor.getName()))
                    theme.setSelected(true);
                themes.add(theme);
            }
        }
View Full Code Here

Examples of org.apache.myfaces.tobago.context.Theme

      LOG.debug("name = '" + defaultThemeName + "'");
      LOG.debug("defaultTheme = '" + defaultTheme + "'");
    }

    for (String name : supportedThemeNames) {
      Theme theme = availableTheme.get(name);
      checkThemeIsAvailable(name, theme);
      supportedThemes.add(theme);
      if (LOG.isDebugEnabled()) {
        LOG.debug("name = '" + name + "'");
        LOG.debug("supportedThemes.last() = '" + supportedThemes.get(supportedThemes.size() - 1) + "'");
View Full Code Here

Examples of org.apache.myfaces.tobago.context.Theme

  public void addMarkupClass(UIComponent component, String rendererName, String sub) {
    if (component instanceof SupportsMarkup) {
      String[] markups = ((SupportsMarkup) component).getMarkup();
      for (String markup: markups) {
        if (!StringUtils.isBlank(markup)) {
          Theme theme = ClientProperties.getInstance(FacesContext.getCurrentInstance().getViewRoot()).getTheme();
          if (theme.getRenderersConfig().isMarkupSupported(rendererName, markup)) {
            addMarkupClass(rendererName, sub, markup);
          } else if (!"none".equals(markup)) {
            LOG.warn("Unknown markup='" + markup + "'");
          }
        }
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.