|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gwtbootstrap3.extras.bootbox.client.Bootbox
public class Bootbox
Created by kyle on 2013/12/11.
| Nested Class Summary | |
|---|---|
static class |
Bootbox.Defaults
Used to provide defaults configurations to Bootbox. |
static class |
Bootbox.Dialog
Used to provide a Dialog configuration. |
| Constructor Summary | |
|---|---|
Bootbox()
|
|
| Method Summary | |
|---|---|
static void |
alert(String msg)
Displays a message in a modal dialog box. |
static void |
alert(String msg,
AlertCallback callback)
Displays a message in a modal dialog box. |
static void |
confirm(String msg,
ConfirmCallback callback)
Displays a message in a modal dialog box, along with the standard 'OK' and 'Cancel' buttons. |
static Bootbox.Defaults |
createDefaults()
Creates a Defaults object. |
static void |
dialog(Bootbox.Dialog dialog)
Displays a completely customisable dialog in a modal dialog box. |
static void |
hideAll()
Hide all currently active bootbox dialogs. |
static void |
prompt(String msg,
PromptCallback callback)
Displays a request for information in a modal dialog box, along with the standard 'OK' and 'Cancel' buttons. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Bootbox()
| Method Detail |
|---|
public static void alert(String msg)
msg - the message to be displayed.
public static void alert(String msg,
AlertCallback callback)
msg - the message to be displayed.callback - the callback handler.
public static void confirm(String msg,
ConfirmCallback callback)
msg - the message to be displayed.callback - the callback handler.
public static void prompt(String msg,
PromptCallback callback)
msg - the message to be displayed.callback - the callback handler.public static void dialog(Bootbox.Dialog dialog)
dialog - the dialog configuration.public static void hideAll()
Individual dialogs can be closed as per normal Bootstrap dialogs: dialog.modal('hide').
public static Bootbox.Defaults createDefaults()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||