クラス
javafx.scene.layout.BorderWidthsの使用
-
BorderWidthsを使用するパッケージ パッケージ 説明 javafx.scene.layout ユーザー・インタフェース・レイアウトをサポートするクラスを提供します。 -
-
javafx.scene.layoutのBorderWidthsの使用
BorderWidthsとして宣言されているjavafx.scene.layoutのフィールド 修飾子と型 フィールド 説明 static BorderWidthsBorderWidths. DEFAULTnullが指定された場合に、BorderImageによって使用されるデフォルトのBorderWidths。static BorderWidthsBorderStroke. DEFAULT_WIDTHSBorderStrokeで使用されるデフォルトの枠で、ここ以外では定義しません。static BorderWidthsBorderWidths. EMPTY幅の空のセット(すべての値が0およびリテラル値など)。static BorderWidthsBorderWidths. FULLそれぞれの側で100%を示す幅のセット。static BorderWidthsBorderStroke. MEDIUMmediumが指定された場合のデフォルトの枠。static BorderWidthsBorderStroke. THICKthickが指定された場合のデフォルトの枠。static BorderWidthsBorderStroke. THINthinが指定された場合のデフォルトの枠。BorderWidthsを返すjavafx.scene.layoutのメソッド 修飾子と型 メソッド 説明 BorderWidthsBorderImage. getSlices()イメージの区分を定義します。BorderWidthsBorderImage. getWidths()それぞれの辺のボーダーの幅。BorderWidthsBorderStroke. getWidths()BorderStrokeのそれぞれの辺の太さを定義します。BorderWidths型のパラメータを持つjavafx.scene.layoutのコンストラクタ コンストラクタ 説明 BorderImage(Image image, BorderWidths widths, Insets insets, BorderWidths slices, boolean filled, BorderRepeat repeatX, BorderRepeat repeatY)新しいBorderImageを作成します。BorderStroke(Paint stroke, BorderStrokeStyle style, CornerRadii radii, BorderWidths widths)新しいBorderStrokeを作成します。BorderStroke(Paint stroke, BorderStrokeStyle style, CornerRadii radii, BorderWidths widths, Insets insets)新しいBorderStrokeを作成します。BorderStroke(Paint topStroke, Paint rightStroke, Paint bottomStroke, Paint leftStroke, BorderStrokeStyle topStyle, BorderStrokeStyle rightStyle, BorderStrokeStyle bottomStyle, BorderStrokeStyle leftStyle, CornerRadii radii, BorderWidths widths, Insets insets)すべての構築パラメータを指定して、新しいBorderStrokeを作成します。
-