All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.awt.PopupPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----jp.kyasu.awt.KContainer
|
+----jp.kyasu.awt.Panel
|
+----jp.kyasu.awt.PopupPanel
- public class PopupPanel
- extends Panel
A PopupPanel
object is a panel that can be shown and hidden
in a pop-up window. The default layout for a panel is
BorderLayout
.
- Version:
- 30 Nov 1997
- Author:
- Kazuki YASUMATSU
- See Also:
- PopupWindow
-
PopupPanel()
- Creates a new pop-up panel using the default layout manager.
-
PopupPanel(Insets)
- Creates a new pop-up panel with the specified insets.
-
PopupPanel(LayoutManager)
- Creates a new pop-up panel with the specified layout manager.
-
PopupPanel(LayoutManager, Insets)
- Creates a new pop-up panel with the specified layout manager and
insets.
-
hidePopup()
- Hides the pop-up window of this panel.
-
showPopup(Component, int, int)
- Shows this panel in a pop-up window at the x, y position relative
to an origin component.
PopupPanel
public PopupPanel()
- Creates a new pop-up panel using the default layout manager.
PopupPanel
public PopupPanel(Insets insets)
- Creates a new pop-up panel with the specified insets.
- Parameters:
- insets - the insets of the panel.
PopupPanel
public PopupPanel(LayoutManager layout)
- Creates a new pop-up panel with the specified layout manager.
- Parameters:
- layout - the layout manager for the panel.
PopupPanel
public PopupPanel(LayoutManager layout,
Insets insets)
- Creates a new pop-up panel with the specified layout manager and
insets.
- Parameters:
- layout - the layout manager for the panel.
- insets - the insets of the panel.
showPopup
public synchronized void showPopup(Component origin,
int x,
int y)
- Shows this panel in a pop-up window at the x, y position relative
to an origin component.
- 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.
hidePopup
public synchronized void hidePopup()
- Hides the pop-up window of this panel.
All Packages Class Hierarchy This Package Previous Next Index