|
|||||||||
| 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.CodeSearchFinder
public class CodeSearchFinder
Represents a Finder that directly looks up concepts by CODE values.
All methods in this class should be called from a separate thread.
| Nested Class Summary | |
|---|---|
class |
CodeSearchFinder.BackwardAction
Action used to display previous page when more than one page of results are produced. |
class |
CodeSearchFinder.ForwardAction
Action used to display next page when more than one page of results are produced. |
class |
CodeSearchFinder.NameComparator
Comparator used to sort the preferred strings to be used for display in the list of Concepts returned. |
class |
CodeSearchFinder.PopupListener
Required to make right-click JPopupMenu functional. |
| 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 | |
|---|---|
CodeSearchFinder()
Instantiates a CodeSearchFinder. |
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name. |
JPanel |
getPanel()
Returns a JPanel containing configuration options. |
Properties |
getProperties()
Method returns all properties specific to the ConceptView. |
boolean |
hasAdvancedOptions()
Indicates whether or not an options menu item should be supplied for advanced configuration options. |
void |
highlightText()
Highlights the text displayed in the code text field. |
void |
refresh()
Redraws the text portions of the Finder. |
void |
resetToDefaults()
Resets the configuration back to default values. |
void |
setProperties(Properties p)
Sets the view properties. |
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 CodeSearchFinder()
CodeSearchFinder.
| Method Detail |
|---|
public JPanel getPanel()
JPanel containing configuration options.
JPanel containing configuration optionspublic void subsetDirectoryOpened(File source_dir)
subsetDirectoryOpened in interface FindersubsetDirectoryOpened in class AbstractFindersource_dir - the source directorypublic Properties getProperties()
ConceptView.
getProperties in interface ConfigurablegetProperties in class AbstractFinderProperties only those directly related to the concept view.public void setProperties(Properties p)
setProperties in interface ConfigurablesetProperties in class AbstractFinderp - Propertiespublic void resetToDefaults()
setPanelSelections to actually update the GUI.
public void highlightText()
public String getName()
public void showOptions()
public boolean hasAdvancedOptions()
true if so; false otherwisepublic 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 | ||||||||