PopupWindow.Update メソッド

定義

オーバーロード

Update()

ポップアップ ウィンドウの状態 (現在表示されている場合) を、現在設定されている状態から更新します。

Update(Int32, Int32)

ポップアップ ウィンドウの寸法を更新します。

Update(View, Int32, Int32)

ポップアップ ウィンドウの位置と寸法を更新します。

Update(Int32, Int32, Int32, Int32)

ポップアップ ウィンドウの位置と寸法を更新します。

Update(View, Int32, Int32, Int32, Int32)

ポップアップ ウィンドウの位置と寸法を更新します。

Update(Int32, Int32, Int32, Int32, Boolean)

ポップアップ ウィンドウの位置と寸法を更新します。

Update()

ポップアップ ウィンドウの状態 (現在表示されている場合) を、現在設定されている状態から更新します。

[Android.Runtime.Register("update", "()V", "GetUpdateHandler")]
public virtual void Update ();
[<Android.Runtime.Register("update", "()V", "GetUpdateHandler")>]
abstract member Update : unit -> unit
override this.Update : unit -> unit
属性

注釈

ポップアップ ウィンドウの状態 (現在表示されている場合) を、現在設定されている状態から更新します。

これには次のものが含まれます: <ul><li#setClippingEnabled(boolean)></li<>li#setFocusable(boolean)></li>>#setIgnoreCheekPress()<<<> li><#setInputMethodMode(int)/li><<#setTouchable(boolean)>/li li/li<><>li#setTouchModal(boolean)>#setAnimationStyle(int)>< (boolean)}</li><li#setIsClippedToScreen(boolean)<>/li></ul>

android.widget.PopupWindow.update()Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

Update(Int32, Int32)

ポップアップ ウィンドウの寸法を更新します。

[Android.Runtime.Register("update", "(II)V", "GetUpdate_IIHandler")]
public virtual void Update (int width, int height);
[<Android.Runtime.Register("update", "(II)V", "GetUpdate_IIHandler")>]
abstract member Update : int * int -> unit
override this.Update : int * int -> unit

パラメーター

width
Int32

を無視するには、新しい幅 (ピクセル単位) を >= 0 または -1 にする必要があります

height
Int32

を無視するには、新しい高さ (ピクセル単位) を = 0 または -1 にする必要があります>

属性

注釈

ポップアップ ウィンドウの寸法を更新します。

この関数を呼び出すと、 の説明 #update()に従って、ウィンドウが現在のポップアップ状態で更新されます。

android.widget.PopupWindow.update(int, int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

Update(View, Int32, Int32)

ポップアップ ウィンドウの位置と寸法を更新します。

[Android.Runtime.Register("update", "(Landroid/view/View;II)V", "GetUpdate_Landroid_view_View_IIHandler")]
public virtual void Update (Android.Views.View? anchor, int width, int height);
[<Android.Runtime.Register("update", "(Landroid/view/View;II)V", "GetUpdate_Landroid_view_View_IIHandler")>]
abstract member Update : Android.Views.View * int * int -> unit
override this.Update : Android.Views.View * int * int -> unit

パラメーター

anchor
View

ポップアップのアンカー ビュー

width
Int32

を無視するには、新しい幅 (ピクセル単位) を >= 0 または -1 にする必要があります

height
Int32

を無視するには、新しい高さ (ピクセル単位) を = 0 または -1 にする必要があります>

属性

注釈

ポップアップ ウィンドウの位置と寸法を更新します。

この関数を呼び出すと、 の説明 #update()に従って、ウィンドウが現在のポップアップ状態で更新されます。

android.widget.PopupWindow.update(android.view.View, int, int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

Update(Int32, Int32, Int32, Int32)

ポップアップ ウィンドウの位置と寸法を更新します。

[Android.Runtime.Register("update", "(IIII)V", "GetUpdate_IIIIHandler")]
public virtual void Update (int x, int y, int width, int height);
[<Android.Runtime.Register("update", "(IIII)V", "GetUpdate_IIIIHandler")>]
abstract member Update : int * int * int * int -> unit
override this.Update : int * int * int * int -> unit

パラメーター

x
Int32

新しい x の場所

y
Int32

新しい y の場所

width
Int32

を無視するには、新しい幅 (ピクセル単位) を >= 0 または -1 にする必要があります

height
Int32

を無視するには、新しい高さ (ピクセル単位) を = 0 または -1 にする必要があります>

属性

注釈

ポップアップ ウィンドウの位置と寸法を更新します。

場所のみを更新するには、幅と高さを -1 に設定できます。 この関数を呼び出すと、 の説明 #update()に従って、ウィンドウが現在のポップアップ状態で更新されます。

android.widget.PopupWindow.update(int, int, int, int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

Update(View, Int32, Int32, Int32, Int32)

ポップアップ ウィンドウの位置と寸法を更新します。

[Android.Runtime.Register("update", "(Landroid/view/View;IIII)V", "GetUpdate_Landroid_view_View_IIIIHandler")]
public virtual void Update (Android.Views.View? anchor, int xoff, int yoff, int width, int height);
[<Android.Runtime.Register("update", "(Landroid/view/View;IIII)V", "GetUpdate_Landroid_view_View_IIIIHandler")>]
abstract member Update : Android.Views.View * int * int * int * int -> unit
override this.Update : Android.Views.View * int * int * int * int -> unit

パラメーター

anchor
View

ポップアップのアンカー ビュー

xoff
Int32

ビューの左端からの x オフセット

yoff
Int32

ビューの下端からの y オフセット

width
Int32

を無視するには、新しい幅 (ピクセル単位) を >= 0 または -1 にする必要があります

height
Int32

を無視するには、新しい高さ (ピクセル単位) を = 0 または -1 にする必要があります>

属性

注釈

ポップアップ ウィンドウの位置と寸法を更新します。

場所のみを更新するには、幅と高さを -1 に設定できます。 この関数を呼び出すと、 の説明 #update()に従って、ウィンドウが現在のポップアップ状態で更新されます。

ビューが後でスクロールして別の場所に移動 anchor すると、ポップアップはそれに対応して移動されます。

android.widget.PopupWindow.update(android.view.View, int, int, int, int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

Update(Int32, Int32, Int32, Int32, Boolean)

ポップアップ ウィンドウの位置と寸法を更新します。

[Android.Runtime.Register("update", "(IIIIZ)V", "GetUpdate_IIIIZHandler")]
public virtual void Update (int x, int y, int width, int height, bool force);
[<Android.Runtime.Register("update", "(IIIIZ)V", "GetUpdate_IIIIZHandler")>]
abstract member Update : int * int * int * int * bool -> unit
override this.Update : int * int * int * int * bool -> unit

パラメーター

x
Int32

新しい x の場所

y
Int32

新しい y の場所

width
Int32

を無視するには、新しい幅 (ピクセル単位) を >= 0 または -1 にする必要があります

height
Int32

を無視するには、新しい高さ (ピクセル単位) を = 0 または -1 にする必要があります>

force
Boolean

true 指定した位置が既に LayoutParams に対応しているように見える場合でもウィンドウの位置を変更する場合は、 false 必要な場合にのみ位置を変更します

属性

注釈

ポップアップ ウィンドウの位置と寸法を更新します。

場所のみを更新するには、幅と高さを -1 に設定できます。 この関数を呼び出すと、 の説明 #update()に従って、ウィンドウが現在のポップアップ状態で更新されます。

android.widget.PopupWindow.update(int, int, int, int, boolean)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象