クラス
javafx.scene.control.Alert.AlertTypeの使用
-
Alert.AlertTypeを使用するパッケージ パッケージ 説明 javafx.scene.control JavaFXユーザー・インタフェース・コントロール(UIコントロールまたは単純なコントロール)は、特に多くの異なるアプリケーション・コンテキストでの再利用に適しているJavaFXシーングラフの特化されたノードです。 -
-
javafx.scene.controlのAlert.AlertTypeの使用
Alert.AlertTypeを返すjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 Alert.AlertType
Alert. getAlertType()
プロパティalertTypeの値を取得します。static Alert.AlertType
Alert.AlertType. valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。static Alert.AlertType[]
Alert.AlertType. values()
この列挙型の定数を含む配列を、宣言されている順序で返します。Alert.AlertType型の引数を持つ型を返すjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 ObjectProperty<Alert.AlertType>
Alert. alertTypeProperty()
Alertインスタンスを作成する際、ユーザーはAlert.AlertType
列挙値を渡す必要があります。Alert.AlertType型のパラメータを持つjavafx.scene.controlのメソッド 修飾子と型 メソッド 説明 void
Alert. setAlertType(Alert.AlertType alertType)
プロパティalertTypeの値を設定します。Alert.AlertType型のパラメータを持つjavafx.scene.controlのコンストラクタ コンストラクタ 説明 Alert(Alert.AlertType alertType)
指定されたAlertTypeでアラートを作成します(どれが最も適しているかを調べるには、Alert.AlertType
の説明を参照してください)。Alert(Alert.AlertType alertType, String contentText, ButtonType... buttons)
指定されたcontentText、ButtonTypesおよびAlertTypeでアラートを作成します(どれが最も適しているかを調べるには、Alert.AlertType
の説明を参照してください)。
-