Module net.anwiba.commons.swing
Package net.anwiba.commons.swing.dialog
Class DialogConfigurationBuilder
java.lang.Object
net.anwiba.commons.swing.dialog.DialogConfigurationBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setActionButtonTextFactory(IFunction<String, String, RuntimeException> actionButtonTextFactory) setContentPaneFactory(IContentPaneFactory contentPaneFactory) setDataState(DataState dataState) setDialogCloseKeyEvent(int dialogCloseKeyEvent) setDialogIcon(IGuiIcon image) setDialogType(DialogType dialogType) setMessage(IMessage message) setMessagePanelEnabled(boolean isMessagePanelEnabled) setModalExclusionType(Dialog.ModalExclusionType modalExclusionType) setModality(Dialog.ModalityType modality) setPreferdSize(Dimension preferdSize) setPreferences(IPreferences preferences) setResizeable(boolean isResizeable)
-
Constructor Details
-
DialogConfigurationBuilder
public DialogConfigurationBuilder()
-
-
Method Details
-
setMessage
-
setActionButtonTextFactory
public DialogConfigurationBuilder setActionButtonTextFactory(IFunction<String, String, RuntimeException> actionButtonTextFactory) -
setContentPaneFactory
-
setResizeable
-
setIcon
-
setDialogIcon
-
setMessagePanelEnabled
-
setModality
-
setTitle
-
setDialogType
-
setPreferences
-
build
-
setDialogCloseKeyEvent
-
addAdditionalAction
-
setPreferdSize
-
setModalExclusionType
public DialogConfigurationBuilder setModalExclusionType(Dialog.ModalExclusionType modalExclusionType) -
setCloseButtonDialog
-
setCancleOkButtonDialog
-
setCancleApplyOkButtonDialog
-
enableCloseOnEscape
-
setDataState
-