Examples of TabPane


Examples of org.apache.pivot.wtk.TabPane

    }

    private int getPreferredTabWidth(int height) {
        int preferredTabWidth = 0;

        TabPane tabPane = (TabPane)getComponent();
        for (Component tab : tabPane.getTabs()) {
            preferredTabWidth = Math.max(preferredTabWidth, tab.getPreferredWidth(height));
        }

        return preferredTabWidth;
    }
View Full Code Here

Examples of pivot.wtk.TabPane

        buttonFlowPane.getStyles().put("spacing", 2);
    }

  @Override
  public void setSize(int width, int height) {
    TabPane tabPane = (TabPane)getComponent();
    Orientation tabOrientation = tabPane.getTabOrientation();

    if (expandTransition != null) {
      if ((tabOrientation == Orientation.HORIZONTAL && width != getWidth())
        || (tabOrientation == Orientation.VERTICAL && height != getHeight())) {
        expandTransition.end();
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.