Class marimba.gui.PopupWidget
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class marimba.gui.PopupWidget

java.lang.Object
   |
   +----marimba.gui.Widget
           |
           +----marimba.gui.ContainerWidget
                   |
                   +----marimba.gui.GroupWidget
                           |
                           +----marimba.gui.PopupWidget

public class PopupWidget
extends GroupWidget
This class represents a widget that can be temporarily shown ontop of everything else.
Version:
1.19, 11/07/96
Author:
Arthur van Hoff

Constructor Index

 o PopupWidget()
Create a popup.

Method Index

 o fit()
Fit the menu in the visible area of the parent window.
 o getPlayerPanel()
Get the player.
 o isShowing()
True if the player is set.
 o paramString(StringBuffer)
For debugging only.
 o popdown()
Hide the PopupWidget.
 o popup(Widget, int, int)
Show the Popup Widget.
 o popup(Widget, int, int, int, int)
Show the Popup Widget.
 o postEvent(Event)
Post an event to this widget.
 o repaint(long, int, int, int, int)
This will repaint part of the screen.
 o repaintParent(long, int, int, int, int)
This will repaint part of the screen.
 o replace(Widget)
Replace the widget with a newer version.

Constructors

 o PopupWidget
  public PopupWidget()
Create a popup.

Methods

 o isShowing
  public boolean isShowing()
True if the player is set.
Overrides:
isShowing in class Widget
 o getPlayerPanel
  public PlayerPanel getPlayerPanel()
Get the player.
Overrides:
getPlayerPanel in class Widget
 o repaintParent
  public void repaintParent(long tm,
                            int x,
                            int y,
                            int width,
                            int height)
This will repaint part of the screen.
Overrides:
repaintParent in class Widget
 o repaint
  public void repaint(long tm,
                      int x,
                      int y,
                      int width,
                      int height)
This will repaint part of the screen.
Overrides:
repaint in class Widget
 o replace
  public void replace(Widget newWidget)
Replace the widget with a newer version. This means installing a new version in the player when appropriate.
Overrides:
replace in class Widget
 o popup
  public void popup(Widget parent,
                    int x,
                    int y)
Show the Popup Widget.
 o popup
  public void popup(Widget parent,
                    int x,
                    int y,
                    int width,
                    int height)
Show the Popup Widget.
 o fit
  public void fit()
Fit the menu in the visible area of the parent window.
 o popdown
  public void popdown()
Hide the PopupWidget.
 o postEvent
  public boolean postEvent(Event evt)
Post an event to this widget. If the widget does not handle the event, it is passed to the parent.
Overrides:
postEvent in class Widget
 o paramString
  public void paramString(StringBuffer buf)
For debugging only.
Overrides:
paramString in class GroupWidget

All Packages  Class Hierarchy  This Package  Previous  Next  Index