public abstract class AbstractModalDialog extends AbstractDialog implements IMessageDialog
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractModalDialog(Window parent,
String title,
boolean isModal,
String helpID) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addComponentToAllwaysEnabledList(JComponent component) |
protected abstract JPanel |
buildButtonsPanel(ActionListener cancelActionListener) |
protected JPanel |
buildButtonsPanel(String finishButtonText,
ActionListener finishActionListener,
String cancelButtonText,
ActionListener cancelActionListener) |
protected abstract JPanel |
buildContentPanel(int gapBetweenColumns,
int gapBetweenRows) |
protected Insets |
buildDefaultListItemMargins() |
protected Insets |
buildDefaultTextFieldMargins() |
protected Border |
buildDialogBorder(int margins) |
protected JButton |
buildDialogButton(String buttonText) |
void |
close()
This method is called, when the user clicks the close button of the dialog's top window bar.
|
protected static void |
computePanelFirstColumn(JPanel contentPanel) |
protected int |
getDefaultContentPanelMargins() |
protected int |
getDefaultGapBetweenColumns() |
protected int |
getDefaultGapBetweenContentAndButtonPanels() |
protected int |
getDefaultGapBetweenRows() |
protected ILoadingIndicator |
getLoadingIndicator() |
protected int |
getNewCurrentThreadId() |
protected void |
onAboutToShow() |
protected void |
registerEscapeKey(ActionListener cancelActionListener) |
protected void |
setEnabledComponentsWhileLoading(boolean enabled) |
int |
show()
Shows the dialog.
|
center, collectButtons, getButton, getButtonID, getButtonMask, getButtonPanel, getContent, getHelpID, getJDialog, getParent, getQualifiedPropertyName, getTitle, hide, onApply, onCancel, onClose, onHelp, onNo, onOK, onOther, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setTitle, showErrorDialog, showErrorDialog, showErrorDialog, showInformationDialog, showInformationDialog, showInformationDialog, showWarningDialog, showWarningDialog, showWarningDialog, verifyUserInputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshowErrorDialog, showErrorDialog, showInformationDialog, showInformationDialogprotected abstract JPanel buildContentPanel(int gapBetweenColumns, int gapBetweenRows)
protected abstract JPanel buildButtonsPanel(ActionListener cancelActionListener)
public void close()
AbstractDialogclose in interface IMessageDialogclose in class AbstractDialogpublic final int show()
AbstractDialogsuper.show() at the end.show in class AbstractDialogprotected int getDefaultGapBetweenContentAndButtonPanels()
protected int getDefaultContentPanelMargins()
protected int getDefaultGapBetweenRows()
protected int getDefaultGapBetweenColumns()
protected final Insets buildDefaultTextFieldMargins()
protected final Insets buildDefaultListItemMargins()
protected final void addComponentToAllwaysEnabledList(JComponent component)
protected final JPanel buildButtonsPanel(String finishButtonText, ActionListener finishActionListener, String cancelButtonText, ActionListener cancelActionListener)
protected void setEnabledComponentsWhileLoading(boolean enabled)
protected final ILoadingIndicator getLoadingIndicator()
protected final int getNewCurrentThreadId()
protected void onAboutToShow()
protected Border buildDialogBorder(int margins)
protected void registerEscapeKey(ActionListener cancelActionListener)
protected static void computePanelFirstColumn(JPanel contentPanel)
Copyright © 2014–2019 European Space Agency (ESA). All rights reserved.