JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

expand all

Profile: desktop, common

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

accessnametypedescription
public static finalALWAYSPriority

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 finalNEVERPriority

Layout area will never grow (or shrink) when there is an increase (or decrease) in space available in the container.

public static finalSOMETIMESPriority

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)
Parameters
a
b
Returns
Priority
 
public static Priority min(javafx.scene.layout.Priority a, javafx.scene.layout.Priority b)
Parameters
a
b
Returns
Priority
 
public static Priority valueOf(java.lang.String name)
Parameters
name
Returns
Priority
 
public static Priority[] values()
Returns
Priority[]
 

Inherited Functions