Examples of IconTheme


Examples of org.pentaho.reporting.engine.classic.core.modules.gui.common.IconTheme

    return iconTheme;
  }

  protected void setIconTheme(final IconTheme theme)
  {
    final IconTheme oldTheme = this.iconTheme;
    this.iconTheme = theme;
    firePropertyChange(PreviewPane.ICON_THEME_PROPERTY, oldTheme, theme);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.common.IconTheme

    return iconTheme;
  }

  public void setIconTheme(final IconTheme iconTheme)
  {
    final IconTheme oldTheme = this.iconTheme;
    this.iconTheme = iconTheme;
    firePropertyChange("iconTheme", oldTheme, iconTheme); //$NON-NLS-1$

    if (iconTheme == null)
    {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.common.IconTheme

    /**
     * Default constructor.
     */
    public AboutAction()
    {
      final IconTheme iconTheme = new DefaultIconTheme();
      this.putValue(Action.NAME, resources.getString("action.about.name"));
      this.putValue(Action.SHORT_DESCRIPTION, resources.getString("action.about.description"));
      this.putValue(ActionDowngrade.MNEMONIC_KEY,
          resources.getMnemonic("action.about.mnemonic"));
      this.putValue(Action.SMALL_ICON, iconTheme.getSmallIcon(Locale.getDefault(), "action.about.small-icon"));
      this.putValue("ICON24", iconTheme.getLargeIcon(Locale.getDefault(), "action.about.icon"));
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.common.IconTheme

    return iconTheme;
  }

  public void setIconTheme(final IconTheme iconTheme)
  {
    final IconTheme oldTheme = this.iconTheme;
    this.iconTheme = iconTheme;
    firePropertyChange("iconTheme", oldTheme, iconTheme); //$NON-NLS-1$

    if (iconTheme == null)
    {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.common.IconTheme

    /**
     * Default constructor.
     */
    public AboutAction()
    {
      final IconTheme iconTheme = new DefaultIconTheme();
      this.putValue(Action.NAME, resources.getString("action.about.name"));
      this.putValue(Action.SHORT_DESCRIPTION, resources.getString("action.about.description"));
      this.putValue(Action.MNEMONIC_KEY,
          resources.getMnemonic("action.about.mnemonic"));
      this.putValue(Action.SMALL_ICON, iconTheme.getSmallIcon(Locale.getDefault(), "action.about.small-icon"));
      this.putValue("ICON24", iconTheme.getLargeIcon(Locale.getDefault(), "action.about.icon"));
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.common.IconTheme

    return iconTheme;
  }

  protected void setIconTheme(final IconTheme theme)
  {
    final IconTheme oldTheme = this.iconTheme;
    this.iconTheme = theme;
    firePropertyChange(PreviewPane.ICON_THEME_PROPERTY, oldTheme, theme);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.common.IconTheme

  public static IconTheme createIconTheme(final Configuration config)
  {
    final String themeClass = config.getConfigProperty(ICON_THEME_CONFIG_KEY);
    final Object maybeTheme = ObjectUtilities.loadAndInstantiate(themeClass, PreviewPane.class, IconTheme.class);
    final IconTheme iconTheme;
    if (maybeTheme != null)
    {
      iconTheme = (IconTheme) maybeTheme;
    }
    else
    {
      iconTheme = new DefaultIconTheme();
    }
    iconTheme.initialize(config);
    return iconTheme;
  }
View Full Code Here

Examples of tvbrowser.core.icontheme.IconTheme

        return label;
      }
    });

    if (Settings.propIcontheme.getString() != null) {
      IconTheme theme = IconLoader.getInstance().getIconTheme(IconLoader.getInstance().getIconThemeFile(Settings.propIcontheme.getString()));
      if (theme.loadTheme()) {
        mIconThemes.setSelectedItem(theme);
      } else {
        mIconThemes.setSelectedItem(IconLoader.getInstance().getDefaultTheme());
      }
    } else {
View Full Code Here

Examples of tvbrowser.core.icontheme.IconTheme

  public void saveSettings() {
    LookAndFeelObj obj = (LookAndFeelObj) mLfComboBox.getSelectedItem();
    Settings.propLookAndFeel.setString(obj.getLFClassName());

    IconTheme theme = (IconTheme) mIconThemes.getSelectedItem();
    Settings.propIcontheme.setString("icons/" + theme.getBase().getName());

    mSomethingChanged = mRestartMessage.isVisible();

    Settings.propPluginViewIsLeft.setBoolean(mPluginViewPosition.getSelectedIndex() == 1);
    Settings.propViewDateLayout.setInt(mDateLayout.getSelectedIndex());
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.