Package | Description |
---|---|
com.sun.javafx.scene.control.skin | |
com.sun.javafx.util | |
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 | Field and Description |
---|---|
private HPos |
TitledPaneSkin.hpos |
Modifier and Type | Method and Description |
---|---|
protected HPos |
TextFieldSkin.getHAlignment() |
Modifier and Type | Method and Description |
---|---|
(package private) static double |
Utils.computeXOffset(double width,
double contentWidth,
HPos hpos) |
Modifier and Type | Method and Description |
---|---|
private static HPos |
Utils.getHPosOpposite(HPos hpos,
VPos vpos) |
Modifier and Type | Method and Description |
---|---|
private static HPos |
Utils.getHPosOpposite(HPos hpos,
VPos vpos) |
private static VPos |
Utils.getVPosOpposite(HPos hpos,
VPos vpos) |
static Point2D |
Utils.pointRelativeTo(Node parent,
double anchorWidth,
double anchorHeight,
HPos hpos,
VPos vpos,
double dx,
double dy,
boolean reposition) |
static Point2D |
Utils.pointRelativeTo(Node parent,
Node node,
HPos hpos,
VPos vpos,
double dx,
double dy,
boolean reposition) |
static Point2D |
Utils.pointRelativeTo(java.lang.Object parent,
double width,
double height,
double screenX,
double screenY,
HPos hpos,
VPos vpos)
This is the fallthrough function that most other functions fall into.
|
private static double |
Utils.positionX(Bounds parentBounds,
double width,
HPos hpos)
Utility function that returns the x-axis position that an object should be positioned at,
given the parents screen bounds, the width of the object, and
the required HPos.
|
Modifier and Type | Field and Description |
---|---|
private HPos |
Pos.hpos |
Modifier and Type | Method and Description |
---|---|
HPos |
Pos.getHpos()
Returns the horizontal positioning/alignment.
|
static HPos |
HPos.valueOf(java.lang.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.
|
Constructor and Description |
---|
Pos(VPos vpos,
HPos hpos) |
Modifier and Type | Field and Description |
---|---|
private HPos |
SeparatorBuilder.halignment
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<HPos> |
Separator.halignment
For vertical separators, specifies the horizontal position of the
separator line within the separator control's space.
|
private static CssMetaData<Separator,HPos> |
Separator.StyleableProperties.HALIGNMENT |
Modifier and Type | Method and Description |
---|---|
HPos |
Separator.getHalignment() |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<HPos> |
Separator.halignmentProperty() |
Modifier and Type | Method and Description |
---|---|
B |
SeparatorBuilder.halignment(HPos x)
Deprecated.
Set the value of the
halignment property for the instance constructed by this builder. |
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) |
Modifier and Type | Field and Description |
---|---|
private HPos |
FlowPaneBuilder.columnHalignment
Deprecated.
|
private HPos |
ColumnConstraintsBuilder.halignment
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private static CssMetaData<FlowPane,HPos> |
FlowPane.StyleableProperties.COLUMN_HALIGNMENT |
private ObjectProperty<HPos> |
FlowPane.columnHalignment |
private ObjectProperty<HPos> |
ColumnConstraints.halignment
The horizontal alignment for the column.
|
Modifier and Type | Method and Description |
---|---|
HPos |
FlowPane.getColumnHalignment() |
private HPos |
GridPane.getColumnHalignment(int columnIndex) |
private HPos |
FlowPane.getColumnHalignmentInternal() |
HPos |
ColumnConstraints.getHalignment() |
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() |
Modifier and Type | Method and Description |
---|---|
B |
FlowPaneBuilder.columnHalignment(HPos x)
Deprecated.
Set the value of the
columnHalignment property for the instance constructed by this builder. |
(package private) static double |
Region.computeXOffset(double width,
double contentWidth,
HPos hpos) |
B |
ColumnConstraintsBuilder.halignment(HPos x)
Deprecated.
Set the value of the
halignment property for the instance constructed by this builder. |
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. |
private static void |
Region.position(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
double topMargin,
double rightMargin,
double bottomMargin,
double leftMargin,
HPos hpos,
VPos vpos,
boolean isSnapToPixel) |
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) |
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) |
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.
|