Package | Description |
---|---|
javafx.geometry |
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
javafx.scene.control |
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
|
javafx.scene.layout |
Provides classes to support user interface layout.
|
Modifier and Type | Method and Description |
---|---|
HPos |
Pos.getHpos()
Returns the horizontal positioning/alignment.
|
static HPos |
HPos.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HPos[] |
HPos.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
HPos |
Separator.getHalignment()
Gets the value of the property halignment.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<HPos> |
Separator.halignmentProperty()
For vertical separators, specifies the horizontal position of the
separator line within the separator control's space.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SkinBase.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
HPos halignment,
VPos valignment)
Utility method which lays out the child within an area of this
skin defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
protected void |
SkinBase.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
boolean fillWidth,
boolean fillHeight,
HPos halignment,
VPos valignment)
Utility method which lays out the child within an area of this
skin defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
protected void |
SkinBase.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
HPos halignment,
VPos valignment)
Utility method which lays out the child within an area of this
skin defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
protected void |
SkinBase.positionInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
HPos halignment,
VPos valignment)
Utility method which positions the child within an area of this
skin defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
protected void |
SkinBase.positionInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
HPos halignment,
VPos valignment)
Utility method which positions the child within an area of this
skin defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
void |
Separator.setHalignment(HPos value)
Sets the value of the property halignment.
|
Modifier and Type | Method and Description |
---|---|
HPos |
FlowPane.getColumnHalignment()
Gets the value of the property columnHalignment.
|
HPos |
ColumnConstraints.getHalignment()
Gets the value of the property halignment.
|
static HPos |
GridPane.getHalignment(Node child)
Returns the child's halignment constraint if set.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<HPos> |
FlowPane.columnHalignmentProperty()
The horizontal alignment of nodes within each column of a vertical flowpane.
|
ObjectProperty<HPos> |
ColumnConstraints.halignmentProperty()
The horizontal alignment for the column.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Region.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
HPos halignment,
VPos valignment)
Utility method which lays out the child within an area of this
region defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
protected void |
Region.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
boolean fillWidth,
boolean fillHeight,
HPos halignment,
VPos valignment)
Utility method which lays out the child within an area of this
region defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
static void |
Region.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
boolean fillWidth,
boolean fillHeight,
HPos halignment,
VPos valignment,
boolean isSnapToPixel)
Utility method which lays out the child within an area of it's
parent defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
protected void |
Region.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
HPos halignment,
VPos valignment)
Utility method which lays out the child within an area of this
region defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
protected void |
Region.positionInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
HPos halignment,
VPos valignment)
Utility method which positions the child within an area of this
region defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
static void |
Region.positionInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
HPos halignment,
VPos valignment,
boolean isSnapToPixel)
Utility method which positions the child within an area of this
region defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
void |
FlowPane.setColumnHalignment(HPos value)
Sets the value of the property columnHalignment.
|
static void |
GridPane.setConstraints(Node child,
int columnIndex,
int rowIndex,
int columnspan,
int rowspan,
HPos halignment,
VPos valignment)
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)
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.
|
void |
ColumnConstraints.setHalignment(HPos value)
Sets the value of the property halignment.
|
static void |
GridPane.setHalignment(Node child,
HPos value)
Sets the horizontal alignment for the child when contained by a gridpane.
|
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.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.