クラス
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のメソッド 修飾子と型 メソッド 説明 InsetsInsetsConverter. 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のメソッド・パラメータ 修飾子と型 メソッド 説明 InsetsInsetsConverter. convert(ParsedValue<ParsedValue[],Insets> value, Font font) -
javafx.geometryでのInsetsの使用
Insetsとして宣言されているjavafx.geometryのフィールド 修飾子と型 フィールド 説明 static InsetsInsets. EMPTY空の枠。 -
javafx.scene.controlでのInsetsの使用
Insetsを返すjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 InsetsLabeled. getLabelPadding()プロパティlabelPaddingの値を取得します。Insets型の引数を持つ型を返すjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 ReadOnlyObjectProperty<Insets>Labeled. labelPaddingProperty()ラベル表示のテキストおよびグラフィックのコンテンツ周辺の余白。Insets型のパラメータを持つjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 protected voidSkinBase. 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、areaWidthxareaHeightによって定義されるこのスキンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子をレイアウトするユーティリティ・メソッド。protected voidSkinBase. layoutInArea(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment)areaX、areaY、areaWidthxareaHeightによって定義されるこのスキンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子をレイアウトするユーティリティ・メソッド。protected voidSkinBase. positionInArea(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment)areaX、areaY、areaWidthxareaHeightによって定義されるこのスキンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子を配置するユーティリティ・メソッド。 -
javafx.scene.layoutでのInsetsの使用
Insetsを返すjavafx.scene.layoutのメソッド 修飾子と型 メソッド 説明 InsetsBackgroundFill. getInsets()この塗りつぶしに対して使用する枠。InsetsBorder. getInsets()枠は、リージョンの端から枠線の最も内側の端までの距離を定義します(その距離が負でない場合)。InsetsBorderImage. getInsets()BorderImageの枠は、リージョンの端に対して枠線がどこに位置付けられるかを定義します。InsetsBorderStroke. getInsets()BorderStrokeのそれぞれの側の枠を定義します。InsetsRegion. getInsets()プロパティinsetsの値を取得します。static InsetsBorderPane. getMargin(Node child)子のマージン制約を返します(設定されている場合)。static InsetsFlowPane. getMargin(Node child)子のマージン制約を返します(設定されている場合)。static InsetsGridPane. getMargin(Node child)子のマージン制約を返します(設定されている場合)。static InsetsHBox. getMargin(Node child)子のマージン制約を返します(設定されている場合)。static InsetsStackPane. getMargin(Node child)子のマージン制約を返します(設定されている場合)。static InsetsTilePane. getMargin(Node node)子のマージン制約を返します(設定されている場合)。static InsetsVBox. getMargin(Node child)子のマージン・プロパティを返します(設定されている場合)。InsetsRegion. getOpaqueInsets()プロパティopaqueInsetsの値を取得します。InsetsBackground. getOutsets()このBackgroundのアウトセット。InsetsBorder. getOutsets()枠線のアウトセットは、描画される枠線の最も外側の端を定義します。InsetsRegion. 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 voidRegion. 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、areaWidthxareaHeightによって定義されるこのリージョンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子をレイアウトするユーティリティ・メソッド。static voidRegion. 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、areaWidthxareaHeightによって定義される親の領域内に、その領域に相対的なベースライン・オフセットを使用して、子をレイアウトするユーティリティ・メソッド。protected voidRegion. layoutInArea(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment)areaX、areaY、areaWidthxareaHeightによって定義されるこのリージョンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子をレイアウトするユーティリティ・メソッド。static voidRegion. positionInArea(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment, boolean isSnapToPixel)areaX、areaY、areaWidthxareaHeightによって定義されるこのリージョンの領域内に、その領域に相対的なベースライン・オフセットを使用して、子を配置するユーティリティ・メソッド。static voidGridPane. setConstraints(Node child, int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow, Insets margin)グリッドペインに含まれている場合に、子のグリッド位置、範囲、位置合せ、拡大優先度およびマージンを設定します。static voidBorderPane. setMargin(Node child, Insets value)ボーダー・ペインに含まれている場合に、子のマージンを設定します。static voidFlowPane. setMargin(Node child, Insets value)フローペインに含まれている場合に、子のマージンを設定します。static voidGridPane. setMargin(Node child, Insets value)グリッドペインに含まれている場合に、子のマージンを設定します。static voidHBox. setMargin(Node child, Insets value)hboxに含まれている場合に、子のマージンを設定します。static voidStackPane. setMargin(Node child, Insets value)スタック・ペインに含まれている場合に、子のマージンを設定します。static voidTilePane. setMargin(Node node, Insets value)タイルペインに含まれている場合に、子のマージンを設定します。static voidVBox. setMargin(Node child, Insets value)vboxに含まれている場合に、子のマージンを設定します。voidRegion. setOpaqueInsets(Insets value)プロパティopaqueInsetsの値を設定します。voidRegion. 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を作成します。
-