|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window
A Window is a top-level window with no borders and no menubar. It could be used to implement a pop-up menu. The default layout for a window is BorderLayout.
Field Summary |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
Window(Frame parent)
Constructs a new Window initialized to an invisible state. |
Method Summary | |
void |
addNotify()
Creates the Window's peer. |
void |
dispose()
Disposes of the Window. |
Toolkit |
getToolkit()
Returns the toolkit of this frame. |
String |
getWarningString()
Gets the warning string for this window. |
void |
pack()
Packs the components of the Window. |
void |
show()
Shows the Window. |
void |
toBack()
Sends the frame to the back of the Window. |
void |
toFront()
Brings the frame to the front of the Window. |
Methods inherited from class java.awt.Container |
add, add, add, countComponents, deliverEvent, getComponent, getComponents, getLayout, insets, layout, list, locate, minimumSize, paintComponents, paramString, preferredSize, printComponents, remove, removeAll, removeNotify, setLayout, validate |
Methods inherited from class java.awt.Component |
action, bounds, checkImage, checkImage, createImage, createImage, disable, enable, enable, getBackground, getColorModel, getFont, getFontMetrics, getForeground, getGraphics, getParent, getPeer, gotFocus, handleEvent, hide, imageUpdate, inside, invalidate, isEnabled, isShowing, isValid, isVisible, keyDown, keyUp, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, prepareImage, prepareImage, print, printAll, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setFont, setForeground, show, size, toString, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Window(Frame parent)
parent
- the owner of the dialogComponent.resize(int, int)
,
show()
Method Detail |
public void addNotify()
addNotify
in class Container
Container.removeNotify()
public void pack()
public void show()
show
in class Component
Component.hide()
public void dispose()
public void toFront()
public void toBack()
public Toolkit getToolkit()
getToolkit
in class Component
Toolkit
public final String getWarningString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |