Interface Alert

All Known Subinterfaces:
UpdatableAlert

public interface Alert
An Alert is a temporary, undecorated message that is displayed to the user in the Messages window. Alerts can be created via the AlertManager.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Dismiss the Alert, causing it to no longer be visible to the user.
    boolean
    Returns whether or not this Alert is still visible to the user and can therefore be updated or have more content added to it.
  • Method Details

    • isUsable

      boolean isUsable()
      Returns whether or not this Alert is still visible to the user and can therefore be updated or have more content added to it. Alerts that have been dismissed (either via their dismiss() method or by the user closing them) are no longer usable.
    • dismiss

      void dismiss()
      Dismiss the Alert, causing it to no longer be visible to the user.