|
|||||||||
| 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.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.PopupListener
Required to make right-click JPopupMenu functional. |
| 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 | |
|---|---|
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 |
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.GUIConfigurable |
|---|
addDataChangeListener, getColor, getGUIConfigurableForValidationFailure, getTabDescription, getValidationErrors, getValidationWarnings, hasDataChanged, removeDataChangeListener, resetDataChanged, setDataChanged, showOptions, validate |
| Methods inherited from interface gov.nih.nlm.mms.Configurable |
|---|
getConfigurationDetails, setConfiguration, setConfiguration |
| Constructor Detail |
|---|
public CodeSearchFinder()
CodeSearchFinder.
| Method Detail |
|---|
public JPanel getPanel()
JPanel containing configuration options.
getPanel in interface GUIConfigurablegetPanel in class AbstractGUIConfigurableJPanel 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 AbstractGUIConfigurableProperties only those directly related to the concept view.public void setProperties(Properties p)
setProperties in interface ConfigurablesetProperties in class AbstractGUIConfigurablep - Propertiespublic void resetToDefaults()
setPanelSelections to actually update the GUI.
resetToDefaults in interface ConfigurableresetToDefaults in class AbstractGUIConfigurablepublic void highlightText()
public String getName()
getName in interface GUIConfigurablegetName in class AbstractGUIConfigurablepublic boolean hasAdvancedOptions()
hasAdvancedOptions in interface GUIConfigurablehasAdvancedOptions in class AbstractGUIConfigurabletrue 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 | ||||||||