All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.awt.PopupWindow
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----jp.kyasu.awt.Window
|
+----jp.kyasu.awt.PopupWindow
- public class PopupWindow
- extends Window
A PopupWindow
object is a pop-up window with no borders and
no menubar. The default layout for a window is BorderLayout
.
- Version:
- 24 Nov 1997
- Author:
- Kazuki YASUMATSU
-
PopupWindow(Frame)
- Constructs a new invisible pop-up window.
-
hide()
- Hides this pop-up window.
-
show()
- Shows this pop-up window.
-
show(Component, int, int)
- Shows this pop-up window at the x, y position relative to an origin
component.
PopupWindow
public PopupWindow(Frame parent)
- Constructs a new invisible pop-up window.
- Parameters:
- parent - the main application frame.
show
public synchronized void show(Component origin,
int x,
int y)
- Shows this pop-up window at the x, y position relative to an origin
component. The origin component must be contained within the
component hierarchy of the pop-up window's parent. Both the origin
and the parent must be showing on the screen for this method to be
valid.
- Parameters:
- origin - the component which defines the coordinate space.
- x - the x coordinate position to pop-up the window.
- y - the y coordinate position to pop-up the window.
show
public void show()
- Shows this pop-up window. This method is not supported.
- Overrides:
- show in class Window
hide
public synchronized void hide()
- Hides this pop-up window.
- Overrides:
- hide in class Component
All Packages Class Hierarchy This Package Previous Next Index