public interface AlertManager
Modifier and Type | Method and Description |
---|---|
Alert |
postAlert(java.lang.String title,
java.lang.Class<?> group,
java.lang.String text)
Send notification of a specific event.
|
UpdatableAlert |
postCustomAlert(java.lang.String title,
javax.swing.JComponent contents)
Create an alert containing the provided special contents.
|
UpdatableAlert |
postUpdatableAlert(java.lang.String title,
java.lang.String text)
Create a UpdatableAlert.
|
Alert postAlert(java.lang.String title, java.lang.Class<?> group, java.lang.String text)
title
- Title text to show above the alert. May be null.group
- Object to use for grouping multiple alert texts together.
May be null; null-group alerts are always displayed.text
- Text of the alert.UpdatableAlert postUpdatableAlert(java.lang.String title, java.lang.String text)
title
- Title text to show above the main text. May be null.text
- Initial text to display to the user.UpdatableAlert postCustomAlert(java.lang.String title, javax.swing.JComponent contents)
title
- Title text to show above the custom contents. May be null.contents
- Contents to be inserted into the alert dialog.