fr.esrf.tangoatk.widget.util
Class ErrorPopup

java.lang.Object
  extended by fr.esrf.tangoatk.widget.util.ErrorPopup
All Implemented Interfaces:
IErrorListener, ISetErrorListener, java.io.Serializable, java.util.EventListener

public class ErrorPopup
extends java.lang.Object
implements IErrorListener, ISetErrorListener

A class which listens for command and attribute writing errors and display an ErrorPane when an error occured.

See Also:
Serialized Form

Method Summary
 void errorChange(ErrorEvent evt)
           
static ErrorPopup getInstance()
          getInstance returns the unique instance of the ErrorPopup.
static void main(java.lang.String[] args)
           
 void setErrorOccured(ErrorEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ErrorPopup getInstance()
getInstance returns the unique instance of the ErrorPopup. There will be only one ErrorPopup per running instance of the JVM.

Returns:
an ErrorPopup value

errorChange

public void errorChange(ErrorEvent evt)
Specified by:
errorChange in interface IErrorListener

setErrorOccured

public void setErrorOccured(ErrorEvent evt)
Specified by:
setErrorOccured in interface ISetErrorListener

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception