Package net.simplace.ui.usermessage
Klasse FWMessageDialog
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
net.simplace.ui.usermessage.FWMessageDialog
- Alle implementierten Schnittstellen:
ActionListener,ImageObserver,MenuContainer,Serializable,Runnable,EventListener,Accessible,RootPaneContainer,WindowConstants
This class serves as replacement for the JOptionpane.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen javax.swing.JDialog
JDialog.AccessibleJDialogVon Klasse geerbte verschachtelte Klassen/Schnittstellen java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityTypeVon Klasse geerbte verschachtelte Klassen/Schnittstellen java.awt.Window
Window.AccessibleAWTWindow, Window.TypeVon Klasse geerbte verschachtelte Klassen/Schnittstellen java.awt.Container
Container.AccessibleAWTContainerVon Klasse geerbte verschachtelte Klassen/Schnittstellen java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intInfinite waiting time for the autodispose-messagepane.static final intRepresents a negative confirm.static final IconIcon for ConfirmDialogs.static final intRepresents a possitive confirm.static final intRepresents a negative answer to a question.static final IconIcon for InfoDialogs.static final StringTitle for warnings.static final IconIcon for ThrowableDialogs.static final intRepresents File chooser to select existing directory option.static final intRepresents File chooser to select existing file option.static final intRepresents File Chooser with selection option.static final intRepresents File Chooser to select or give File Name option.static final IconIcon for InfoDialogs.static final intRepresents a negative answer to a question.static final IconIcon for InfoDialogs.static final StringTitle for warnings.static final intRepresents a break to a question.static final IconIcon for QuestionDialogs.static final intRepresents a possitive answer to a question.static final intRepresents a negative answer to a question.static final StringTitle for questions.static final intRepresents a possitive answer to a question.static final intRepresents a email send option.static final IconIcon for WarningDialogs.static final StringTitle for warnings.Von Klasse geerbte Felder javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabledVon Klasse geerbte Felder java.awt.Dialog
DEFAULT_MODALITY_TYPEVon Klasse geerbte Felder java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTVon Schnittstelle geerbte Felder java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHVon Schnittstelle geerbte Felder javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidactionPerformed(ActionEvent aActionEvent) Is called after one of the button is pressed.voidpack()Overrides java.awt.Window to recognize minimum-size.voidrun()Waits the autodispose time and closes the dialog, if it isn`t closed manually in the given time.static voidshowAutodisposeInfoDialog(Window aParent, String aInfo, int aAutodisposeWaitingTime) Shows a simple infopanel.static ObjectshowChooserDialog(Window aParent, String aTitle, String aInfo, Collection<Object> aValueCollection) Shows a simple input panel.static ObjectshowChooserDialog(Window aParent, String aTitle, String aInfo, Collection<Object> aValueCollection, Object aDefaultValue) Shows a simple input panel.static intshowConfirmDialog(Window aParent, String aMessage) Shows a dialog which asks the user to either confirm or break a process;static intshowConfirmDialog(Window aParent, String aMessage, String aMessageID) Shows a dialog which asks the user to either confirm or break a process;static voidshowConsoleDialog(Window aParent, File aConsoleFile, int aAutodisposeWaitingTime, String aMessageID) Shows a simple infopanel.static voidshowConsoleDialog(Window aParent, File aConsoleFile, String aMessageID) Shows a simple infopanel.static intshowCustomDialog(Window aParent, String aTitle, Icon aIcon, String aMessage, int aDefaultButtonIndex) Shows a dialog with the custom settings.static intshowCustomDialog(Window aParent, String aTitle, Icon aIcon, String aMessage, String[] aButtonCaptions) Shows a dialog with the custom settings.static Object[]showDoubleChooserDialog(Window aParent, String aTitle, String aInfo, Collection aSourceValueCollection, Collection aTargetValueCollection) static intshowEmailExceptionDialog(Window aParent, String aMessage, Throwable aThrowable) Shows a dialog, which warns the user, that a Throwable has happened and also the Email functionality button.static voidshowExceptionDialog(Window aParent, String aLocaleBundle, String aLocaleKey, Throwable aThrowable) Shows a dialog, which warns the user, that a Throwable has happened.static voidshowExceptionDialog(Window aParent, String aMessage, Throwable aThrowable) Shows a dialog, which warns the user, that a Throwable has happened.static StringshowFileChooserDialog(Window aParent, String aTitle, String aInfo, String aDefaultValue, Integer aFileChooserOption) Shows a simple input panel.static FWObservableshowFormDialog(Window aParent, String aTitle, String aInfo, org.jdom2.Element aFormElement, FWObservable aObservable, boolean aShowCancelButton) static voidshowInfoDialog(Window aParent, String aInfo) Shows a simple infopanel.static voidshowInfoDialog(Window aParent, String aInfo, int aAutodisposeWaitingTime, String aMessageID) Shows a simple infopanel.static voidshowInfoDialog(Window aParent, String aInfo, String aMessageID) Shows a simple infopanel.static StringshowInputDialog(Window aParent, String aTitle, String aInfo) Shows a simple input panel.static StringshowInputDialog(Window aParent, String aTitle, String aInfo, boolean aPasswordField) Shows a simple input panel.static StringshowInputDialog(Window aParent, String aTitle, String aInfo, String aDefaultValue) Shows a simple input panel.static StringshowInputDialog(Window aParent, String aTitle, String aInfo, String aDefaultValue, boolean aPasswordField) Shows a simple input panel.static StringshowInputDialog(Window aParent, String aTitle, String aInfo, String aDefaultValue, boolean aPasswordField, boolean aShowCancelButton) Shows a simple input panel.static StringshowInputDialog(Window aParent, String aTitle, String aInfo, String aDefaultValue, boolean aPasswordField, boolean aShowCancelButton, Icon aIcon) Shows a simple input panel.static StringshowInputDialog(Window aParent, String aTitle, String aInfo, Icon aIcon) Shows a simple input panel.static StringshowInputDialogWithoutCancelButton(Window aParent, String aTitle, String aInfo) Shows a simple input panel.static voidshowMessage(Window aWindow, FWMessage aMessage) Displays the givenMessageobject.static intshowOptionDialog(Window aParent, String aMessage, String[] aOptions, int aMessageType) Shows a dialog, which asks the user to press either yes, no and perhaps cancel.static intshowOptionPaneDialog(Window aParent, String aMessage, String aTitle, int aIconType, int aButtonType) static intshowQuestionDialog(Window aParent, String aMessage) Shows a dialog, whichs ask the user to press either yes, no.static intshowQuestionDialog(Window aParent, String aQuestion, boolean aShowCancel) Shows a dialog, which asks the user to press either yes, no and perhaps cancel.static intshowQuestionDialog(Window aParent, String aQuestion, boolean aShowCancel, int aDefaultButtonIndex) Shows a dialog, whichs ask the user to press either yes, no and perhaps cancel.static intshowQuestionDialog(Window aParent, String aLocaleBundle, String aLocaleKey) Shows a dialog, whichs ask the user to press either yes, no.static intshowQuestionDialog(Window aParent, String aLocaleBundle, String aLocaleKey, boolean aShowCancel) Shows a dialog, which asks the user to press either yes, no and perhaps cancel.static voidshowWarningDialog(Window aParent, String aWarning) Shows a dialog which warns user of something.static voidshowWarningDialog(Window aParent, String aLocaleBundle, String aLocaleKey) Shows a dialog which warns user of something.static voidshowWarningDialog(Window aParent, String aWarning, String aMessageID, Throwable aThrowable) Shows a dialog which warns user of a minor Throwable.static voidshowWarningDialog(Window aParent, String aWarning, Throwable aThrowable) Shows a dialog which warns user of a minor Throwable.static intshowWarningQuestion(Window aParent, String aQuestion) Shows a dialog which asks the user with warning him/her of the importance.static intshowWarningQuestion(Window aParent, String aQuestion, int aDefaultButtonIndex) Shows a dialog which asks the user with warning him/her of the importance.static StringupdateConsole(File aConsoleFile) Sets the text.Von Klasse geerbte Methoden javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateVon Klasse geerbte Methoden java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBackVon Klasse geerbte Methoden java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontVon Klasse geerbte Methoden java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeVon Klasse geerbte Methoden java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Felddetails
-
INFO_ICON
Icon for InfoDialogs. -
CONSOLE_ICON
Icon for InfoDialogs. -
QUESTION_ICON
Icon for QuestionDialogs. -
CONFIRM_ICON
Icon for ConfirmDialogs. -
WARNING_ICON
Icon for WarningDialogs. -
EXCEPTION_ICON
Icon for ThrowableDialogs. -
PROGRESS_ICON
Icon for InfoDialogs. -
QUESTION_TITLE
Title for questions. -
WARNING_TITLE
Title for warnings. -
PROGRESS_TITLE
Title for warnings. -
CONSOLE_TITLE
Title for warnings. -
AUTODISPOSE_INFINITE_WAITING_TIME
public static final int AUTODISPOSE_INFINITE_WAITING_TIMEInfinite waiting time for the autodispose-messagepane.- Siehe auch:
-
QUESTION_YES
public static final int QUESTION_YESRepresents a possitive answer to a question.- Siehe auch:
-
QUESTION_NO
public static final int QUESTION_NORepresents a negative answer to a question.- Siehe auch:
-
QUESTION_CANCEL
public static final int QUESTION_CANCELRepresents a break to a question.- Siehe auch:
-
CONFIRM_OK
public static final int CONFIRM_OKRepresents a possitive confirm.- Siehe auch:
-
CONFIRM_CANCEL
public static final int CONFIRM_CANCELRepresents a negative confirm.- Siehe auch:
-
QUESTION_MESSAGE
public static final int QUESTION_MESSAGERepresents a possitive answer to a question.- Siehe auch:
-
INFO_MESSAGE
public static final int INFO_MESSAGERepresents a negative answer to a question.- Siehe auch:
-
SEND_EMAIL
public static final int SEND_EMAILRepresents a email send option.- Siehe auch:
-
CONSOLE
public static final int CONSOLERepresents a negative answer to a question.- Siehe auch:
-
FILE_CHOOSER_MULTISELECT
public static final int FILE_CHOOSER_MULTISELECTRepresents File Chooser with selection option.- Siehe auch:
-
FILE_CHOOSER_SELECT
public static final int FILE_CHOOSER_SELECTRepresents File Chooser to select or give File Name option.- Siehe auch:
-
FILE_CHOOSER_DIR
public static final int FILE_CHOOSER_DIRRepresents File chooser to select existing directory option.- Siehe auch:
-
FILE_CHOOSER_EXISTING
public static final int FILE_CHOOSER_EXISTINGRepresents File chooser to select existing file option.- Siehe auch:
-
-
Methodendetails
-
pack
public void pack()Overrides java.awt.Window to recognize minimum-size. -
actionPerformed
Is called after one of the button is pressed.- Angegeben von:
actionPerformedin SchnittstelleActionListener
-
showOptionPaneDialog
public static int showOptionPaneDialog(Window aParent, String aMessage, String aTitle, int aIconType, int aButtonType) - Parameter:
aParent-aMessage-aTitle-aIconType-aButtonType-- Gibt zurück:
- int representing the choice user has done.
-
showCustomDialog
public static int showCustomDialog(Window aParent, String aTitle, Icon aIcon, String aMessage, String[] aButtonCaptions) Shows a dialog with the custom settings.- Parameter:
aParent-aTitle-aIcon-aMessage-aButtonCaptions-- Gibt zurück:
- index of the clicked Button
-
showCustomDialog
public static int showCustomDialog(Window aParent, String aTitle, Icon aIcon, String aMessage, int aDefaultButtonIndex) Shows a dialog with the custom settings.- Parameter:
aParent-aTitle-aIcon-aMessage-aDefaultButtonIndex-- Gibt zurück:
- index of the clicked Button
-
showInfoDialog
Shows a simple infopanel.- Parameter:
aParent-aInfo-
-
showInfoDialog
Shows a simple infopanel.- Parameter:
aParent-aInfo-aMessageID-
-
showConsoleDialog
Shows a simple infopanel.- Parameter:
aParent-aMessageID-aInfo-
-
showAutodisposeInfoDialog
public static void showAutodisposeInfoDialog(Window aParent, String aInfo, int aAutodisposeWaitingTime) Shows a simple infopanel.- Parameter:
aParent-aInfo-aAutodisposeWaitingTime-
-
showInfoDialog
public static void showInfoDialog(Window aParent, String aInfo, int aAutodisposeWaitingTime, String aMessageID) Shows a simple infopanel.- Parameter:
aParent-aInfo-aAutodisposeWaitingTime-aMessageID-
-
showConsoleDialog
public static void showConsoleDialog(Window aParent, File aConsoleFile, int aAutodisposeWaitingTime, String aMessageID) Shows a simple infopanel.- Parameter:
aParent-aAutodisposeWaitingTime-aMessageID-aInfo-
-
showInputDialogWithoutCancelButton
public static String showInputDialogWithoutCancelButton(Window aParent, String aTitle, String aInfo) Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-- Gibt zurück:
- the input dialog result
-
showInputDialog
Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-- Gibt zurück:
- the input dialog result
-
showInputDialog
Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-aIcon-- Gibt zurück:
- the input dialog result
-
showInputDialog
public static String showInputDialog(Window aParent, String aTitle, String aInfo, boolean aPasswordField) Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-aPasswordField-- Gibt zurück:
- the input dialog result
-
showInputDialog
public static String showInputDialog(Window aParent, String aTitle, String aInfo, String aDefaultValue) Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-aDefaultValue-- Gibt zurück:
- the input dialog result
-
showInputDialog
public static String showInputDialog(Window aParent, String aTitle, String aInfo, String aDefaultValue, boolean aPasswordField) Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-aDefaultValue-aPasswordField-- Gibt zurück:
- the input dialog result
-
showInputDialog
public static String showInputDialog(Window aParent, String aTitle, String aInfo, String aDefaultValue, boolean aPasswordField, boolean aShowCancelButton) Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-aDefaultValue-aPasswordField-aShowCancelButton-- Gibt zurück:
- the input dialog result
-
showInputDialog
public static String showInputDialog(Window aParent, String aTitle, String aInfo, String aDefaultValue, boolean aPasswordField, boolean aShowCancelButton, Icon aIcon) Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-aDefaultValue-aPasswordField-aShowCancelButton-aIcon-- Gibt zurück:
- the input dialog result
-
showFileChooserDialog
public static String showFileChooserDialog(Window aParent, String aTitle, String aInfo, String aDefaultValue, Integer aFileChooserOption) Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-aDefaultValue-aFileChooserOption-- Gibt zurück:
- the input dialog result
-
showChooserDialog
public static Object showChooserDialog(Window aParent, String aTitle, String aInfo, Collection<Object> aValueCollection) Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-aValueCollection-- Gibt zurück:
- the input dialog result
-
showChooserDialog
public static Object showChooserDialog(Window aParent, String aTitle, String aInfo, Collection<Object> aValueCollection, Object aDefaultValue) Shows a simple input panel.- Parameter:
aParent-aTitle-aInfo-aValueCollection-aDefaultValue-- Gibt zurück:
- the input dialog result
-
showDoubleChooserDialog
public static Object[] showDoubleChooserDialog(Window aParent, String aTitle, String aInfo, Collection aSourceValueCollection, Collection aTargetValueCollection) - Parameter:
aParent-aTitle-aInfo-aSourceValueCollection-aTargetValueCollection-- Gibt zurück:
- the 2 selected values or null if cancel was pressed
-
showQuestionDialog
Shows a dialog, which asks the user to press either yes, no and perhaps cancel.- Parameter:
aParent-aQuestion-aShowCancel-- Gibt zurück:
- int representing the choice user has done.
-
showQuestionDialog
public static int showQuestionDialog(Window aParent, String aQuestion, boolean aShowCancel, int aDefaultButtonIndex) Shows a dialog, whichs ask the user to press either yes, no and perhaps cancel.- Parameter:
aParent-aQuestion-aShowCancel-aDefaultButtonIndex-- Gibt zurück:
- int representing the choice user has done.
-
showOptionDialog
public static int showOptionDialog(Window aParent, String aMessage, String[] aOptions, int aMessageType) Shows a dialog, which asks the user to press either yes, no and perhaps cancel.- Parameter:
aParent-aMessage-aOptions-aMessageType-- Gibt zurück:
- int representing the choice user has done.
-
showFormDialog
public static FWObservable showFormDialog(Window aParent, String aTitle, String aInfo, org.jdom2.Element aFormElement, FWObservable aObservable, boolean aShowCancelButton) - Parameter:
aParent-aTitle-aInfo-aFormElement-aObservable-aShowCancelButton-- Gibt zurück:
- the given Observable
-
showQuestionDialog
public static int showQuestionDialog(Window aParent, String aLocaleBundle, String aLocaleKey, boolean aShowCancel) Shows a dialog, which asks the user to press either yes, no and perhaps cancel.- Parameter:
aParent-aLocaleBundle-aLocaleKey-aShowCancel-- Gibt zurück:
- int representing the choice user has done.
-
showQuestionDialog
Shows a dialog, whichs ask the user to press either yes, no.- Parameter:
aParent-aMessage-- Gibt zurück:
- int representing the choice user has done.
-
showQuestionDialog
Shows a dialog, whichs ask the user to press either yes, no.- Parameter:
aParent-aLocaleBundle-aLocaleKey-- Gibt zurück:
- int representing the choice user has done.
-
showConfirmDialog
Shows a dialog which asks the user to either confirm or break a process;- Parameter:
aParent-aMessage-- Gibt zurück:
- int representing the choice user has done.
-
showConfirmDialog
Shows a dialog which asks the user to either confirm or break a process;- Parameter:
aParent-aMessage-aMessageID-- Gibt zurück:
- int representing the choice user has done.
-
showWarningQuestion
Shows a dialog which asks the user with warning him/her of the importance.- Parameter:
aParent-aQuestion-- Gibt zurück:
- int representing the choice user has done.
-
showWarningQuestion
Shows a dialog which asks the user with warning him/her of the importance.- Parameter:
aParent- The parent windowaQuestion- Question to poseaDefaultButtonIndex- 1=NO , 0=YES, -1=DefaultSettings- Gibt zurück:
- int representing the choice user has done.
-
showWarningDialog
Shows a dialog which warns user of a minor Throwable.- Parameter:
aParent-aWarning-aThrowable-
-
showWarningDialog
public static void showWarningDialog(Window aParent, String aWarning, String aMessageID, Throwable aThrowable) Shows a dialog which warns user of a minor Throwable.- Parameter:
aParent-aWarning-aMessageID-aThrowable-
-
showWarningDialog
Shows a dialog which warns user of something.- Parameter:
aParent-aWarning-
-
showWarningDialog
Shows a dialog which warns user of something.- Parameter:
aParent-aLocaleBundle-aLocaleKey-
-
showExceptionDialog
Shows a dialog, which warns the user, that a Throwable has happened.- Parameter:
aParent-aMessage-aThrowable-
-
showEmailExceptionDialog
Shows a dialog, which warns the user, that a Throwable has happened and also the Email functionality button. This should be used if a functionality is implemented for email sending.- Parameter:
aParent-aMessage-aThrowable-- Gibt zurück:
- int representing the choice user has done.
-
showExceptionDialog
public static void showExceptionDialog(Window aParent, String aLocaleBundle, String aLocaleKey, Throwable aThrowable) Shows a dialog, which warns the user, that a Throwable has happened.- Parameter:
aParent-aLocaleBundle-aLocaleKey-aThrowable-
-
run
public void run()Waits the autodispose time and closes the dialog, if it isn`t closed manually in the given time. -
showMessage
Displays the givenMessageobject.- Parameter:
aWindow-aMessage-
-
updateConsole
Sets the text.
-