public final class DialogFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static BlockingDialog |
buildBlocking(String title,
Dialog.Size size,
com.google.gwt.safehtml.shared.SafeHtml message)
Creates and returns a blocking dialog which can only be closed programmatically.
|
static BlockingDialog |
buildBlocking(String title,
com.google.gwt.safehtml.shared.SafeHtml message) |
static Dialog |
buildConfirmation(String title,
com.google.gwt.safehtml.shared.SafeHtml question,
elemental2.dom.HTMLElement element,
org.jboss.hal.spi.Callback confirm)
Creates and returns a confirmation dialog using the question and the provided element.
|
static Dialog |
buildConfirmation(String title,
com.google.gwt.safehtml.shared.SafeHtml question,
elemental2.dom.HTMLElement element,
Dialog.Size size,
org.jboss.hal.spi.Callback confirm) |
static BlockingDialog |
buildLongRunning(String title,
com.google.gwt.safehtml.shared.SafeHtml message)
Creates and returns a blocking dialog w/ a spinner which can only be closed programmatically.
|
static void |
showConfirmation(String title,
com.google.gwt.safehtml.shared.SafeHtml question,
org.jboss.hal.spi.Callback confirm)
Creates and shows a confirmation dialog using the provided question.
|
static void |
showConfirmation(String title,
com.google.gwt.safehtml.shared.SafeHtml question,
elemental2.dom.HTMLElement element,
org.jboss.hal.spi.Callback confirm)
Creates and shows a confirmation dialog using the question and the provided element.
|
public static void showConfirmation(String title, com.google.gwt.safehtml.shared.SafeHtml question, org.jboss.hal.spi.Callback confirm)
public static void showConfirmation(String title, com.google.gwt.safehtml.shared.SafeHtml question, elemental2.dom.HTMLElement element, org.jboss.hal.spi.Callback confirm)
public static Dialog buildConfirmation(String title, com.google.gwt.safehtml.shared.SafeHtml question, elemental2.dom.HTMLElement element, org.jboss.hal.spi.Callback confirm)
Please note that the dialog is not shown by this method. You need to call Dialog.show()
on the returned dialog.
public static Dialog buildConfirmation(String title, com.google.gwt.safehtml.shared.SafeHtml question, elemental2.dom.HTMLElement element, Dialog.Size size, org.jboss.hal.spi.Callback confirm)
public static BlockingDialog buildBlocking(String title, com.google.gwt.safehtml.shared.SafeHtml message)
public static BlockingDialog buildBlocking(String title, Dialog.Size size, com.google.gwt.safehtml.shared.SafeHtml message)
Please note that the dialog is not shown by this method. You need to call Dialog.show()
on the returned dialog.
public static BlockingDialog buildLongRunning(String title, com.google.gwt.safehtml.shared.SafeHtml message)
Please note that the dialog is not shown by this method. You need to call Dialog.show()
on the returned dialog.
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.