Class ErrorHistory

All Implemented Interfaces:
fr.esrf.tangoatk.core.IErrorListener, fr.esrf.tangoatk.core.ISetErrorListener, IControlee, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class ErrorHistory extends JFrame implements fr.esrf.tangoatk.core.IErrorListener, fr.esrf.tangoatk.core.ISetErrorListener, IControlee
ErrorHistory a basic viewer for errors.
         ErrorHistory errorHistory = new ErrorHistory();
         attributeList.addErrorListener(errorHistory);
 
Version:
$Revision$
Author:
Erik Assum
See Also:
  • Constructor Details

    • ErrorHistory

      public ErrorHistory()
  • Method Details

    • ok

      public void ok()
      Description copied from interface: IControlee
      ok will be called when the component is visible and the user presses the OK button on the ButtonBar Expected behaviour is to set all the values on the model the widget is representing followed by a getRootPane().getParent().setVisible(false);
      Specified by:
      ok in interface IControlee
      See Also:
    • errorChange

      public void errorChange(fr.esrf.tangoatk.core.ErrorEvent evt)
      Specified by:
      errorChange in interface fr.esrf.tangoatk.core.IErrorListener
    • setErrorOccured

      public void setErrorOccured(fr.esrf.tangoatk.core.ErrorEvent evt)
      Specified by:
      setErrorOccured in interface fr.esrf.tangoatk.core.ISetErrorListener
    • setErrorPopupEnabled

      public void setErrorPopupEnabled(boolean v)
    • setErrorBufferSize

      public void setErrorBufferSize(int nbErrors)
    • main

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