Module net.anwiba.commons.swing
Package net.anwiba.commons.swing.dialog
Class ConfigurableDialogLauncher
java.lang.Object
net.anwiba.commons.swing.dialog.ConfigurableDialogLauncher
- All Implemented Interfaces:
IDialogLauncher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOnCloseExecutable(IBlock<RuntimeException> executable) static ConfigurableDialogLauncherlauncher()setContentPaneFactory(IContentPaneFactory contentPaneFactory) setDialogIcon(GuiIcon icon) setDialogType(DialogType dialogType) setMessage(IMessage message) setOkButtonText(String string) setPreferdSize(int width, int height) setPreferences(IPreferences preferences)
-
Constructor Details
-
ConfigurableDialogLauncher
public ConfigurableDialogLauncher()
-
-
Method Details
-
launcher
-
setDialogIcon
-
setIcon
-
setCloseButtonDialog
-
setCancleOkButtonDialog
-
setCancleApplyOkButtonDialog
-
setDialogType
-
setActionButtonTextFactory
public ConfigurableDialogLauncher setActionButtonTextFactory(IFunction<String, String, RuntimeException> factory) -
setTitle
-
setContentPaneFactory
-
setPreferences
-
enableCloseOnEscape
-
setResizeable
-
setUnresizeable
-
addAdditionalAction
-
setMessage
-
setOkButtonText
-
setPreferdSize
-
launch
- Specified by:
launchin interfaceIDialogLauncher
-
launch
- Specified by:
launchin interfaceIDialogLauncher
-
setApplicationModality
-
setDocumentModality
-
setToolkitModality
-
setModelessModality
-
addOnCloseExecutable
-
addBeforeShowExecutable
public ConfigurableDialogLauncher addBeforeShowExecutable(IProcedure<ConfigurableDialog, RuntimeException> executable) -
setMessagePanelDisabled
-
setProgressDialogEnabled
-
setProgressDialogDisabled
-
setEnableOk
-