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 JDialog
create(Window owner, String title, int width, int height)
static ConfirmDialogFactory
getInstance()
void
setCallback(Callable callback)
void
setMessage(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:
create
in interfaceDialogOpener.DialogFactory
-
-