|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--marimba.gui.Widget
|
+--marimba.gui.ContainerWidget
|
+--marimba.gui.GroupWidget
|
+--marimba.gui.PopupWidget
This class represents a widget that can be temporarily shown on top of everything else.
| Field Summary | |
protected PlayerPanel |
player
The PlayerPanel in which this widget is embedded. |
| Fields inherited from class marimba.gui.GroupWidget |
editing, fillMode, fillOptions, lineMode, lineOptions, patsrc, pattern, prevtx, prevty |
| Fields inherited from class marimba.gui.ContainerWidget |
content |
| Fields inherited from class marimba.gui.Widget |
adapter, background, clazz, defaultBackground, defaultFont, defaultForeground, defaultHilite, directGraphics, disabled, east, editor, focus, font, foreground, height, hilite, layoutMgr, name, north, nwidgets, parent, script, south, tip, transparent, tx, ty, valid, visible, wBackground, west, wFont, wForeground, wHilite, widgets, width, wScript, wTip, x, y |
| Fields inherited from interface marimba.gui.WidgetConstants |
ALWAYS, ANYWHERE, APPLET, ASCENDING, BLINK, BLUE, BONGO_EVENT, BOTH, BOTTOM, BOXED, BUTTON, CENTER, CHAR, CHECK, COLLAPSE_EVENT, CONTENT, DESCENDING, DETACHED, DIAGONAL, DOWN, DRAG, EXCLUSIVE, EXPAND_EVENT, FILL, FILLED, GREEN, HORIZONTAL, INSIDE, INVISIBLE, JAVA_VERSION, JAVAOS, JDK10, JDK11, LAYERS, LEFT, LOWERED, MAC, MULTIPLE, NETCASTER, NETSCAPE, NEVER, NONE, NT, OPTIONAL, OS_ARCH, OS_NAME, OS_VERSION, OUTLINE, PAGE_DOWN, PAGE_EVENT, PAGE_UP, PATTERN, PC, PICTURE, PLAIN, PROPORTIONAL, RADIO, RAISED, RED, REST_EVENT, RIGHT, ROUNDED, SCALE, SCROLLBAR, SCROLLING, SOLID, SQUARE, TEXT_CHANGED_EVENT, TOP, TOPLEFT, TRUNCATE, UNDERLINE, UNIX, UP, VERTICAL, WAKE_EVENT, WIN95, WINDOWS, WORD |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
PopupWidget()
Create a popup. |
|
| Method Summary | |
void |
fit()
Fit the menu in the visible area of the parent window. |
PlayerPanel |
getPlayerPanel()
Get the player. |
boolean |
isShowing()
True if the player is set. |
void |
paramString(java.lang.StringBuffer buf)
For debugging only. |
void |
popdown()
Hide the PopupWidget. |
void |
popup(Widget parent,
int x,
int y)
Show the Popup Widget. |
void |
popup(Widget parent,
int x,
int y,
int width,
int height)
Show the Popup Widget. |
boolean |
postEvent(java.awt.Event evt)
Post an event to this widget. |
void |
repaint(long tm,
int x,
int y,
int width,
int height)
This will repaint part of the screen. |
protected void |
repaint(long tm,
Widget w,
Widget c,
int x,
int y,
int width,
int height)
Repaint a specific widget. |
void |
repaintParent(long tm,
int x,
int y,
int width,
int height)
This will repaint part of the screen. |
void |
replace(Widget newWidget)
Replace the widget with a newer version. |
| Methods inherited from class marimba.gui.GroupWidget |
getEditing, getEditor, getFillMode, getFillOptions, getLineMode, getLineOptions, getPattern, getPatternSource, getProperties, init, paint, setEditing, setFillMode, setLineMode, setPattern, setProperties, update, updateArea, waitForPattern |
| Methods inherited from class marimba.gui.ContainerWidget |
findInFocus, findWidget, firstInFocus, getChildProperties, getContent, getPreferredSize, layout, newContent, nextInFocus, previousInFocus |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected PlayerPanel player
| Constructor Detail |
public PopupWidget()
| Method Detail |
public boolean isShowing()
isShowing in class Widgetmarimba.gui.WidgetWidget.setVisible(boolean)public PlayerPanel getPlayerPanel()
getPlayerPanel in class Widgetmarimba.gui.Widget#getFrame ,
Widget.getPresentation()
public void repaintParent(long tm,
int x,
int y,
int width,
int height)
repaintParent in class Widget
public void repaint(long tm,
int x,
int y,
int width,
int height)
repaint in class Widget
protected void repaint(long tm,
Widget w,
Widget c,
int x,
int y,
int width,
int height)
public void replace(Widget newWidget)
replace in class Widgetmarimba.gui.WidgetnewWidget - the widget that will replace this widget in the parent
public void popup(Widget parent,
int x,
int y)
public void popup(Widget parent,
int x,
int y,
int width,
int height)
public void fit()
public void popdown()
public boolean postEvent(java.awt.Event evt)
postEvent in class Widgetmarimba.gui.Widgetevt - the event that needs to be posted to this widgetWidget.handleEvent(java.awt.Event)public void paramString(java.lang.StringBuffer buf)
paramString in class GroupWidgetmarimba.gui.WidgetWidget.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||