Overview
Enumeration used to determine the grow (or shrink) priority of a given node's layout area when its container has more (or less) space available and multiple nodes are competing for that space.
Field Summary
access | name | type | description |
---|---|---|---|
public static final | ALWAYS | Priority |
Layout area will always try to grow (or shrink), sharing the increase (or decrease) in space with other layout areas that have a grow (or shrink) of ALWAYS. |
public static final | NEVER | Priority |
Layout area will never grow (or shrink) when there is an increase (or decrease) in space available in the container. |
public static final | SOMETIMES | Priority |
If there are no other layout areas with grow (or shrink) set to ALWAYS or those layout areas didn't absorb all of the increased (or decreased) space, then will share the increase (or decrease) in space with other layout area's of SOMETIMES. |
Inherited Variables
Method Summary
- public static Priority max(javafx.scene.layout.Priority a, javafx.scene.layout.Priority b)
- public static Priority min(javafx.scene.layout.Priority a, javafx.scene.layout.Priority b)
- public static Priority valueOf(java.lang.String name)
- public static Priority[] values()