All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.bulletproof.gui.PopupComponent

java.lang.Object
   |
   +----com.bulletproof.gui.Component
           |
           +----com.bulletproof.gui.Container
                   |
                   +----com.bulletproof.gui.PopupComponent

public class PopupComponent
extends Container
Class PopupComponent represents a class for displaying a popup component.


Constructor Index

 o PopupComponent()
Creates a Popup Component.

Method Index

 o display(int, int)
Show the popup at the requested co-ordinates.
 o display(int, int, int)
Show the popup at the requested co-ordinates.
 o paint(Graphics)
Paints the container.
 o setDialog(boolean)
 o setMenu(boolean)
 o setTitle(String)

Constructors

 o PopupComponent
 public PopupComponent()
Creates a Popup Component.

Parameters:
parent - the parent component that is responsible for this popup.

Methods

 o display
 public void display(int xpos,
                     int ypos)
Show the popup at the requested co-ordinates.

Parameters:
xPostion - the x postion to display the popup at.
yPostion - the y postion to display the popup at.
 o display
 public void display(int xpos,
                     int ypos,
                     int altYpos)
Show the popup at the requested co-ordinates.

Parameters:
xPostion - the x postion to display the popup at.
yPostion - the y postion to display the popup at.
altYPostion - the alternate y postion to display the popup at if it wont fit on the screen.
 o setTitle
 public void setTitle(String title)
 o setDialog
 public void setDialog(boolean dialog)
 o setMenu
 public void setMenu(boolean menu)
 o paint
 public void paint(Graphics g)
Paints the container.

Overrides:
paint in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index