Spec-Zone .ru
спецификации, руководства, описания, API

JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

expand all

Profile: desktop, common

Overview

This class handles creation of Alert dialog window.


Procedural usage case example:

import javafx.stage.Alert;

var result:Boolean = Alert.question("Do you want to continue?");
 

Profile: common

Inherited Variables

Constructor Summary

public Alert()
Returns
 

Method Summary

public static boolean confirm(java.lang.String message)

Creates confirmaion type alert

Creates confirmaion type alert

Parameters
message
- Alert message
Returns
boolean
User's confirmation status: boolean representation of the reply (OK->TRUE, CANCEL->FALSE)

Profile: common

 
public static boolean confirm(java.lang.String title, java.lang.String message)

Creates confirmaion type alert

Creates confirmaion type alert

Parameters
title
- Alert title
message
- Alert message
Returns
boolean
User's confirmation status: boolean representation of the reply (OK->TRUE, CANCEL->FALSE)

Profile: common

 
public static void inform(java.lang.String message)

Creates information type alert

Creates information type alert

Parameters
message
- Alert message

Profile: common

 
public static void inform(java.lang.String title, java.lang.String message)

Creates information type alert

Creates information type alert

Parameters
title
- Alert title
message
- Alert message

Profile: common

 
public static boolean question(java.lang.String message)

Creates question type alert

Creates question type alert

Parameters
message
- Alert message
Returns
boolean
User's reply: boolean representation of the reply (YES->TRUE, NO->FALSE)

Profile: common

 
public static boolean question(java.lang.String title, java.lang.String message)

Creates question type alert

Creates question type alert

Parameters
title
- Alert title
message
- Alert message
Returns
boolean
User's reply: boolean representation of the reply (YES->TRUE, NO->FALSE)

Profile: common

 

Inherited Functions