public final class GroupPaneConstraints
extends java.lang.Object
GroupPaneLayout.| Modifier and Type | Field and Description |
|---|---|
static GroupPaneConstraints |
FILL
Horizontal fill component size constraints.
|
double |
height
Component height.
|
static GroupPaneConstraints |
PREFERRED
Preferred component size constraints.
|
double |
width
Component width.
|
| Constructor and Description |
|---|
GroupPaneConstraints(double width,
double height)
Constructs new constraints for
GroupPaneLayout. |
| Modifier and Type | Method and Description |
|---|---|
static GroupPaneConstraints |
height(double height)
Returns new constraints for
GroupPaneLayout |
static GroupPaneConstraints |
of(double width,
double height)
Returns new constraints for
GroupPaneLayout |
static GroupPaneConstraints |
width(double width)
Returns new constraints for
GroupPaneLayout |
public static final GroupPaneConstraints PREFERRED
public static final GroupPaneConstraints FILL
public double width
public double height
public GroupPaneConstraints(double width,
double height)
GroupPaneLayout.width - component widthheight - component heightpublic static GroupPaneConstraints of(double width, double height)
GroupPaneLayoutwidth - component widthheight - component heightGroupPaneLayoutpublic static GroupPaneConstraints width(double width)
GroupPaneLayoutwidth - component widthGroupPaneLayoutpublic static GroupPaneConstraints height(double height)
GroupPaneLayoutheight - component heightGroupPaneLayout