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
-
PopupWidget()
- Create a popup.
-
fit()
- Fit the menu in the visible area of the parent window.
-
getPlayerPanel()
- Get the player.
-
isShowing()
- True if the player is set.
-
paramString(StringBuffer)
- For debugging only.
-
popdown()
- Hide the PopupWidget.
-
popup(Widget, int, int)
- Show the Popup Widget.
-
popup(Widget, int, int, int, int)
- Show the Popup Widget.
-
postEvent(Event)
- Post an event to this widget.
-
repaint(long, int, int, int, int)
- This will repaint part of the screen.
-
repaintParent(long, int, int, int, int)
- This will repaint part of the screen.
-
replace(Widget)
- Replace the widget with a newer version.
PopupWidget
public PopupWidget()
- Create a popup.
isShowing
public boolean isShowing()
- True if the player is set.
- Overrides:
- isShowing in class Widget
getPlayerPanel
public PlayerPanel getPlayerPanel()
- Get the player.
- Overrides:
- getPlayerPanel in class Widget
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
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
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
popup
public void popup(Widget parent,
int x,
int y)
- Show the Popup Widget.
popup
public void popup(Widget parent,
int x,
int y,
int width,
int height)
- Show the Popup Widget.
fit
public void fit()
- Fit the menu in the visible area of the parent window.
popdown
public void popdown()
- Hide the PopupWidget.
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
paramString
public void paramString(StringBuffer buf)
- For debugging only.
- Overrides:
- paramString in class GroupWidget
All Packages Class Hierarchy This Package Previous Next Index