Package de.swa.fuh.explanation
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 informationvoid
explain(GraphCode gcQuery, GraphCode result, boolean isComparison)
Displaying ranking information of result assets compared to queryjavax.swing.JButton
getCloseButton()
Properties of close button and actionListenerjavax.swing.JScrollPane
getScrollPane(javax.swing.JTextPane textPane)
Properties of scroll panejavax.swing.JFrame
getWindowFrame()
Properties of display windowjavax.swing.JFrame
showMessage(java.lang.String m)
Properties of message window
-
Constructor Details
-
MainExplanation
public MainExplanation()
-
-
Method Details
-
explain
Displaying query information- Overrides:
explain
in classDefaultQueryExplainer
- Parameters:
gcQuery
- (query Graph Code)
-
explain
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
-