Class MainExplanation

java.lang.Object
de.swa.ui.query.DefaultQueryExplainer
de.swa.fuh.explanation.MainExplanation

public class MainExplanation
extends DefaultQueryExplainer
Author:
Annelie Lausch 6953476 RefinementController class for explainability of information retrieval implemented in the GMAF within the scope of master thesis Displays information on the query representation (query Graph Code) and ranking information of one or two result assets compared to the query based on the Graph Codes
  • Constructor Summary

    Constructors 
    Constructor Description
    MainExplanation()  
  • Method Summary

    Modifier and Type Method Description
    void explain​(GraphCode gcQuery)
    Displaying query information
    void explain​(GraphCode gcQuery, GraphCode result, boolean isComparison)
    Displaying ranking information of result assets compared to query
    javax.swing.JButton getCloseButton()
    Properties of close button and actionListener
    javax.swing.JScrollPane getScrollPane​(javax.swing.JTextPane textPane)
    Properties of scroll pane
    javax.swing.JFrame getWindowFrame()
    Properties of display window
    javax.swing.JFrame showMessage​(java.lang.String m)
    Properties of message window

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • explain

      public void explain​(GraphCode gcQuery)
      Displaying query information
      Overrides:
      explain in class DefaultQueryExplainer
      Parameters:
      gcQuery - (query Graph Code)
    • explain

      public void explain​(GraphCode gcQuery, GraphCode result, boolean isComparison)
      Displaying ranking information of result assets compared to query
      Parameters:
      gcQuery - (query Graph Code)
      result - (result Graph Code)
      isComparison - (false for one result asset, true for comparison of two result assets)
    • getCloseButton

      public javax.swing.JButton getCloseButton()
      Properties of close button and actionListener
      Returns:
      close button
    • getScrollPane

      public javax.swing.JScrollPane getScrollPane​(javax.swing.JTextPane textPane)
      Properties of scroll pane
      Parameters:
      textPane - (which is added to scrollPane)
      Returns:
      scroll pane
    • showMessage

      public javax.swing.JFrame showMessage​(java.lang.String m)
      Properties of message window
      Parameters:
      m - (message to show)
      Returns:
      window with message
    • getWindowFrame

      public javax.swing.JFrame getWindowFrame()
      Properties of display window
      Returns:
      window