クラス
javafx.scene.text.TextAlignmentの使用
-
TextAlignmentを使用するパッケージ パッケージ 説明 javafx.scene.canvas レンダリングAPIの直接モード・スタイルであるキャンバスのクラスのセットを提供します。javafx.scene.control JavaFXユーザー・インタフェース・コントロール(UIコントロールまたは単純なコントロール)は、特に多くの異なるアプリケーション・コンテキストでの再利用に適しているJavaFXシーングラフの特化されたノードです。javafx.scene.text フォントおよびレンダリング可能なテキスト・ノードのクラスのセットを提供します。 -
-
javafx.scene.canvasのTextAlignmentの使用
TextAlignmentを返すjavafx.scene.canvasのメソッド 修飾子と型 メソッド 説明 TextAlignment
GraphicsContext. getTextAlign()
現在のTextAlignment
を取得します。TextAlignment型のパラメータを持つjavafx.scene.canvasのメソッド 修飾子と型 メソッド 説明 void
GraphicsContext. setTextAlign(TextAlignment align)
テキスト原点x
に対して相対的な、水平方向のテキスト位置を定義します。 -
javafx.scene.controlのTextAlignmentの使用
TextAlignmentを返すjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 TextAlignment
Labeled. getTextAlignment()
プロパティtextAlignmentの値を取得します。TextAlignment
Tooltip. getTextAlignment()
プロパティtextAlignmentの値を取得します。TextAlignment型の引数を持つ型を返すjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 ObjectProperty<TextAlignment>
Labeled. textAlignmentProperty()
テキストが複数行の場合のテキストの行の動作を指定します。グラフィックとテキストに作用するLabeled.contentDisplayProperty()
とは異なり、この設定は複数行のテキストのみに、テキスト境界に対して相対的に作用します。ObjectProperty<TextAlignment>
Tooltip. textAlignmentProperty()
テキストが複数行の場合のテキストの行の動作を指定します。TextAlignment型のパラメータを持つjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 void
Labeled. setTextAlignment(TextAlignment value)
プロパティtextAlignmentの値を設定します。void
Tooltip. setTextAlignment(TextAlignment value)
プロパティtextAlignmentの値を設定します。 -
javafx.scene.textのTextAlignmentの使用
TextAlignmentを返すjavafx.scene.textのメソッド 修飾子と型 メソッド 説明 TextAlignment
Text. getTextAlignment()
プロパティtextAlignmentの値を取得します。TextAlignment
TextFlow. getTextAlignment()
プロパティtextAlignmentの値を取得します。static TextAlignment
TextAlignment. valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。static TextAlignment[]
TextAlignment. values()
この列挙型の定数を含む配列を、宣言されている順序で返します。TextAlignment型の引数を持つ型を返すjavafx.scene.textのメソッド 修飾子と型 メソッド 説明 ObjectProperty<TextAlignment>
Text. textAlignmentProperty()
境界ボックス内のテキストの水平方向の位置合せを定義します。ObjectProperty<TextAlignment>
TextFlow. textAlignmentProperty()
水平方向のテキスト位置を定義します。TextAlignment型のパラメータを持つjavafx.scene.textのメソッド 修飾子と型 メソッド 説明 void
Text. setTextAlignment(TextAlignment value)
プロパティtextAlignmentの値を設定します。void
TextFlow. setTextAlignment(TextAlignment value)
プロパティtextAlignmentの値を設定します。
-