|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.browser.AbstractFinder
gov.nih.nlm.mms.browser.TreeBrowserFinder
public class TreeBrowserFinder
Represents a Finder that enables user to choose concepts for display
from an HTML document formatted to look like a tree.
All methods in this class should be called from a separate thread.
| Nested Class Summary | |
|---|---|
class |
TreeBrowserFinder.PopupListener
Listener to display JPopupMenu. |
class |
TreeBrowserFinder.TreeBrowserFinderOptionsGUI
Options GUI for TreeBrowserFinder. |
| Field Summary |
|---|
| Fields inherited from class gov.nih.nlm.mms.browser.AbstractFinder |
|---|
clm, fBrowsableInputStream, font_family, font_point_size, has_data_changed, user_configuration |
| Constructor Summary | |
|---|---|
TreeBrowserFinder()
Instantiates a TreeBrowserFinder. |
|
| Method Summary | |
|---|---|
String |
getContentType()
Returns the content type used for the JEditorPane display. |
String |
getName()
Returns the name. |
JPanel |
getPanel()
Returns a JPanel containing a JTree that
enables navigation through the context hierarchy. |
Properties |
getProperties()
Method returns all properties specific to the Finder. |
protected SearchOptions |
getSearchOptions()
|
boolean |
hasAdvancedOptions()
Indicates whether or not an options menu item should be supplied for advanced configuration options. |
void |
refresh()
Redraws the text portions of the Finder. |
void |
resetToDefaults()
Resets the configuration back to default values. |
void |
setMaxResults(int max_children)
Sets the maximum number of cuis that will be returned as results of the search. |
void |
setProperties(Properties p)
Method provides the GUIConfigurable with all properties specific to the
Finder. |
void |
setSearchOptions(SearchOptions searchOptions)
Indicates the SearchOptions. |
void |
showOptions()
Presents an advanced options GUI to the user. |
void |
subsetDirectoryOpened(File source_dir)
Handles opening of a source directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeBrowserFinder()
TreeBrowserFinder.
| Method Detail |
|---|
protected SearchOptions getSearchOptions()
public void setSearchOptions(SearchOptions searchOptions)
SearchOptions.
searchOptions - public JPanel getPanel()
JPanel containing a JTree that
enables navigation through the context hierarchy.
JPanel containing a JTree that
enables navigation through the context hierarchypublic void resetToDefaults()
setPanelSelections to actually update the GUI.
public Properties getProperties()
Finder.
getProperties in interface ConfigurablegetProperties in class AbstractFinderProperties only those directly related to the finder.public void setProperties(Properties p)
GUIConfigurable with all properties specific to the
Finder.
setProperties in interface ConfigurablesetProperties in class AbstractFinderp - Propertiespublic String getName()
public String getContentType()
JEditorPane display.
public void showOptions()
public boolean hasAdvancedOptions()
true if so; false otherwisepublic void subsetDirectoryOpened(File source_dir)
subsetDirectoryOpened in interface FindersubsetDirectoryOpened in class AbstractFindersource_dir - the source directorypublic void setMaxResults(int max_children)
max_children - max number of cuis that will be returnedpublic void refresh()
Finder.
Should be called from a new Thread().
refresh in interface Finderrefresh in class AbstractFinder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||