Package org.pushingpixels.flamingo.api.common

Examples of org.pushingpixels.flamingo.api.common.HorizontalAlignment


      Insets ins = ribbonComp.getInsets();
      int gap = getLayoutGap();
      int availableHeight = ribbonComp.getHeight() - ins.top - ins.bottom;
      int availableWidth = ribbonComp.getWidth() - ins.left - ins.right;

      HorizontalAlignment horizAlignment = ribbonComp
          .getHorizontalAlignment();
      JComponent mainComp = ribbonComp.getMainComponent();
      Dimension prefMainDim = mainComp.getPreferredSize();
      int prefMainWidth = prefMainDim.width;
      int finalHeight = Math.min(prefMainDim.height, availableHeight);
View Full Code Here

TOP

Related Classes of org.pushingpixels.flamingo.api.common.HorizontalAlignment

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.