## Uses of Class
javafx.scene.layout.Priority

- Packages that use 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 and Description
    --- | ---
    `Priority` | ColumnConstraints.`getHgrow()` Gets the value of the property hgrow.
    `static Priority` | GridPane.`getHgrow(Node child)` Returns the child's hgrow constraint if set.
    `static Priority` | HBox.`getHgrow(Node child)` Returns the child's hgrow constraint if set.
    `Priority` | RowConstraints.`getVgrow()` Gets the value of the property vgrow.
    `static Priority` | GridPane.`getVgrow(Node child)` Returns the child's vgrow constraint if set.
    `static Priority` | VBox.`getVgrow(Node child)` Returns the child's vgrow property if set.
    `static Priority` | Priority.`max(Priority a, Priority b)` Convenience method for returning the higher of two priorities.
    `static Priority` | Priority.`min(Priority a, Priority b)` Convenience method for returning the lower of two priorities.
    `static Priority` | Priority.`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 and 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 and Description
    --- | ---
    `static Priority` | Priority.`max(Priority a, Priority b)` Convenience method for returning the higher of two priorities.
    `static Priority` | Priority.`min(Priority a, Priority b)` Convenience method for returning the lower of two priorities.
    `static void` | GridPane.`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 void` | GridPane.`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.
    `static void` | GridPane.`setHgrow(Node child, Priority value)` Sets the horizontal grow priority for the child when contained by a gridpane.
    `static void` | HBox.`setHgrow(Node child, Priority value)` Sets the horizontal grow priority for the child when contained by an hbox.
    `void` | ColumnConstraints.`setHgrow(Priority value)` Sets the value of the property hgrow.
    `static void` | GridPane.`setVgrow(Node child, Priority value)` Sets the vertical grow priority for the child when contained by a gridpane.
    `static void` | VBox.`setVgrow(Node child, Priority value)` Sets the vertical grow priority for the child when contained by an vbox.
    `void` | RowConstraints.`setVgrow(Priority value)` Sets the value of the property vgrow.

    Constructors in javafx.scene.layout with parameters of type Priority
    Constructor and 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.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.