Package jfxtras.scene.layout

Examples of jfxtras.scene.layout.HBox.prefWidth()


        javafx.scene.shape.Rectangle c = new javafx.scene.shape.Rectangle(30,30);
        //c.setStroke(Color.RED);
        lCircularPane.add(c);
      }
      lHBox.getChildren().add(lCircularPane);
      if (lHBox.prefWidth(-1) > 1500) {
        lHBox = new HBox(0);
        lVBox.getChildren().add(lHBox);
      }
    }
View Full Code Here


      for (int i = 0; i < j; i++) {
        javafx.scene.shape.Rectangle c = new javafx.scene.shape.Rectangle(20,20);
        lCircularPane.add(c);
      }
      lHBox.getChildren().add(lCircularPane);
      if (lHBox.prefWidth(-1) > 1000) {
        lHBox = new HBox(0);
        lVBox.getChildren().add(lHBox);
      }
    }
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.