Interface ApplicationObserver
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface ApplicationObserver

public interface netscape.application.ApplicationObserver
{
    /* Methods
     */
    public abstract void applicationDidPause(Application);
    public abstract void applicationDidResume(Application);
    public abstract void applicationDidStart(Application);
    public abstract void applicationDidStop(Application);
    public abstract void currentDocumentDidChange(Application, Window);
    public abstract void focusDidChange(Application, View);
}
Interface implemented by objects interested in receiving notifications when the Application changes state.

Methods

.applicationDidStart

  public abstract void applicationDidStart(Application application)
Informs the observer that the application's EventLoop has just started running.

.applicationDidStop

  public abstract void applicationDidStop(Application application)
Informs the observer that the application's EventLoop has just finished receiving events.

.focusDidChange

  public abstract void focusDidChange(Application application,
                                      View focusedView)
Informs the observer that the application's focused view has changed. If focusedView is null, the application no longer has a focused view.

.currentDocumentDidChange

  public abstract void currentDocumentDidChange(Application application,
                                                Window document)
Informs the observer that the application's current document window has changed. If document is null, the application no longer has a current document window.

.applicationDidPause

  public abstract void applicationDidPause(Application application)
Informs the observer that the Applet that launched the Application is no longer visible.

.applicationDidResume

  public abstract void applicationDidResume(Application application)
Informs the observer that the Applet that launched the Application is visible again.

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Copyright © 1997 Netscape Communications Corporation. All rights reserved
Please send any comments or corrections to ifcfeedback@netscape.com
HTML generated on 21 Oct 1997