WindowNameWindow
DescriptionThe Window class serves as a top-level display area that exists outside the browser or applet area you may be working in. A window must have a parent Frame. Class Definition
public class java.awt.Window extends java.awt.Container { // Constructors public Window (Frame parent); // Instance Methods public void addNotify(); public synchronized void addWindowListener (WindowListener l); public void dispose(); public Component getFocusOwner(); public Locale getLocale(); public Toolkit getToolkit(); public final String getWarningString(); public boolean isShowing(); public void pack(); public boolean postEvent (Event e); public synchronized void remove WindowListener (WindowListener l); public void show(); public void toBack(); public void toFront(); //Protected Instance Methods protected void processEvent (AWTEvent e); protected void processWindowEvent (WindowEvent e); } ConstructorsWindowpublic Window (Frame parent)
Instance MethodsaddNotifypublic void addNotify()
removeWindowListenerpublic synchronized void removeWindowListener(WindowListener l)
addWindowListenerpublic synchronized void addWindowListener (WindowListener l)
disposepublic void dispose()
getFocusOwnerpublic Component getFocusOwner()
getLocalepublic Locale getLocale()
getToolkitpublic Toolkit getToolkit()
getWarningStringpublic final String getWarningString()
isShowingpublic boolean isShowing()
packpublic void pack()
postEventpublic boolean postEvent (Event e)
removeWindowListenerpublic synchronized void removeWindowListener (WindowListener l)
showpublic void show()
toBackpublic void toBack()
toFrontpublic void toFront()
Protected Instance MethodsprocessEventprotected void processEvent (AWTEvent e)
processWindowEventprotected void processWindowEvent (WindowEvent e)
See AlsoComponent, Container, Dialog, Frame, String, Toolkit |
|