Interface ApplicationListener

All Known Implementing Classes:
AbstractApplicationAdaptor, ApplicationAdaptor, DesktopApplicationAdaptor

public interface ApplicationListener
Interface which listeners of application events must implement.
Author:
tap
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Event indicating that the application will open the initial documents if any.
    void
    Event indicating that the application will quit.
    void
    documentClosed(xal.extension.application.XalAbstractDocument document)
    Event indicating that an open document has closed.
    void
    documentCreated(xal.extension.application.XalAbstractDocument document)
    Event indicating that a new document has been created.
  • Method Details

    • applicationWillOpenInitialDocuments

      void applicationWillOpenInitialDocuments()
      Event indicating that the application will open the initial documents if any. These documents may include a new empty document if appropriate or any documents passed at the command line.
    • documentClosed

      void documentClosed(xal.extension.application.XalAbstractDocument document)
      Event indicating that an open document has closed.
      Parameters:
      document - The document that has closed.
    • documentCreated

      void documentCreated(xal.extension.application.XalAbstractDocument document)
      Event indicating that a new document has been created.
      Parameters:
      document - The document that has been created.
    • applicationWillQuit

      void applicationWillQuit()
      Event indicating that the application will quit.