// InternalWindowOwner.java
// By Ned Etcode
// Copyright 1995, 1996 Netscape Communications Corp.  All rights reserved.

package netscape.application;

import netscape.util.*;

/** Interface implemented by objects interested in learning when an
  * InternalWindow becomes or resigns its status as a "document" window.  An
  * object interested in these events must implement this
  * interface and make itself the InternalWindow's owner, using its
  * <b>setOwner()</b> method. All other Window notification messages reside in
  * the WindowOwner interface.<p>
  * <I><b>Note:</b> The "document" window concept will probably be removed from
  * the 1.0 release.</i>
  * @private
  * @see InternalWindow#setOwner
  * @see InternalWindow
  * @see WindowOwner
  */

public interface InternalWindowOwner extends WindowOwner {
    /** Sent by the InternalWindow to its owner after becoming the
      * "document" window.
      */
    public void windowDidBecomeDocument(InternalWindow aWindow);

    /** Sent by the InternalWindow to its owner after resiging its
      * "document" window status.
      */
    public void windowDidResignDocument(InternalWindow aWindow);
}

