public class DefaultBeforeFormRepostCallback extends AbstractDialogCallback implements BeforeFormRepostCallback
BeforeFormRepostCallbackimplementation that shows a dialog when a web page with POST data is going to be reloaded.
|Constructor and Description|
Creates a new callback instance.
|Modifier and Type||Method and Description|
Invoked when the callback needs a response for the given callback parameters.
public DefaultBeforeFormRepostCallback(javafx.scene.Node parent)
parent- the parent
Nodethat is used to determine the
Windowin which the dialog is displayed. If null, or if the parent has no Window, a default top-level unowned stage is used.
public void on(BeforeFormRepostCallback.Params params, BeforeFormRepostCallback.Action tell)
params- the object that represents the callback parameters
tell- the object that can be used to provide the callback response. One of its methods must be invoked to provide the response. Once the response has been provided, any call to the object methods will result in the