Examples of EmptyResizableIcon


Examples of org.pushingpixels.flamingo.api.common.icon.EmptyResizableIcon

   */
  @Override
  public void installUI(JComponent c) {
    this.controlPanel = (AbstractBandControlPanel) c;

    this.dummy = new JCommandButton("Dummy", new EmptyResizableIcon(16));
    this.dummy.setDisplayState(CommandButtonDisplayState.BIG);
    this.dummy
        .setCommandButtonKind(CommandButtonKind.ACTION_AND_POPUP_MAIN_ACTION);

    installDefaults();
View Full Code Here

Examples of org.pushingpixels.flamingo.api.common.icon.EmptyResizableIcon

      int initialSize = currDimension;
      if (initialSize < 0)
        initialSize = currState.getPreferredIconSize();
      JCommandButton button = new JCommandButton(name,
          new EmptyResizableIcon(initialSize));
      button.setHorizontalAlignment(SwingUtilities.LEFT);
      button.setDisplayState(this.currState);
      if (this.currState == CommandButtonDisplayState.FIT_TO_ICON)
        button.updateCustomDimension(currDimension);
View Full Code Here

Examples of org.pushingpixels.flamingo.api.common.icon.EmptyResizableIcon

  /**
   * Creates a new application menu button.
   */
  public JRibbonApplicationMenuButton(JRibbon ribbon) {
    super("", new EmptyResizableIcon(16));
    this.setCommandButtonKind(CommandButtonKind.POPUP_ONLY);
    this.setDisplayState(APP_MENU_BUTTON_STATE);
    this.ribbon = ribbon;
  }
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.