au.edu.jcu.hermes.core.common.shower
Class SwingEventShower

java.lang.Object
  extended by au.edu.jcu.hermes.core.common.shower.SwingEventShower
All Implemented Interfaces:
IEventShower

public class SwingEventShower
extends java.lang.Object
implements IEventShower

Author: Mathew Wyatt Organisation: James Cook University Date: Mar 31, 2008 Time: 9:52:20 AM


Constructor Summary
SwingEventShower()
           
 
Method Summary
 int askYesNoQuestion(java.lang.String message)
           
 void setTransfersActive(boolean active)
           
 void showErrorMessage(java.lang.String message)
           
 void showErrorMessageWithException(java.lang.String message, java.lang.Exception e)
           
 void showInfoMessage(java.lang.String message)
           
 void showStatusCompleteMessage(java.lang.String message, StatusToken token)
           
 StatusToken showStatusMessage(java.lang.String message)
           
 int showYesNoYesToAll(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingEventShower

public SwingEventShower()
Method Detail

showErrorMessage

public void showErrorMessage(java.lang.String message)
Specified by:
showErrorMessage in interface IEventShower

showErrorMessageWithException

public void showErrorMessageWithException(java.lang.String message,
                                          java.lang.Exception e)
Specified by:
showErrorMessageWithException in interface IEventShower

showInfoMessage

public void showInfoMessage(java.lang.String message)
Specified by:
showInfoMessage in interface IEventShower

showStatusMessage

public StatusToken showStatusMessage(java.lang.String message)
Specified by:
showStatusMessage in interface IEventShower

showStatusCompleteMessage

public void showStatusCompleteMessage(java.lang.String message,
                                      StatusToken token)
Specified by:
showStatusCompleteMessage in interface IEventShower

setTransfersActive

public void setTransfersActive(boolean active)
Specified by:
setTransfersActive in interface IEventShower

showYesNoYesToAll

public int showYesNoYesToAll(java.lang.String message)
Specified by:
showYesNoYesToAll in interface IEventShower

askYesNoQuestion

public int askYesNoQuestion(java.lang.String message)
Specified by:
askYesNoQuestion in interface IEventShower