Uses of Enum Class
javafx.geometry.HPos
Package
Description
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
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.
Provides classes to support user interface layout.
-
Uses of HPos in javafx.geometry
-
Uses of HPos in javafx.scene.control
Modifier and TypeMethodDescriptionfinal HPos
Separator.getHalignment()
Gets the value of thehalignment
property.Modifier and TypeMethodDescriptionfinal ObjectProperty<HPos>
Separator.halignmentProperty()
For vertical separators, specifies the horizontal position of the separator line within the separator control's space.Modifier and TypeMethodDescriptionprotected 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.final void
Separator.setHalignment
(HPos value) Sets the value of thehalignment
property. -
Uses of HPos in javafx.scene.layout
Modifier and TypeMethodDescriptionfinal HPos
FlowPane.getColumnHalignment()
Gets the value of thecolumnHalignment
property.final HPos
ColumnConstraints.getHalignment()
Gets the value of thehalignment
property.static HPos
GridPane.getHalignment
(Node child) Returns the child's halignment constraint if set.Modifier and TypeMethodDescriptionfinal ObjectProperty<HPos>
FlowPane.columnHalignmentProperty()
The horizontal alignment of nodes within each column of a vertical flowpane.final ObjectProperty<HPos>
ColumnConstraints.halignmentProperty()
The horizontal alignment for the column.Modifier and TypeMethodDescriptionprotected 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.final void
FlowPane.setColumnHalignment
(HPos value) Sets the value of thecolumnHalignment
property.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.final void
ColumnConstraints.setHalignment
(HPos value) Sets the value of thehalignment
property.static void
GridPane.setHalignment
(Node child, HPos value) Sets the horizontal alignment for the child when contained by a gridpane.ModifierConstructorDescriptionColumnConstraints
(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.