| Public Member Functions | |
| IndexUI () | |
| void | actionPerformed (ActionEvent e) | 
| void | tableChanged (TableModelEvent e) | 
| void | itemStateChanged (ItemEvent e) | 
| void | caretUpdate (CaretEvent event) | 
| Static Public Member Functions | |
| void | main (String[] args) | 
| Static Protected Member Functions | |
| ImageIcon | createImageIcon (String path) | 
| Package Attributes | |
| boolean | appendIndex = false | 
| Private Member Functions | |
| void | initGUI () | 
| JMenuBar | makeMenuBar () | 
| JMenuItem | makeMenuItem (String label) | 
| JPanel | makePanel () | 
| void | makeHelp () | 
| String | encodeRegexp (String regexp) | 
| boolean | safeToBuildIndex () | 
| void | deleteDirectory (File dir) | 
| void | ensureMessagesVisible () | 
| void | buildIndex () | 
| String[] | formatDataFiles () | 
| void | formatDataFiles (File file, FileFilter f, Vector accum, String offsetFile) | 
| long | encodeMem () | 
| void | showException (Exception e) | 
| Thread | blinker (final String s1, final String s2) | 
| Static Private Member Functions | |
| void | createAndShowGUI () | 
| Private Attributes | |
| JLabel | status | 
| JTextArea | messages | 
| JTabbedPane | tabbedPane | 
| JCheckBox | doRecurse | 
| JCheckBox | doStem | 
| JComboBox | stemmers | 
| JComboBox | memoryLim | 
| JComboBox | docFormat | 
| JButton | browse | 
| JButton | cfbrowse | 
| JButton | stopBrowse | 
| JButton | cfRemove | 
| JButton | go | 
| JButton | stop | 
| JTextField | iname | 
| JTextField | stopwordlist | 
| JTextField | colFields | 
| JTextField | filterString | 
| JList | collectionFiles | 
| DefaultListModel | cfModel | 
| final JFileChooser | fc | 
| String | stopwords | 
| JMenuBar | menuBar | 
| JMenu | fileMenu | 
| JMenu | helpMenu | 
| JMenuItem | fOpen | 
| JMenuItem | fSave | 
| JMenuItem | fPrefs | 
| JMenuItem | fQuit | 
| JMenuItem | hHelp | 
| JMenuItem | hAbout | 
| ImageIcon | indriIcon | 
| JFrame | helpFrame | 
| JPanel | indexFieldPanel | 
| JTable | fieldTable | 
| FieldTableModel | fieldTableModel | 
| JButton | btnAddField | 
| JButton | btnRemoveField | 
| JTable | offsetAnnotationFileTable | 
| OffsetAnnotationTableModel | offsetAnnotationFilesTableModel | 
| JTextField | txtPathToHarvestLinks | 
| JButton | btnHarvestLinks | 
| Vector | dataFilesOffsetFiles = null | 
| volatile boolean | blinking = false | 
| Static Private Attributes | |
| final String | helpFile = "properties/IndriIndex.html" | 
| final String | iconFile = "properties/lemur_head_32.gif" | 
| final String | logoFile = null | 
| final String[] | formats | 
| final String[] | lims | 
| final String[] | sTypes = {"krovetz", "porter"} | 
| final String | aboutText | 
| String[] | fieldColumnTooltips = {"The field name to index", "Is the field numeric?"} | 
| String[] | annotationsColumnTooltips = {"The datafile for the annotations", "The path to the annotation file(s)"} | 
Mark J. Hoy
| 
 | 
| Get the ball rolling. | 
| 
 | 
| Omnibus for responding to user actions. | 
| 
 | ||||||||||||
| Make the status line blink while working. | 
| 
 | 
| Ask the IndexEnvironment to add the files. | 
| 
 | 
| Listens to the index name text field. This enables updating the state of the BuildIndex button when the user types in the name of the index directly. | 
| 
 | 
| Create the GUI and show it. For thread safety, this method should be invoked from the event-dispatching thread. | 
| 
 | 
| Returns an ImageIcon, or null if the path was invalid. 
 
 | 
| 
 | 
| remove a directory and all of its files and subdirectories | 
| 
 | 
| 
 | 
| 
 | 
| 
Rewrite a shell filename pattern to a regular expression.  
 
 | 
| 
 | 
| Keeps the message pane showing the last line appended. | 
| 
 | ||||||||||||||||||||
| Accumulate filenames for the input list. If the File is a directory, iterate over all of the files in that directory that satisfy the filter. If recurse into subdirectories is selected and the File is a directory, invoke recursivly on on all directories within the directory. 
 | 
| 
 | 
| Create the datafiles list of strings. 
 | 
| 
 | 
| Initialize the GUI elements, including preloading the help frame. | 
| 
 | 
| Listens to the check boxes. | 
| 
 | 
| Fire it up. | 
| 
 | 
| Create the frame that shows the help file and render the html. | 
| 
 | 
| Create the applications menu bar. 
 | 
| 
 | 
| Creates a JMenuItem with this as its ActionListener. 
 
 | 
| 
 | 
| Create a JPanel with BorderLayout. 
 | 
| 
 | 
| Tests for likely failure scenarios. If the path to the index doesn't exist, fail. If the named index already exists, offer a choice do either overwrite, append, or abandon. If overwrite is selected, removes all files in the target directory. This is potentially dangerous. 
 | 
| 
 | 
| Format an exception message in the messages text area. 
 | 
| 
 | 
| Listens for table model changes | 
| 
 | 
| Initial value: "Indri Indexer UI 1.0\n" + "Copyright (c) 2004 University of Massachusetts" | 
| 
 | 
| 
 | 
| 
 | 
| are we appending? | 
| 
 | 
| Is the blinker running? | 
| 
 | 
| Action Buttons | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| Action Buttons | 
| 
 | 
| hold the file names | 
| 
 | 
| Action Buttons | 
| 
 | 
| field names | 
| 
 | 
| browse multiple filenames | 
| 
 | 
| 
 | 
| 
 | 
| Multiple choices | 
| 
 | 
| Single choice | 
| 
 | 
| Single choice | 
| 
 | 
| Initial value:  
        new JFileChooser(System.getProperties().getProperty("user.dir"))
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| Menus | 
| 
 | 
| filename filter | 
| 
 | 
| Menu Items | 
| 
 | 
| Initial value:  {"trecweb", "trectext", "html",
                                              "doc", "ppt", "pdf", "txt"}
 | 
| 
 | 
| Menu Items | 
| 
 | 
| Menu Items | 
| 
 | 
| Menu Items | 
| 
 | 
| Action Buttons | 
| 
 | 
| Menu Items | 
| 
 | 
| Help file for the application | 
| 
 | 
| Frame for help window | 
| 
 | 
| Menus | 
| 
 | 
| Menu Items | 
| 
 | 
| The little icon | 
| 
 | 
| input/browseable filename | 
| 
 | 
| Fields and Metadata items | 
| 
 | 
| The Indri Icon. | 
| 
 | 
| Initial value:  {"  64 MB", "  96 MB", " 128 MB", 
                                           " 256 MB", " 512 MB", " 768 MB","1024 MB"}
 | 
| 
 | 
| The big logo | 
| 
 | 
| Multiple choices | 
| 
 | 
| MenuBar | 
| 
 | 
| Messages pane for prog output | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| Status line messages visible for all tabs. | 
| 
 | 
| Multiple choices | 
| 
 | 
| Action Buttons | 
| 
 | 
| Action Buttons | 
| 
 | 
| input/browseable filename | 
| 
 | 
| data directory paths | 
| 
 | 
| Stemmer types | 
| 
 | 
| Top level container | 
| 
 | 
| 
 | 
 1.3.4
 
1.3.4