public class DefaultSelectClientCertificateCallback extends AbstractDialogCallback implements SelectClientCertificateCallback
SelectClientCertificateCallback
implementation that shows a dialog that
allows the user to select a certificate from the certificate list passed to the callback.
If the certificate list is empty, the dialog is not shown, and the Action#cancel()
method is invoked.
SelectClientCertificateCallback.Action, SelectClientCertificateCallback.Params
Constructor and Description |
---|
DefaultSelectClientCertificateCallback(javafx.scene.Node parent)
Creates a new callback instance.
|
Modifier and Type | Method and Description |
---|---|
void |
on(SelectClientCertificateCallback.Params params,
SelectClientCertificateCallback.Action tell)
Invoked when the callback needs a response for the given callback parameters.
|
getParent
public DefaultSelectClientCertificateCallback(javafx.scene.Node parent)
parent
- the parent Node
that is used to determine the Window
in 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(SelectClientCertificateCallback.Params params, SelectClientCertificateCallback.Action tell)
AsyncCallback
on
in interface AsyncCallback<SelectClientCertificateCallback.Params,SelectClientCertificateCallback.Action>
params
- the object that represents the callback parameterstell
- 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 IllegalStateException