クラス
javafx.geometry.Insetsの使用
-
Insetsを使用するパッケージ パッケージ 説明 javafx.css プロパティをCSSを使用してスタイル設定可能にし、擬似クラス状態をサポートするAPIを提供します。javafx.css.converter CSSの解析された値を変換するさまざまなStyleConverter
クラスを提供します。javafx.geometry 2次元ジオメトリに関連するオブジェクトで操作を定義および実行する2Dクラスのセットを提供します。javafx.scene.control JavaFXユーザー・インタフェース・コントロール(UIコントロールまたは単純なコントロール)は、特に多くの異なるアプリケーション・コンテキストでの再利用に適しているJavaFXシーングラフの特化されたノードです。javafx.scene.layout ユーザー・インタフェース・レイアウトをサポートするクラスを提供します。 -
-
javafx.cssでのInsetsの使用
Insets型の引数を持つ型を返すjavafx.cssのメソッド 修飾子と型 メソッド 説明 CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function)
初期値がEMPTY
のCssMetaData <S, Insets>を作成し、デフォルトがfalseのフラグを継承します。CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function, Insets initialValue)
CssMetaData<S, Insets>を初期値で作成し、falseをデフォルトとするフラグを継承。CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function, Insets initialValue, boolean inherits)
CssMetaData<S, Insets>を初期値で作成し、フラグを継承。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty)
StyleableProperty<Insets>を、指定されたcssProperty
に対して事前に作成したCssMetaDataを使用して作成。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function)
StyleableProperty<Inset>を作成。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function, Insets initialValue)
StyleableProperty<Inset>を、初期値で作成。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function, Insets initialValue, boolean inherits)
StyleableProperty<Inset>を、初期値で作成およびフラグを継承。static StyleConverter<ParsedValue[],Insets>
StyleConverter. getInsetsConverter()
[<length> | <percentage>]{1,4} をInsets
に変換するStyleConverter
を返します。Insets型のパラメータを持つjavafx.cssのメソッド 修飾子と型 メソッド 説明 CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function, Insets initialValue)
CssMetaData<S, Insets>を初期値で作成し、falseをデフォルトとするフラグを継承。CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function, Insets initialValue, boolean inherits)
CssMetaData<S, Insets>を初期値で作成し、フラグを継承。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function, Insets initialValue)
StyleableProperty<Inset>を、初期値で作成。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function, Insets initialValue, boolean inherits)
StyleableProperty<Inset>を、初期値で作成およびフラグを継承。Insets型の型引数を持つjavafx.cssのメソッド・パラメータ 修飾子と型 メソッド 説明 CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function)
初期値がEMPTY
のCssMetaData <S, Insets>を作成し、デフォルトがfalseのフラグを継承します。CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function, Insets initialValue)
CssMetaData<S, Insets>を初期値で作成し、falseをデフォルトとするフラグを継承。CssMetaData<S,Insets>
StyleablePropertyFactory. createInsetsCssMetaData(String property, Function<S,StyleableProperty<Insets>> function, Insets initialValue, boolean inherits)
CssMetaData<S, Insets>を初期値で作成し、フラグを継承。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function)
StyleableProperty<Inset>を作成。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function, Insets initialValue)
StyleableProperty<Inset>を、初期値で作成。StyleableProperty<Insets>
StyleablePropertyFactory. createStyleableInsetsProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Insets>> function, Insets initialValue, boolean inherits)
StyleableProperty<Inset>を、初期値で作成およびフラグを継承。 -
javafx.css.converterでのInsetsの使用
Insetsを戻すjavafx.css.converterのメソッド 修飾子と型 メソッド 説明 Insets
InsetsConverter. convert(ParsedValue<ParsedValue[],Insets> value, Font font)
Insets[]
InsetsConverter.SequenceConverter. convert(ParsedValue<ParsedValue<ParsedValue[],Insets>[],Insets[]> value, Font font)
型Insetsの引数を持つ型を返すjavafx.css.converterのメソッド 修飾子と型 メソッド 説明 static StyleConverter<ParsedValue[],Insets>
InsetsConverter. getInstance()
型Insetsの型引数を持つjavafx.css.converterのメソッド・パラメータ 修飾子と型 メソッド 説明 Insets
InsetsConverter. convert(ParsedValue<ParsedValue[],Insets> value, Font font)
-
javafx.geometryでのInsetsの使用
Insetsとして宣言されているjavafx.geometryのフィールド 修飾子と型 フィールド 説明 static Insets
Insets. EMPTY
空の枠。 -
javafx.scene.controlでのInsetsの使用
Insetsを返すjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 Insets
Labeled. getLabelPadding()
プロパティlabelPaddingの値を取得します。Insets型の引数を持つ型を返すjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 ReadOnlyObjectProperty<Insets>
Labeled. labelPaddingProperty()
ラベル表示のテキストおよびグラフィックのコンテンツ周辺の余白。Insets型のパラメータを持つjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 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)
areaX
、areaY
、areaWidth
xareaHeight
によって定義されるこのスキンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子をレイアウトするユーティリティ・メソッド。protected void
SkinBase. layoutInArea(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment)
areaX
、areaY
、areaWidth
xareaHeight
によって定義されるこのスキンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子をレイアウトするユーティリティ・メソッド。protected void
SkinBase. positionInArea(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment)
areaX
、areaY
、areaWidth
xareaHeight
によって定義されるこのスキンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子を配置するユーティリティ・メソッド。 -
javafx.scene.layoutでのInsetsの使用
Insetsを返すjavafx.scene.layoutのメソッド 修飾子と型 メソッド 説明 Insets
BackgroundFill. getInsets()
この塗りつぶしに対して使用する枠。Insets
Border. getInsets()
枠は、リージョンの端から枠線の最も内側の端までの距離を定義します(その距離が負でない場合)。Insets
BorderImage. getInsets()
BorderImageの枠は、リージョンの端に対して枠線がどこに位置付けられるかを定義します。Insets
BorderStroke. getInsets()
BorderStrokeのそれぞれの側の枠を定義します。Insets
Region. getInsets()
プロパティinsetsの値を取得します。static Insets
BorderPane. getMargin(Node child)
子のマージン制約を返します(設定されている場合)。static Insets
FlowPane. getMargin(Node child)
子のマージン制約を返します(設定されている場合)。static Insets
GridPane. getMargin(Node child)
子のマージン制約を返します(設定されている場合)。static Insets
HBox. getMargin(Node child)
子のマージン制約を返します(設定されている場合)。static Insets
StackPane. getMargin(Node child)
子のマージン制約を返します(設定されている場合)。static Insets
TilePane. getMargin(Node node)
子のマージン制約を返します(設定されている場合)。static Insets
VBox. getMargin(Node child)
子のマージン・プロパティを返します(設定されている場合)。Insets
Region. getOpaqueInsets()
プロパティopaqueInsetsの値を取得します。Insets
Background. getOutsets()
このBackgroundのアウトセット。Insets
Border. getOutsets()
枠線のアウトセットは、描画される枠線の最も外側の端を定義します。Insets
Region. getPadding()
プロパティpaddingの値を取得します。Insets型の引数を持つ型を返すjavafx.scene.layoutのメソッド 修飾子と型 メソッド 説明 ReadOnlyObjectProperty<Insets>
Region. insetsProperty()
Regionの枠は、リージョンの端(レイアウト境界(0, 0, width, height))からコンテンツ領域の端までの距離を定義します。ObjectProperty<Insets>
Region. opaqueInsetsProperty()
完全な透明度のピクセルが描画されるリージョンの領域を定義します。ObjectProperty<Insets>
Region. paddingProperty()
領域のコンテンツの上、右、下、左の余白。Insets型のパラメータを持つjavafx.scene.layoutのメソッド 修飾子と型 メソッド 説明 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)
areaX
、areaY
、areaWidth
xareaHeight
によって定義されるこのリージョンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子をレイアウトするユーティリティ・メソッド。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)
areaX
、areaY
、areaWidth
xareaHeight
によって定義される親の領域内に、その領域に相対的なベースライン・オフセットを使用して、子をレイアウトするユーティリティ・メソッド。protected void
Region. layoutInArea(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment)
areaX
、areaY
、areaWidth
xareaHeight
によって定義されるこのリージョンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子をレイアウトするユーティリティ・メソッド。static void
Region. positionInArea(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment, boolean isSnapToPixel)
areaX
、areaY
、areaWidth
xareaHeight
によって定義されるこのリージョンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子を配置するユーティリティ・メソッド。static void
GridPane. setConstraints(Node child, int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow, Insets margin)
グリッドペインに含まれている場合に、子のグリッド位置、範囲、位置合せ、拡大優先度およびマージンを設定します。static void
BorderPane. setMargin(Node child, Insets value)
ボーダー・ペインに含まれている場合に、子のマージンを設定します。static void
FlowPane. setMargin(Node child, Insets value)
フローペインに含まれている場合に、子のマージンを設定します。static void
GridPane. setMargin(Node child, Insets value)
グリッドペインに含まれている場合に、子のマージンを設定します。static void
HBox. setMargin(Node child, Insets value)
hboxに含まれている場合に、子のマージンを設定します。static void
StackPane. setMargin(Node child, Insets value)
スタック・ペインに含まれている場合に、子のマージンを設定します。static void
TilePane. setMargin(Node node, Insets value)
タイルペインに含まれている場合に、子のマージンを設定します。static void
VBox. setMargin(Node child, Insets value)
vboxに含まれている場合に、子のマージンを設定します。void
Region. setOpaqueInsets(Insets value)
プロパティopaqueInsetsの値を設定します。void
Region. setPadding(Insets value)
プロパティpaddingの値を設定します。Insets型のパラメータを持つjavafx.scene.layoutのコンストラクタ コンストラクタ 説明 BackgroundFill(Paint fill, CornerRadii radii, Insets insets)
指定された塗りつぶし、半径および枠を使用した新しいBackgroundFillを作成します。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, 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を作成します。
-