public class Dialog extends Panel
The show methods (Panel.showFullScreen(Desktop)
, Panel.showAdjustingToChild(Desktop)
,
Panel.showUsingBounds(Desktop)
) do not return while the dialog is shown. During this period, all the input events
are sent only to this dialog and its children. Beware that when opening a dialog:
If several dialogs are shown, they are stacked and only the last one is active.
Constructor and Description |
---|
Dialog()
Creates a new dialog.
|
Modifier and Type | Method and Description |
---|---|
protected void |
showInternal(Desktop desktop)
Adds the panel to the desktop and validate it asynchronously.
|
becameActive, becameInactive, contains, getDesktop, getEventHandler, getFocus, getHeight, getPreferredHeight, getPreferredWidth, getWidget, getWidgetAt, getWidth, getX, getY, handleEvent, hide, hideNotify, invalidate, isActive, isAdjustedToChild, isPacked, isShown, isTransparent, isValid, render, repaint, repaint, revalidate, setBounds, setEventHandler, setFocus, setLocation, setPacked, setPreferredSize, setSize, setWidget, show, show, showAdjustingToChild, showFullScreen, showNotify, showUsingBounds, validate, validate
protected void showInternal(@NonNull Desktop desktop)
Panel
showInternal
in class Panel
desktop
- the desktop to show the panel on.