Examples of Theme


Examples of com.extjs.gxt.ui.client.util.Theme

  @Override
  protected void onRender(Element parent, int index) {
    super.onRender(parent, index);
    Listener<FieldEvent> l = new Listener<FieldEvent>() {
      public void handleEvent(FieldEvent be) {
        Theme c = getValue();
        if (c != last) {
          last = c;
          GXT.switchTheme(c);
        }
      }
View Full Code Here

Examples of com.google.gdata.data.sites.Theme

      entry.setTitle(new PlainTextConstruct(title));
      entry.setSummary(new PlainTextConstruct(summary));

      // Set theme if user specified it.
      if (theme !=  null) {
        Theme tt = new Theme();
        tt.setValue(theme);
        entry.setTheme(tt);
      }

      return service.insert(new URL(getSiteFeedUrl()), entry);
    }
View Full Code Here

Examples of com.google.livingstories.client.Theme

    ChangeHandler themeSelectionHandler = new ChangeHandler() {
      @Override
      public void onChange(ChangeEvent event) {
        clearEditArea();
        Long selectedContentId = Long.valueOf(themeListBox.getSelectedItemValue());
        Theme selectedContent = idToContentMap.get(selectedContentId);
        nameBox.setText(selectedContent.getName());
       
        deleteButton.setEnabled(true);
      }
    };
    themeListBox.addChangeHandler(themeSelectionHandler);
View Full Code Here

Examples of com.liferay.maven.plugins.theme.Theme

        if (Validator.isNotNull(themeId) && !themeId.equals(id)) {
          continue;
        }

        Theme targetTheme = readTheme(themeElement);

        if (portalTheme) {
          mergePortalTheme(targetTheme);
        }
        else {
          File sourceLiferayLookAndFeelXml = new File(
            workDir, "WEB-INF/liferay-look-and-feel.xml");

          Theme sourceTheme = readTheme(
            parentThemeId, sourceLiferayLookAndFeelXml);

          mergeTheme(sourceTheme, targetTheme);
        }
      }
    }
    else {
      String id = PortalUtil.getJsSafePortletId(project.getArtifactId());

      Theme targetTheme = readTheme(id, null);

      if (portalTheme) {
        mergePortalTheme(targetTheme);
      }
      else {
        File sourceLiferayLookAndFeelXml = new File(
          workDir, "WEB-INF/liferay-look-and-feel.xml");

        Theme sourceTheme = readTheme(
          parentThemeId, sourceLiferayLookAndFeelXml);

        mergeTheme(sourceTheme, targetTheme);
      }
    }
View Full Code Here

Examples of com.liferay.portal.model.Theme

    throws Exception {

    String themeId = sitemapJSONObject.getString("themeId");

    if (Validator.isNotNull(themeId)) {
      Theme theme = ThemeLocalServiceUtil.fetchTheme(companyId, themeId);

      if (theme == null) {
        themeId = null;
      }
    }

    if (Validator.isNull(themeId)) {
      int pos = servletContextName.indexOf("-theme");

      if (pos != -1) {
        themeId =
          servletContextName.substring(0, pos) +
            PortletConstants.WAR_SEPARATOR + servletContextName;

        themeId = PortalUtil.getJsSafePortletId(themeId);

        Theme theme = ThemeLocalServiceUtil.fetchTheme(
          companyId, themeId);

        if (theme == null) {
          themeId = null;
        }
View Full Code Here

Examples of com.mucommander.ui.theme.Theme

     */
    private JPanel createThemePanel() {
  JPanel    themePanel;    // Theme panel.
  JPanel    tempPanel;     // Temporary panel used to hold the dialog's description.
        Iterator<Theme> themes;        // All available themes.
        Theme           theme;         // Currently analyzed theme.
        int             index;         // Index of the currently analyzed theme.
        int             selectedIndex; // Index of the current theme in the combo box.

  // Initialises the theme panel.
  themePanel = new YBoxPanel();
View Full Code Here

Examples of com.salas.bb.views.themes.Theme

        valueModel.addValueChangeListener(new PropertyChangeListener()
        {
            public void propertyChange(PropertyChangeEvent evt)
            {
                Theme theme = (Theme)evt.getNewValue();
                Font newFont = theme.getMainFontDirect();
                vmMainFont.setValue(newFont.getFamily());
            }
        });

        chShowToolbar = ComponentsFactory.createCheckBox(
View Full Code Here

Examples of com.sivalabs.springjsfjpa.web.view.Theme

    //custom theme
    //themes.add("seablue");
   
        themePojos = new ArrayList<Theme>();
        themePojos.add(new Theme("afterdark","afterdark.png"));
        themePojos.add(new Theme("afternoon","afternoon.png"));
        themePojos.add(new Theme("afterwork","afterwork.png"));
        themePojos.add(new Theme("aristo","aristo.png"));
        themePojos.add(new Theme("black-tie","black-tie.png"));
        themePojos.add(new Theme("blitzer","blitzer.png"));
        themePojos.add(new Theme("bluesky","bluesky.png"));
        themePojos.add(new Theme("bootstrap","bootstrap.png"));
        themePojos.add(new Theme("casablanca","casablanca.png"));
        themePojos.add(new Theme("cruze","cruze.png"));
        themePojos.add(new Theme("cupertino","cupertino.png"));
        themePojos.add(new Theme("dark-hive","dark-hive.png"));
        themePojos.add(new Theme("delta","delta.png"));
        themePojos.add(new Theme("dot-luv","dot-luv.png"));
        themePojos.add(new Theme("eggplant","eggplant.png"));
        themePojos.add(new Theme("excite-bike","excite-bike.png"));
        themePojos.add(new Theme("flick","flick.png"));
        themePojos.add(new Theme("glass-x","glass-x.png"));
        themePojos.add(new Theme("home","home.png"));
        themePojos.add(new Theme("hot-sneaks","hot-sneaks.png"));
        themePojos.add(new Theme("humanity","humanity.png"));
        themePojos.add(new Theme("le-frog","le-frog.png"));
        themePojos.add(new Theme("midnight","midnight.png"));
        themePojos.add(new Theme("mint-choc","mint-choc.png"));
        themePojos.add(new Theme("overcast","overcast.png"));
        themePojos.add(new Theme("pepper-grinder","pepper-grinder.png"));
        themePojos.add(new Theme("redmond","redmond.png"));
        themePojos.add(new Theme("rocket","rocket.png"));
        themePojos.add(new Theme("sam","sam.png"));
        themePojos.add(new Theme("smoothness","smoothness.png"));
        themePojos.add(new Theme("south-street","south-street.png"));
        themePojos.add(new Theme("start","start.png"));
        themePojos.add(new Theme("sunny","sunny.png"));
        themePojos.add(new Theme("swanky-purse","swanky-purse.png"));
        themePojos.add(new Theme("trontastic","trontastic.png"));
        themePojos.add(new Theme("ui-darkness","ui-darkness.png"));
        themePojos.add(new Theme("ui-lightness","ui-lightness.png"));
        themePojos.add(new Theme("vader","vader.png"));
       
        //custom theme
       // themePojos.add(new Theme("seablue", "seablue.png"));
       
  }
View Full Code Here

Examples of com.sun.webui.theme.Theme

  LayoutComponent desc = getLayoutComponent();

  // The parent UIComponent
  UIComponent parent = getParentUIComponent();
       
         Theme theme = ThemeUtilities.getTheme(ctx);
         _childImageFolder = theme.getImage(ThemeImages.TREE_FOLDER).getPath();
         _childImageDocument = theme.getImage(ThemeImages.TREE_DOCUMENT).getPath();

       // Get the Object Name
  Object val = desc.getEvaluatedOption(ctx, "objectName", parent);
  if (val == null) {
      throw new IllegalArgumentException(
View Full Code Here

Examples of com.vaadin.annotations.Theme

     * @return the name of the theme, or <code>null</code> if the default theme
     *         should be used
     *
     */
    public String getTheme(UICreateEvent event) {
        Theme uiTheme = getAnnotationFor(event.getUIClass(), Theme.class);
        if (uiTheme != null) {
            return uiTheme.value();
        } else {
            return null;
        }
    }
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.