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

Constructor Index

 o PopupWindow(Frame)
Constructs a new invisible pop-up window.

Method Index

 o hide()
Hides this pop-up window.
 o show()
Shows this pop-up window.
 o show(Component, int, int)
Shows this pop-up window at the x, y position relative to an origin component.

Constructors

 o PopupWindow
 public PopupWindow(Frame parent)
Constructs a new invisible pop-up window.

Parameters:
parent - the main application frame.

Methods

 o 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.
 o show
 public void show()
Shows this pop-up window. This method is not supported.

Overrides:
show in class Window
 o hide
 public synchronized void hide()
Hides this pop-up window.

Overrides:
hide in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index