Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemurproject::lemur::ui::LemurRet Class Reference

List of all members.

Public Member Functions

 LemurRet (JFrame f)
void linkClickAction (String href)

Static Public Member Functions

void main (String[] args)

Static Protected Member Functions

ImageIcon createImageIcon (String path)

Package Attributes

JFrame parent
JDialog setDialog
JComboBox indexBox
JTextField queryField
JCheckBox chkUseEvalPanel
String workingDir
Color relColor
Color novelColor
JPanel resultsPane
JPanel pnlResults
JEditorPane resultsDisplay
JTable tblEvalResults
JButton btnSaveEvalResults
JButton btnLoadEvalScores
JButton btnAddNewQueryID
JComboBox cboCurrentlyLoadedQueries
JPanel pnlSaveAndLoadScores
boolean qrelsChangedGlobally = false
boolean qrelsChangedCurrentID = false
java.util.HashMap loadedQrels = null
JLabel status
IndexedReal[] queryResults = new IndexedReal[0]
Double[] evalScores = new Double[0]
String searchIndex
String searchQuery
int firstshown = 1
int lastshown
int maxresults = -1
JDialog settingsDialog
JCheckBox loadCheck
JCheckBox openCheck
JCheckBox hlCheck
JCheckBox markupCheck
JCheckBox appendCheck
JComboBox retriBox
JPanel paramsPane
JTextField numresultsF
JTextField beliefF
JTextField fbtermsF
JTextField fbcoefF
JTextField bm25k1F
JTextField bm25bF
JTextField bm25k3F
JTextField bm25qtfF
JTextField feedbackF
GuiSettings guiSettings = new GuiSettings()
JDialog resdocDialog
JTextPane resdocTPane
JButton prevBtn
JButton nextBtn
Index index
ArrayAccumulator accum = null
RetrievalMethod model = null

Private Member Functions

JMenuBar createMenu ()
JDialog createSettingsDialog ()
JPanel createInqPanel ()
JPanel createKLPanel ()
JPanel createIndriPanel ()
JPanel createOkapiPanel ()
JDialog createAboutDialog ()
JPanel createQueryPanel ()
JPanel makeResultsPanel ()
JDialog createDocDisplay (JTextPane tp)
void exportResultsAction ()
boolean addIndexAction ()
void searchAction ()
void setEvalTableColumnSizes ()
void chkUseEvalPanel_OnChange ()
void nextPageAction ()
void prevPageAction ()
void pageAction ()
boolean shouldWeUpdateScores (int oldIdIndex, boolean showPrompt)
void setScoresForQuery ()
void loadInNewScores (int newIdIndex)
void doAddNewQueryID ()
void clearEvalResults ()
void doLoadEvalScores ()
void setParamValues ()
void resetParamValues ()
void errorMsg (Component par, String mesg)
void initIndexTable ()
void saveIndexTable ()
void highlightText (JTextPane docDisplay, TMatch[] matches)
void highlightText (JTextPane docDisplay, String searchQuery)
String stripOpQuery (String opquery)
int indexOfWord (String text, String word, int start)
void writeResults (File output)
void showResults (String res)
String formatResults (IndexedReal[] results)
String getTitle (IndexedReal result)
String getSnippet (IndexedReal result)
IndexedReal[] sendQuery (String query)
boolean checkSaveEvalResults (boolean showPrompt)
boolean hasEvalResults ()
String[] pullResultIDs ()
void showHelpScreen ()

Static Private Member Functions

void createAndShowGUI ()

Static Private Attributes

final String SLASH = System.getProperty("file.separator")
final String optsFile = "LemurGUI.opts"
final String INQUERY = "InQuery (structured queries)"
final String OKAPI = "Okapi"
final String KLDIV = "KL-divergence (LM)"
final String INDRI = "Indri Query Language"
final String NODOCUMENTS = "<html>No documents found.</html>"
final String ICONSTRING = "properties/icon.gif"

Constructor & Destructor Documentation

lemurproject::lemur::ui::LemurRet::LemurRet JFrame  f  )  [inline]
 


Member Function Documentation

boolean lemurproject::lemur::ui::LemurRet::addIndexAction  )  [inline, private]
 

boolean lemurproject::lemur::ui::LemurRet::checkSaveEvalResults boolean  showPrompt  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::chkUseEvalPanel_OnChange  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::clearEvalResults  )  [inline, private]
 

JDialog lemurproject::lemur::ui::LemurRet::createAboutDialog  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::createAndShowGUI  )  [inline, static, private]
 

JDialog lemurproject::lemur::ui::LemurRet::createDocDisplay JTextPane  tp  )  [inline, private]
 

ImageIcon lemurproject::lemur::ui::LemurRet::createImageIcon String  path  )  [inline, static, protected]
 

Returns an ImageIcon, or null if the path was invalid.

Parameters:
path the image file to load.
Returns:
an ImageIcon, or null if the path was invalid.

JPanel lemurproject::lemur::ui::LemurRet::createIndriPanel  )  [inline, private]
 

JPanel lemurproject::lemur::ui::LemurRet::createInqPanel  )  [inline, private]
 

JPanel lemurproject::lemur::ui::LemurRet::createKLPanel  )  [inline, private]
 

JMenuBar lemurproject::lemur::ui::LemurRet::createMenu  )  [inline, private]
 

JPanel lemurproject::lemur::ui::LemurRet::createOkapiPanel  )  [inline, private]
 

JPanel lemurproject::lemur::ui::LemurRet::createQueryPanel  )  [inline, private]
 

JDialog lemurproject::lemur::ui::LemurRet::createSettingsDialog  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::doAddNewQueryID  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::doLoadEvalScores  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::errorMsg Component  par,
String  mesg
[inline, private]
 

void lemurproject::lemur::ui::LemurRet::exportResultsAction  )  [inline, private]
 

String lemurproject::lemur::ui::LemurRet::formatResults IndexedReal[]  results  )  [inline, private]
 

first doc

String lemurproject::lemur::ui::LemurRet::getSnippet IndexedReal  result  )  [inline, private]
 

first doc

String lemurproject::lemur::ui::LemurRet::getTitle IndexedReal  result  )  [inline, private]
 

first doc

boolean lemurproject::lemur::ui::LemurRet::hasEvalResults  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::highlightText JTextPane  docDisplay,
String  searchQuery
[inline, private]
 

void lemurproject::lemur::ui::LemurRet::highlightText JTextPane  docDisplay,
TMatch[]  matches
[inline, private]
 

int lemurproject::lemur::ui::LemurRet::indexOfWord String  text,
String  word,
int  start
[inline, private]
 

void lemurproject::lemur::ui::LemurRet::initIndexTable  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::linkClickAction String  href  )  [inline]
 

void lemurproject::lemur::ui::LemurRet::loadInNewScores int  newIdIndex  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::main String[]  args  )  [inline, static]
 

JPanel lemurproject::lemur::ui::LemurRet::makeResultsPanel  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::nextPageAction  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::pageAction  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::prevPageAction  )  [inline, private]
 

String [] lemurproject::lemur::ui::LemurRet::pullResultIDs  )  [inline, private]
 

first doc

void lemurproject::lemur::ui::LemurRet::resetParamValues  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::saveIndexTable  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::searchAction  )  [inline, private]
 

IndexedReal [] lemurproject::lemur::ui::LemurRet::sendQuery String  query  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::setEvalTableColumnSizes  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::setParamValues  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::setScoresForQuery  )  [inline, private]
 

boolean lemurproject::lemur::ui::LemurRet::shouldWeUpdateScores int  oldIdIndex,
boolean  showPrompt
[inline, private]
 

void lemurproject::lemur::ui::LemurRet::showHelpScreen  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::showResults String  res  )  [inline, private]
 

String lemurproject::lemur::ui::LemurRet::stripOpQuery String  opquery  )  [inline, private]
 

void lemurproject::lemur::ui::LemurRet::writeResults File  output  )  [inline, private]
 


Member Data Documentation

ArrayAccumulator lemurproject::lemur::ui::LemurRet::accum = null [package]
 

JCheckBox lemurproject::lemur::ui::LemurRet::appendCheck [package]
 

JTextField lemurproject::lemur::ui::LemurRet::beliefF [package]
 

JTextField lemurproject::lemur::ui::LemurRet::bm25bF [package]
 

JTextField lemurproject::lemur::ui::LemurRet::bm25k1F [package]
 

JTextField lemurproject::lemur::ui::LemurRet::bm25k3F [package]
 

JTextField lemurproject::lemur::ui::LemurRet::bm25qtfF [package]
 

JButton lemurproject::lemur::ui::LemurRet::btnAddNewQueryID [package]
 

JButton lemurproject::lemur::ui::LemurRet::btnLoadEvalScores [package]
 

JButton lemurproject::lemur::ui::LemurRet::btnSaveEvalResults [package]
 

JComboBox lemurproject::lemur::ui::LemurRet::cboCurrentlyLoadedQueries [package]
 

JCheckBox lemurproject::lemur::ui::LemurRet::chkUseEvalPanel [package]
 

Double [] lemurproject::lemur::ui::LemurRet::evalScores = new Double[0] [package]
 

JTextField lemurproject::lemur::ui::LemurRet::fbcoefF [package]
 

JTextField lemurproject::lemur::ui::LemurRet::fbtermsF [package]
 

JTextField lemurproject::lemur::ui::LemurRet::feedbackF [package]
 

int lemurproject::lemur::ui::LemurRet::firstshown = 1 [package]
 

GuiSettings lemurproject::lemur::ui::LemurRet::guiSettings = new GuiSettings() [package]
 

JCheckBox lemurproject::lemur::ui::LemurRet::hlCheck [package]
 

final String lemurproject::lemur::ui::LemurRet::ICONSTRING = "properties/icon.gif" [static, private]
 

Index lemurproject::lemur::ui::LemurRet::index [package]
 

JComboBox lemurproject::lemur::ui::LemurRet::indexBox [package]
 

final String lemurproject::lemur::ui::LemurRet::INDRI = "Indri Query Language" [static, private]
 

final String lemurproject::lemur::ui::LemurRet::INQUERY = "InQuery (structured queries)" [static, private]
 

final String lemurproject::lemur::ui::LemurRet::KLDIV = "KL-divergence (LM)" [static, private]
 

int lemurproject::lemur::ui::LemurRet::lastshown [package]
 

JCheckBox lemurproject::lemur::ui::LemurRet::loadCheck [package]
 

java.util.HashMap lemurproject::lemur::ui::LemurRet::loadedQrels = null [package]
 

JCheckBox lemurproject::lemur::ui::LemurRet::markupCheck [package]
 

int lemurproject::lemur::ui::LemurRet::maxresults = -1 [package]
 

RetrievalMethod lemurproject::lemur::ui::LemurRet::model = null [package]
 

JButton lemurproject::lemur::ui::LemurRet::nextBtn [package]
 

final String lemurproject::lemur::ui::LemurRet::NODOCUMENTS = "<html>No documents found.</html>" [static, private]
 

Color lemurproject::lemur::ui::LemurRet::novelColor [package]
 

JTextField lemurproject::lemur::ui::LemurRet::numresultsF [package]
 

final String lemurproject::lemur::ui::LemurRet::OKAPI = "Okapi" [static, private]
 

JCheckBox lemurproject::lemur::ui::LemurRet::openCheck [package]
 

final String lemurproject::lemur::ui::LemurRet::optsFile = "LemurGUI.opts" [static, private]
 

JPanel lemurproject::lemur::ui::LemurRet::paramsPane [package]
 

JFrame lemurproject::lemur::ui::LemurRet::parent [package]
 

JPanel lemurproject::lemur::ui::LemurRet::pnlResults [package]
 

JPanel lemurproject::lemur::ui::LemurRet::pnlSaveAndLoadScores [package]
 

JButton lemurproject::lemur::ui::LemurRet::prevBtn [package]
 

boolean lemurproject::lemur::ui::LemurRet::qrelsChangedCurrentID = false [package]
 

boolean lemurproject::lemur::ui::LemurRet::qrelsChangedGlobally = false [package]
 

JTextField lemurproject::lemur::ui::LemurRet::queryField [package]
 

IndexedReal [] lemurproject::lemur::ui::LemurRet::queryResults = new IndexedReal[0] [package]
 

Color lemurproject::lemur::ui::LemurRet::relColor [package]
 

JDialog lemurproject::lemur::ui::LemurRet::resdocDialog [package]
 

JTextPane lemurproject::lemur::ui::LemurRet::resdocTPane [package]
 

JEditorPane lemurproject::lemur::ui::LemurRet::resultsDisplay [package]
 

JPanel lemurproject::lemur::ui::LemurRet::resultsPane [package]
 

JComboBox lemurproject::lemur::ui::LemurRet::retriBox [package]
 

String lemurproject::lemur::ui::LemurRet::searchIndex [package]
 

String lemurproject::lemur::ui::LemurRet::searchQuery [package]
 

JDialog lemurproject::lemur::ui::LemurRet::setDialog [package]
 

JDialog lemurproject::lemur::ui::LemurRet::settingsDialog [package]
 

final String lemurproject::lemur::ui::LemurRet::SLASH = System.getProperty("file.separator") [static, private]
 

JLabel lemurproject::lemur::ui::LemurRet::status [package]
 

JTable lemurproject::lemur::ui::LemurRet::tblEvalResults [package]
 

String lemurproject::lemur::ui::LemurRet::workingDir [package]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:08 2010 for Lemur by doxygen 1.3.4