Package org.pushingpixels.flamingo.internal.ui.common

Examples of org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI$RowFillLayout


      if (this.buttonPanel == null)
        return;
      this.buttonPanel.setPreferredSize(null);
      Dimension prefIconPanelDim = this.buttonPanel.getPreferredSize();
      // fix for issue 13 - respect the gaps and insets
      BasicCommandButtonPanelUI panelUI = (BasicCommandButtonPanelUI) buttonPanel
          .getUI();
      int titlePanelCount = buttonPanel.isToShowGroupLabels() ? 1 : 0;
      this.maxDimension = new Dimension(prefIconPanelDim.width, panelUI
          .getPreferredHeight(this.maxVisibleButtonRows,
              titlePanelCount));
      this.setPreferredSize(null);
    }
View Full Code Here


      if (this.buttonPanel == null)
        return;
      this.buttonPanel.setPreferredSize(null);
      Dimension prefIconPanelDim = this.buttonPanel.getPreferredSize();
      // fix for issue 13 - respect the gaps and insets
      BasicCommandButtonPanelUI panelUI = (BasicCommandButtonPanelUI) buttonPanel
          .getUI();
      int titlePanelCount = buttonPanel.isToShowGroupLabels() ? 1 : 0;
      this.maxDimension = new Dimension(prefIconPanelDim.width, panelUI
          .getPreferredHeight(this.maxVisibleButtonRows,
              titlePanelCount));
      this.setPreferredSize(null);
    }
View Full Code Here

TOP

Related Classes of org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonPanelUI$RowFillLayout

Copyright © 2018 www.massapicom. 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.