Package pro.gravit.launcher.client.api
Class DialogService
java.lang.Object
pro.gravit.launcher.client.api.DialogService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateNotification(pro.gravit.launcher.base.events.NotificationEvent.NotificationType type, String head, String message) static booleanstatic booleanstatic voidstatic voidstatic voidshowApplyDialog(String header, String text, Runnable onApplyCallback, Runnable onDenyCallback) static voidshowApplyDialog(String header, String text, Runnable onApplyCallback, Runnable onDenyCallback, Runnable onCloseCallback) static voidshowDialog(String header, String text, Runnable onApplyCallback, Runnable onCloseCallback) static voidshowTextDialog(String header, Consumer<String> onApplyCallback, Runnable onCloseCallback)
-
Method Details
-
setDialogImpl
-
setNotificationImpl
-
isDialogsAvailable
public static boolean isDialogsAvailable() -
isNotificationsAvailable
public static boolean isNotificationsAvailable() -
createNotification
-
showDialog
-
showApplyDialog
-
showApplyDialog
-
showTextDialog
-