Uses of Class
javafx.scene.layout.Priority
| Package | Description |
|---|---|
| javafx.scene.layout |
Provides classes to support user interface layout.
|
-
Uses of Priority in javafx.scene.layout
Methods in javafx.scene.layout that return Priority Modifier and Type Method Description PriorityColumnConstraints. getHgrow()Gets the value of the property hgrow.static PriorityGridPane. getHgrow(Node child)Returns the child's hgrow constraint if set.static PriorityHBox. getHgrow(Node child)Returns the child's hgrow constraint if set.static PriorityGridPane. getVgrow(Node child)Returns the child's vgrow constraint if set.PriorityRowConstraints. getVgrow()Gets the value of the property vgrow.static PriorityVBox. getVgrow(Node child)Returns the child's vgrow property if set.static PriorityPriority. max(Priority a, Priority b)Convenience method for returning the higher of two priorities.static PriorityPriority. min(Priority a, Priority b)Convenience method for returning the lower of two priorities.static PriorityPriority. valueOf(String name)Returns the enum constant of this type with the specified name.static Priority[]Priority. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in javafx.scene.layout that return types with arguments of type Priority Modifier and Type Method Description ObjectProperty<Priority>ColumnConstraints. hgrowProperty()The horizontal grow priority for the column.ObjectProperty<Priority>RowConstraints. vgrowProperty()The vertical grow priority for the row.Methods in javafx.scene.layout with parameters of type Priority Modifier and Type Method Description static PriorityPriority. max(Priority a, Priority b)Convenience method for returning the higher of two priorities.static PriorityPriority. min(Priority a, Priority b)Convenience method for returning the lower of two priorities.static voidGridPane. setConstraints(Node child, int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow)Sets the grid position, spans, and alignment for the child when contained in a gridpane.static voidGridPane. setConstraints(Node child, int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow, Insets margin)Sets the grid position, spans, alignment, grow priorities, and margin for the child when contained in a gridpane.voidColumnConstraints. setHgrow(Priority value)Sets the value of the property hgrow.static voidGridPane. setHgrow(Node child, Priority value)Sets the horizontal grow priority for the child when contained by a gridpane.static voidHBox. setHgrow(Node child, Priority value)Sets the horizontal grow priority for the child when contained by an hbox.static voidGridPane. setVgrow(Node child, Priority value)Sets the vertical grow priority for the child when contained by a gridpane.voidRowConstraints. setVgrow(Priority value)Sets the value of the property vgrow.static voidVBox. setVgrow(Node child, Priority value)Sets the vertical grow priority for the child when contained by a vbox.Constructors in javafx.scene.layout with parameters of type Priority Constructor Description ColumnConstraints(double minWidth, double prefWidth, double maxWidth, Priority hgrow, HPos halignment, boolean fillWidth)Creates a column constraint object with a fixed size range, horizontal grow priority, horizonal alignment, and horizontal fill behavior.RowConstraints(double minHeight, double prefHeight, double maxHeight, Priority vgrow, VPos valignment, boolean fillHeight)Creates a row constraint object with a fixed size range, vertical grow priority, vertical alignment, and vertical fill behavior.