java.awt
Class Window
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
- Direct Known Subclasses:
- Dialog, Frame
- public class Window
- extends Container
The Window class currently does not support windows
outside the owner window. Also adding child windows
to windows not on top of the stack may produce strange results
I'll fix that after implementation of restricted area repaint.
Stefan
Methods inherited from class java.awt.Container |
add,
add,
add,
findComponentAt,
getComponent,
getLayout,
getMinimumSize,
paintAll,
paintComponents,
remove,
setLayout,
update,
validate |
Methods inherited from class java.awt.Component |
addKeyListener,
addMouseListener,
contains,
getFont,
getFontMetrics,
getGraphics,
getHeight,
getPreferredSize,
getSize,
getWidth,
getX,
getY,
invalidate,
isEnabled,
isVisible,
paint,
processKeyEvent,
processMouseEvent,
repaint,
repaint,
requestFocus,
setBackground,
setBounds,
setEnabled,
setLocation,
setSize,
setSize |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Window
public Window(Frame f)
addWindowListener
public void addWindowListener(WindowListener l)
- This method does not do anything and is included
for compatibility only
dispose
public void dispose()
getFocusOwner
public Component getFocusOwner()
getLocationOnScreen
public Point getLocationOnScreen()
- returns null if not visible
- Overrides:
- getLocationOnScreen in class Component
getToolkit
public Toolkit getToolkit()
pack
public void pack()
proxyRequestFocus
public void proxyRequestFocus(Component fc)
- Overrides:
- proxyRequestFocus in class Component
setVisible
public void setVisible(boolean vis)
- Overrides:
- setVisible in class Component
show
public void show()