-
Enhancement
-
Resolution: Fixed
-
P4
-
fx2.1
The existing contructor for ScrollPane and many other Panes could be made nicer for developers if they took the children that would be part of them. The following constructors will be added:
public AnchorPane(Node... children)
public FlowPane(Node... children)
public FlowPane(Orientation orientation, Node... children)
public FlowPane(double hgap, double vgap, Node... children)
public FlowPane(Orientation orientation, double hgap, double vgap, Node... children)
public HBox(Node... children)
public HBox(double spacing, Node... children)
public Pane(Node... children)
public StackPane(Node... children)
public TilePane(Node... children)
public TilePane(Orientation orientation, Node... children)
public TilePane(double hgap, double vgap, Node... children)
public TilePane(Orientation orientation, double hgap, double vgap, Node... children)
public ScrollPane(Node content)
public BorderPane(Node center)
public BorderPane(Node center, Node top, Node right, Node bottom, Node left)
public AnchorPane(Node... children)
public FlowPane(Node... children)
public FlowPane(Orientation orientation, Node... children)
public FlowPane(double hgap, double vgap, Node... children)
public FlowPane(Orientation orientation, double hgap, double vgap, Node... children)
public HBox(Node... children)
public HBox(double spacing, Node... children)
public Pane(Node... children)
public StackPane(Node... children)
public TilePane(Node... children)
public TilePane(Orientation orientation, Node... children)
public TilePane(double hgap, double vgap, Node... children)
public TilePane(Orientation orientation, double hgap, double vgap, Node... children)
public ScrollPane(Node content)
public BorderPane(Node center)
public BorderPane(Node center, Node top, Node right, Node bottom, Node left)
- duplicates
-
JDK-8090928 ScrollPane should have a constructor which takes the content
-
- Closed
-