JUICe

com.lafros.juice.alerts
Class TheAlertsController

java.lang.Object
  extended by com.lafros.juice.alerts.TheAlertsController

public class TheAlertsController
extends Object

for controlling the package's behaviour.

Version:
$Id: TheAlertsController.java 1479 2007-04-04 11:36:41Z rob $
Author:
Rob Dickens

Constructor Summary
TheAlertsController()
          Creates the instance.
 
Method Summary
 void beep()
          respects mute setting.
 void clearIntrusiveAlerts()
          for use when e.g.
static void loadJUICeResources()
          for use before installing a security manager.
 void setApp(IAlertsApp app)
          sets the app.
 void setMuted(boolean b)
          intrusive alerts are silenced.
 void setUseSystemBeep(boolean b)
          rather than the default audio clip (in case this can't be heard, for some reason).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TheAlertsController

public TheAlertsController()
Creates the instance.

Throws:
IllegalStateException - if called subsequently (from any thread)
Method Detail

loadJUICeResources

public static void loadJUICeResources()
for use before installing a security manager. Not required when using Java Web Start, or when running as an applet.


beep

public void beep()
respects mute setting.


setUseSystemBeep

public void setUseSystemBeep(boolean b)
rather than the default audio clip (in case this can't be heard, for some reason).


setMuted

public void setMuted(boolean b)
intrusive alerts are silenced. Initially false.


setApp

public void setApp(IAlertsApp app)
sets the app.


clearIntrusiveAlerts

public void clearIntrusiveAlerts()
for use when e.g. terminating an applet.


JUICe

Copyright © 2001-2008 Latterfrosken Software Development Limited. All Rights Reserved.