Class ConfirmDialogFactory
- java.lang.Object
-
- org.apache.lucene.luke.app.desktop.components.dialog.ConfirmDialogFactory
-
- All Implemented Interfaces:
DialogOpener.DialogFactory
public final class ConfirmDialogFactory extends Object implements DialogOpener.DialogFactory
Factory of confirm dialog
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JDialogcreate(Window owner, String title, int width, int height)static ConfirmDialogFactorygetInstance()voidsetCallback(Callable callback)voidsetMessage(String message)
-
-
-
Method Detail
-
getInstance
public static ConfirmDialogFactory getInstance() throws IOException
- Throws:
IOException
-
setMessage
public void setMessage(String message)
-
setCallback
public void setCallback(Callable callback)
-
create
public JDialog create(Window owner, String title, int width, int height)
- Specified by:
createin interfaceDialogOpener.DialogFactory
-
-