Package org.svetovid.dialogs
Class AutoCloseDialogFactory
java.lang.Object
org.svetovid.dialogs.AbstractDialogFactory
org.svetovid.dialogs.DefaultDialogFactory
org.svetovid.dialogs.AutoCloseDialogFactory
- All Implemented Interfaces:
DialogFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class org.svetovid.dialogs.AbstractDialogFactory
AbstractDialogFactory.CopyAction, AbstractDialogFactory.DialogCloser, AbstractDialogFactory.DialogFocuser
-
Field Summary
Fields inherited from class org.svetovid.dialogs.AbstractDialogFactory
bundle, clipboard, colorIcon, confirmationIcon, dateIcon, defaultAutoCloseTimeout, errorIcon, exceptionIcon, fileIcon, findIcon, folderIcon, fontIcon, informationIcon, locale, loginExitOptions, loginIcon, logoIcon, messageIcon, newStackTraceStyle, okCancelOptions, okOptions, okWithDetailsOptions, passwordIcon, questionIcon, replaceIcon, timeIcon, timeoutIcon, warningIcon, yesNoCancelOptions, yesNoOptions
-
Constructor Summary
ConstructorDescriptionAutoCloseDialogFactory
(Clipboard clipboard) AutoCloseDialogFactory
(Locale locale) AutoCloseDialogFactory
(Locale locale, Clipboard clipboard) -
Method Summary
Modifier and TypeMethodDescriptionboolean
askConfirmation
(Component component, String text, int timeout) askConfirmationWithCancel
(Component component, String text, int timeout) char[]
askPassword
(Component component, String text, int timeout) askQuestion
(Component component, String text, int timeout) askQuestion
(Component component, String text, Object[] options, Object defaultOption, int timeout) askQuestion
(Component component, String text, String answer, int timeout) int
void
setDefaultAutoCloseTimeout
(int defaultAutoCloseTimeout) boolean
showDialog
(Component component, Component content, String title, Icon icon, int timeout) <T> T
showDialog
(Component component, DialogContent<T> content, String title, Icon icon, int timeout) void
void
void
showException
(Component component, Throwable th, int timeout) void
showInformation
(Component component, String text, int timeout) void
showMessage
(Component component, String text, int timeout) void
showWarning
(Component component, String text, int timeout) Methods inherited from class org.svetovid.dialogs.DefaultDialogFactory
getClipboard, getLocale, isNewStackTraceStyle, setClipboard, setLocale, setNewStackTraceStyle
Methods inherited from class org.svetovid.dialogs.AbstractDialogFactory
addAutoCloseSupport, addAutoFocusSupport, addClipboardSupport, appendStackTrace, appendStackTraceAsCause, appendStackTraceElement, appendThrowable, askConfirmation, askConfirmationWithCancel, askLogin, askLogin, askPassword, askQuestion, askQuestion, askQuestion, constructStackTrace, copyStringFromClipboard, copyStringToClipboard, createDialog, createDialog, createDialog, createDialog, destroyDialog, getIcon, showDialog, showDialog, showError, showError, showException, showInformation, showMessage, showWarning
-
Constructor Details
-
AutoCloseDialogFactory
public AutoCloseDialogFactory() -
AutoCloseDialogFactory
-
AutoCloseDialogFactory
-
AutoCloseDialogFactory
-
-
Method Details
-
getDefaultAutoCloseTimeout
public int getDefaultAutoCloseTimeout() -
setDefaultAutoCloseTimeout
public void setDefaultAutoCloseTimeout(int defaultAutoCloseTimeout) -
showMessage
- Overrides:
showMessage
in classAbstractDialogFactory
-
showInformation
- Overrides:
showInformation
in classAbstractDialogFactory
-
showWarning
- Overrides:
showWarning
in classAbstractDialogFactory
-
showError
- Overrides:
showError
in classAbstractDialogFactory
-
showError
- Overrides:
showError
in classAbstractDialogFactory
-
showException
- Overrides:
showException
in classAbstractDialogFactory
-
askConfirmation
- Overrides:
askConfirmation
in classAbstractDialogFactory
-
askConfirmationWithCancel
- Overrides:
askConfirmationWithCancel
in classAbstractDialogFactory
-
askQuestion
- Overrides:
askQuestion
in classAbstractDialogFactory
-
askQuestion
- Overrides:
askQuestion
in classAbstractDialogFactory
-
askQuestion
public Object askQuestion(Component component, String text, Object[] options, Object defaultOption, int timeout) - Overrides:
askQuestion
in classAbstractDialogFactory
-
askPassword
- Overrides:
askPassword
in classAbstractDialogFactory
-
askLogin
- Overrides:
askLogin
in classAbstractDialogFactory
-
askLogin
- Overrides:
askLogin
in classAbstractDialogFactory
-
showDialog
public boolean showDialog(Component component, Component content, String title, Icon icon, int timeout) - Overrides:
showDialog
in classAbstractDialogFactory
-
showDialog
public <T> T showDialog(Component component, DialogContent<T> content, String title, Icon icon, int timeout) - Overrides:
showDialog
in classAbstractDialogFactory
-