org.apache.lucene.luke.app.desktop.components.dialog.search

## Class ExplainDialogFactory

- java.lang.Object
- - org.apache.lucene.luke.app.desktop.components.dialog.search.ExplainDialogFactory

- All Implemented Interfaces:
    DialogOpener.DialogFactory

      public final class ExplainDialogFactory
      extends Object
      implements DialogOpener.DialogFactory

  Factory of explain dialog

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `JDialog` | `create(Window owner, String title, int width, int height)`
    `static ExplainDialogFactory` | `getInstance()`
    `void` | `setDocid(int docid)`
    `void` | `setExplanation(Explanation explanation)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getInstance

          public static ExplainDialogFactory getInstance()
                                                  throws IOException

      Throws:
        `IOException`

    - #### setDocid

          public void setDocid(int docid)

    - #### setExplanation

          public void setExplanation(Explanation explanation)

    - #### create

          public JDialog create(Window owner,
                                String title,
                                int width,
                                int height)

      Specified by:
        `create` in interface `DialogOpener.DialogFactory`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.