org.gudy.azureus2.ui.swt
Class Alerts

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.Alerts

public class Alerts
extends Object

Utility methods to display popup window


Nested Class Summary
static interface Alerts.AlertHistoryListener
           
static interface Alerts.AlertListener
           
 
Method Summary
static void addListener(Alerts.AlertListener l)
           
static void addMessageHistoryListener(Alerts.AlertHistoryListener l)
           
static int getUnviewedLogAlertCount()
           
static ArrayList<LogAlert> getUnviewedLogAlerts()
           
static void init()
           
static void initComplete()
           
static void markAlertAsViewed(LogAlert alert)
           
protected static void showAlert(LogAlert alert)
           
static void stopInitiated()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 ArrayList<LogAlert> getUnviewedLogAlerts()

getUnviewedLogAlertCount

public static int getUnviewedLogAlertCount()

addMessageHistoryListener

public static void addMessageHistoryListener(Alerts.AlertHistoryListener l)

markAlertAsViewed

public static void markAlertAsViewed(LogAlert alert)