|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.AbstractGUIConfigurable
gov.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, conceptDataSelector, fBrowsableInputStream, font_family, font_point_size, has_data_changed, searchOptions |
| Fields inherited from class gov.nih.nlm.mms.AbstractGUIConfigurable |
|---|
data_changed, default_configuration, listeners, 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. |
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 |
showOptions()
Presents an advanced options GUI to the user. |
void |
subsetDirectoryOpened(File source_dir)
Handles opening of a source directory. |
| Methods inherited from class gov.nih.nlm.mms.browser.AbstractFinder |
|---|
getBrowsableInputStream, getConceptDataSelector, getHelpPanel, setBrowsableInputStream, setConceptDataSelector, setConceptListManager, setFontFamily, setFontPointSize, setPanelSelections, setSearchOptions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nih.nlm.mms.browser.Finder |
|---|
setBrowsableInputStream, setConceptDataSelector, setConceptListManager, setFontFamily, setFontPointSize, setSearchOptions |
| Methods inherited from interface gov.nih.nlm.mms.GUIConfigurable |
|---|
addDataChangeListener, getColor, getGUIConfigurableForValidationFailure, getHelpPanel, getTabDescription, getValidationErrors, getValidationWarnings, hasDataChanged, removeDataChangeListener, resetDataChanged, setDataChanged, setPanelSelections, validate |
| Methods inherited from interface gov.nih.nlm.mms.Configurable |
|---|
getConfigurationDetails, setConfiguration, setConfiguration |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public TreeBrowserFinder()
TreeBrowserFinder.
| Method Detail |
|---|
public JPanel getPanel()
JPanel containing a JTree that enables navigation
through the context hierarchy.
getPanel in interface GUIConfigurablegetPanel in class AbstractGUIConfigurableJPanel containing a JTree that enables navigation
through the context hierarchypublic void resetToDefaults()
setPanelSelections to actually update the GUI.
resetToDefaults in interface ConfigurableresetToDefaults in class AbstractGUIConfigurablepublic Properties getProperties()
Finder.
getProperties in interface ConfigurablegetProperties in class AbstractGUIConfigurableProperties 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 AbstractGUIConfigurablep - Propertiespublic String getName()
getName in interface GUIConfigurablegetName in class AbstractGUIConfigurablepublic String getContentType()
JEditorPane display.
public void showOptions()
showOptions in interface GUIConfigurableshowOptions in class AbstractGUIConfigurablepublic boolean hasAdvancedOptions()
hasAdvancedOptions in interface GUIConfigurablehasAdvancedOptions in class AbstractGUIConfigurabletrue 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 | ||||||||