Interface WindowOwner
All Packages Class Hierarchy This Package Previous Next Index
Interface WindowOwner
public interface netscape.application.WindowOwner
{
/* Methods
*/
public abstract void windowDidBecomeMain(Window);
public abstract void windowDidHide(Window);
public abstract void windowDidResignMain(Window);
public abstract void windowDidShow(Window);
public abstract boolean windowWillHide(Window);
public abstract boolean windowWillShow(Window);
public abstract void windowWillSizeBy(Window, Size);
}
Interface implemented by objects wanting information on important Window
events, such as the Window closing. An object implementing this interface
must make itself the Window's "owner" using the Window's setOwner()
method.
- See Also:
- setOwner
Methods
windowWillShow
public abstract boolean windowWillShow(Window aWindow)
- Sent just before a aWindow becomes visible. Returning
false prevents the Window from appearing onscreen.
windowDidShow
public abstract void windowDidShow(Window aWindow)
- Sent just after aWindow has become visible.
windowWillHide
public abstract boolean windowWillHide(Window aWindow)
- Sent just before aWindow is hidden. Returning false
prevents the Window from hiding.
windowDidHide
public abstract void windowDidHide(Window aWindow)
- Sent just after aWindow has hidden.
windowDidBecomeMain
public abstract void windowDidBecomeMain(Window aWindow)
- Sent just after aWindow becomes the "main" Window, the Window
that receives keyboard events.
windowDidResignMain
public abstract void windowDidResignMain(Window aWindow)
- Sent just after aWindow ceases being the "main" Window.
windowWillSizeBy
public abstract void windowWillSizeBy(Window aWindow,
Size deltaSize)
- Sent just before aWindow changes size by deltaSize.
The Window owner can affect this resize by modifying deltaSize.
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 Apr 1997