Uses of Enum Class
javafx.scene.text.TextAlignment
Package
Description
Provides the set of classes for canvas, an immediate mode style of rendering API.
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 the set of classes for fonts and renderable Text Node.
-
Uses of TextAlignment in javafx.scene.canvas
Modifier and TypeMethodDescriptionvoid
GraphicsContext.setTextAlign
(TextAlignment align) Defines horizontal text alignment, relative to the textx
origin. -
Uses of TextAlignment in javafx.scene.control
Modifier and TypeMethodDescriptionfinal TextAlignment
Labeled.getTextAlignment()
Gets the value of thetextAlignment
property.final TextAlignment
Tooltip.getTextAlignment()
Gets the value of thetextAlignment
property.Modifier and TypeMethodDescriptionfinal ObjectProperty
<TextAlignment> Labeled.textAlignmentProperty()
Specifies the behavior for lines of text when text is multiline.final ObjectProperty
<TextAlignment> Tooltip.textAlignmentProperty()
Specifies the behavior for lines of text when text is multiline.Modifier and TypeMethodDescriptionfinal void
Labeled.setTextAlignment
(TextAlignment value) Sets the value of thetextAlignment
property.final void
Tooltip.setTextAlignment
(TextAlignment value) Sets the value of thetextAlignment
property. -
Uses of TextAlignment in javafx.scene.text
Modifier and TypeClassDescriptionenum
TheTextAlignment
enum represents the horizontal text alignment.Modifier and TypeMethodDescriptionfinal TextAlignment
Text.getTextAlignment()
Gets the value of thetextAlignment
property.final TextAlignment
TextFlow.getTextAlignment()
Gets the value of thetextAlignment
property.static TextAlignment
Returns the enum constant of this class with the specified name.static TextAlignment[]
TextAlignment.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionfinal ObjectProperty
<TextAlignment> Text.textAlignmentProperty()
Defines horizontal text alignment in the bounding box.final ObjectProperty
<TextAlignment> TextFlow.textAlignmentProperty()
Defines horizontal text alignment.Modifier and TypeMethodDescriptionfinal void
Text.setTextAlignment
(TextAlignment value) Sets the value of thetextAlignment
property.final void
TextFlow.setTextAlignment
(TextAlignment value) Sets the value of thetextAlignment
property.