org.gudy.azureus2.ui.swt
Class Alerts
java.lang.Object
org.gudy.azureus2.ui.swt.Alerts
public class Alerts
- extends java.lang.Object
Utility methods to display popup window
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
showAlert
protected static void showAlert(LogAlert alert)
- Parameters:
alert
- - Since:
- 3.0.0.9
initComplete
public static void initComplete()
stopInitiated
public static void stopInitiated()
init
public static void init()
addListener
public static void addListener(Alerts.AlertListener l)
getUnviewedLogAlerts
public static java.util.ArrayList<LogAlert> getUnviewedLogAlerts()
getUnviewedLogAlertCount
public static int getUnviewedLogAlertCount()
addMessageHistoryListener
public static void addMessageHistoryListener(Alerts.AlertHistoryListener l)
markAlertAsViewed
public static void markAlertAsViewed(LogAlert alert)