Uses of Class
javafx.geometry.HPos
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.
|
-
Uses of HPos in javafx.geometry
Methods in javafx.geometry that return HPos Modifier and Type Method 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. -
Uses of HPos in javafx.scene.control
Methods in javafx.scene.control that return HPos Modifier and Type Method Description HPos
Separator. getHalignment()
Gets the value of the property halignment.Methods in javafx.scene.control that return types with arguments of type HPos Modifier and Type Method Description ObjectProperty<HPos>
Separator. halignmentProperty()
For vertical separators, specifies the horizontal position of the separator line within the separator control's space.Methods in javafx.scene.control with parameters of type HPos Modifier and Type Method 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 byareaX
,areaY
,areaWidth
xareaHeight
, 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 byareaX
,areaY
,areaWidth
xareaHeight
, 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 byareaX
,areaY
,areaWidth
xareaHeight
, 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 byareaX
,areaY
,areaWidth
xareaHeight
, 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 byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.void
Separator. setHalignment(HPos value)
Sets the value of the property halignment. -
Uses of HPos in javafx.scene.layout
Methods in javafx.scene.layout that return HPos Modifier and Type Method 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.Methods in javafx.scene.layout that return types with arguments of type HPos Modifier and Type Method 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.Methods in javafx.scene.layout with parameters of type HPos Modifier and Type Method 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 byareaX
,areaY
,areaWidth
xareaHeight
, 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 byareaX
,areaY
,areaWidth
xareaHeight
, 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 byareaX
,areaY
,areaWidth
xareaHeight
, 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 byareaX
,areaY
,areaWidth
xareaHeight
, 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 byareaX
,areaY
,areaWidth
xareaHeight
, 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 byareaX
,areaY
,areaWidth
xareaHeight
, 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.Constructors in javafx.scene.layout with parameters of type HPos Constructor 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.