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.canvas |
Provides the set of classes for canvas, an immediate mode style of rendering API.
|
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.
|
javafx.scene.text |
Provides the set of classes for fonts and renderable Text Node.
|
Modifier and Type | Field and Description |
---|---|
private VPos |
TitledPaneSkin.vpos |
Modifier and Type | Method and Description |
---|---|
(package private) static double |
Utils.computeYOffset(double height,
double contentHeight,
VPos vpos) |
Modifier and Type | Method and Description |
---|---|
private static VPos |
Utils.getVPosOpposite(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.positionY(Bounds parentBounds,
double height,
VPos vpos)
Utility function that returns the y-axis position that an object should be positioned at,
given the parents screen bounds, the height of the object, and
the required VPos.
|
Modifier and Type | Field and Description |
---|---|
private VPos |
Pos.vpos |
Modifier and Type | Method and Description |
---|---|
VPos |
Pos.getVpos()
Returns the vertical positioning/alignment.
|
static VPos |
VPos.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VPos[] |
VPos.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 |
---|---|
(package private) VPos |
GraphicsContext.State.textbaseline |
Modifier and Type | Method and Description |
---|---|
VPos |
GraphicsContext.getTextBaseline()
Gets the current Text Baseline.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
GraphicsContext.State.set(double globalAlpha,
BlendMode blendop,
Affine2D transform,
Paint fill,
Paint stroke,
double linewidth,
StrokeLineCap linecap,
StrokeLineJoin linejoin,
double miterlimit,
double[] dashes,
double dashOffset,
int numClipPaths,
Font font,
FontSmoothingType smoothing,
TextAlignment align,
VPos baseline,
Effect effect,
FillRule fillRule) |
void |
GraphicsContext.setTextBaseline(VPos baseline)
Sets the current Text Baseline.
|
Modifier and Type | Field and Description |
---|---|
private VPos |
SeparatorBuilder.valignment
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<VPos> |
Separator.valignment
For horizontal separators, specifies the vertical alignment of the
separator line within the separator control's space.
|
private static CssMetaData<Separator,VPos> |
Separator.StyleableProperties.VALIGNMENT |
Modifier and Type | Method and Description |
---|---|
VPos |
Separator.getValignment() |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<VPos> |
Separator.valignmentProperty() |
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.setValignment(VPos value) |
B |
SeparatorBuilder.valignment(VPos x)
Deprecated.
Set the value of the
valignment property for the instance constructed by this builder. |
Modifier and Type | Field and Description |
---|---|
private VPos |
FlowPaneBuilder.rowValignment
Deprecated.
|
private VPos |
RowConstraintsBuilder.valignment
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private static CssMetaData<FlowPane,VPos> |
FlowPane.StyleableProperties.ROW_VALIGNMENT |
private ObjectProperty<VPos> |
FlowPane.rowValignment |
private ObjectProperty<VPos> |
RowConstraints.valignment
The vertical alignment for the row.
|
Modifier and Type | Method and Description |
---|---|
VPos |
FlowPane.getRowValignment() |
private VPos |
GridPane.getRowValignment(int rowIndex) |
private VPos |
FlowPane.getRowValignmentInternal() |
VPos |
RowConstraints.getValignment() |
static VPos |
GridPane.getValignment(Node child)
Returns the child's valignment constraint if set.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<VPos> |
FlowPane.rowValignmentProperty()
The vertical alignment of nodes within each row of a horizontal flowpane.
|
ObjectProperty<VPos> |
RowConstraints.valignmentProperty() |
Modifier and Type | Method and Description |
---|---|
(package private) double |
Region.computeMaxMinAreaHeight(java.util.List<Node> children,
Callback<Node,Insets> childMargins,
double[] childWidths,
VPos valignment) |
(package private) double |
Region.computeMaxMinAreaHeight(java.util.List<Node> children,
Callback<Node,Insets> margins,
VPos valignment) |
(package private) double |
Region.computeMaxMinAreaHeight(java.util.List<Node> children,
Callback<Node,Insets> margins,
VPos valignment,
double width) |
(package private) double |
Region.computeMaxPrefAreaHeight(java.util.List<Node> children,
Callback<Node,Insets> childMargins,
double[] childWidths,
VPos valignment) |
(package private) double |
Region.computeMaxPrefAreaHeight(java.util.List<Node> children,
Callback<Node,Insets> margins,
double width,
VPos valignment) |
(package private) double |
Region.computeMaxPrefAreaHeight(java.util.List<Node> children,
Callback<Node,Insets> margins,
VPos valignment) |
(package private) static double |
Region.computeYOffset(double height,
double contentHeight,
VPos vpos) |
private double |
Region.getMaxAreaHeight(java.util.List<Node> children,
Callback<Node,Insets> childMargins,
double[] childWidths,
VPos valignment,
boolean minimum) |
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. |
B |
FlowPaneBuilder.rowValignment(VPos x)
Deprecated.
Set the value of the
rowValignment property for the instance constructed by this builder. |
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 |
FlowPane.setRowValignment(VPos value) |
static void |
GridPane.setValignment(Node child,
VPos value)
Sets the vertical alignment for the child when contained by a gridpane.
|
void |
RowConstraints.setValignment(VPos value) |
B |
RowConstraintsBuilder.valignment(VPos x)
Deprecated.
Set the value of the
valignment property for the instance constructed by this builder. |
Constructor and Description |
---|
RowConstraints(double minHeight,
double prefHeight,
double maxHeight,
Priority vgrow,
VPos valignment,
boolean fillHeight)
Creates a row constraint object with a fixed size range, vertical
grow priority, vertical alignment, and vertical fill behavior.
|
Modifier and Type | Field and Description |
---|---|
private static VPos |
Text.DEFAULT_TEXT_ORIGIN |
private VPos |
TextBuilder.textOrigin
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private static CssMetaData<Text,VPos> |
Text.StyleableProperties.TEXT_ORIGIN |
private ObjectProperty<VPos> |
Text.TextAttribute.textOrigin |
Modifier and Type | Method and Description |
---|---|
VPos |
Text.getTextOrigin() |
VPos |
Text.TextAttribute.getTextOrigin() |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<VPos> |
Text.textOriginProperty()
Defines the origin of text coordinate system in local coordinates.
|
ObjectProperty<VPos> |
Text.TextAttribute.textOriginProperty() |
Modifier and Type | Method and Description |
---|---|
void |
Text.setTextOrigin(VPos value) |
B |
TextBuilder.textOrigin(VPos x)
Deprecated.
Set the value of the
textOrigin property for the instance constructed by this builder. |