Package at.bestsolution.efxclipse.runtime.panels

Examples of at.bestsolution.efxclipse.runtime.panels.FillLayoutPane


 
  private Tab createSashLayout() {
    Tab tab = new Tab("SashLayout");
    tab.setClosable(false);
   
    FillLayoutPane fillLayout = new FillLayoutPane();
    fillLayout.setStyle("-fx-background-color: red");
    fillLayout.setMarginHeight(5);
    fillLayout.setMarginWidth(5);
   
    SashLayoutPane sashLayout = new SashLayoutPane();
    sashLayout.setStyle("-fx-background-color: blue");
    sashLayout.getRoot().setHorizontal(true);
   
    Label l = new Label();
    l.setStyle("-fx-background-color: white");
   
    SashLayoutPane.MUIControl data = new SashLayoutPane.MUIControl();
    data.setWeight(49.81605562579014);
    sashLayout.getRoot().add(data);
    sashLayout.getChildren().add(l);
    sashLayout.setConstraint(l, data);
   
    l = new Label();
    l.setStyle("-fx-background-color: white");
    data = new SashLayoutPane.MUIControl();
    data.setWeight(50.377192982456144);
    sashLayout.getRoot().add(data);
    sashLayout.getChildren().add(l);
    sashLayout.setConstraint(l, data);
   
    fillLayout.getChildren().add(sashLayout);
   
    tab.setContent(fillLayout);
   
    return tab;
  }
View Full Code Here


 
  private Tab createFillLayout() {
    Tab tab = new Tab("FillLayout");
    tab.setClosable(false);
   
    FillLayoutPane fillLayout = new FillLayoutPane();
    fillLayout.setStyle("-fx-background-color: red; -fx-blabla: true");
    fillLayout.setMarginHeight(5);
    fillLayout.setMarginWidth(5);
   
    Label l = new Label();
    l.setStyle("-fx-background-color: white");
    fillLayout.getChildren().add(l);
   
    l = new Label();
    l.setStyle("-fx-background-color: blue");
    fillLayout.getChildren().add(l);
   
    tab.setContent(fillLayout);
   
    return tab;
  }
View Full Code Here

      return getWidget();
    }

    @Override
    protected FillLayoutPane createWidget() {
      return new FillLayoutPane();
    }
View Full Code Here

        }
      };

      this.trimPane = new BorderPane();
      this.rootPane.setCenter(trimPane);
      this.contentPane = new FillLayoutPane();
      this.trimPane.setCenter(contentPane);

      if (decorationFXML != null) {
        windowResizeButton = new WindowResizeButton(stage, 50, 50);
        decoratorPane = new BorderPane();
View Full Code Here

      return getWidget();
    }

    @Override
    protected FillLayoutPane createWidget() {
      FillLayoutPane pane = new FillLayoutPane();
      return pane;
    }
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.runtime.panels.FillLayoutPane

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.