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.
-
PopupComponent()
- Creates a Popup Component.
-
display(int, int)
- Show the popup at the requested co-ordinates.
-
display(int, int, int)
- Show the popup at the requested co-ordinates.
-
paint(Graphics)
-
Paints the container.
-
setDialog(boolean)
-
-
setMenu(boolean)
-
-
setTitle(String)
-
PopupComponent
public PopupComponent()
- Creates a Popup Component.
- Parameters:
- parent - the parent component that is responsible for this popup.
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.
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.
setTitle
public void setTitle(String title)
setDialog
public void setDialog(boolean dialog)
setMenu
public void setMenu(boolean menu)
paint
public void paint(Graphics g)
- Paints the container.
- Overrides:
- paint in class Container
All Packages Class Hierarchy This Package Previous Next Index