gov.nih.nlm.mms.browser
Class CuiSearchFinder

java.lang.Object
  extended bygov.nih.nlm.mms.browser.AbstractFinder
      extended bygov.nih.nlm.mms.browser.CuiSearchFinder
All Implemented Interfaces:
Comparable, Configurable, Finder, GUIConfigurable

public class CuiSearchFinder
extends AbstractFinder

Represents a Finder that directly looks up concepts by CUI values.

Author:
Deborah Shapiro

Field Summary
 
Fields inherited from class gov.nih.nlm.mms.browser.AbstractFinder
clm, font_family, font_point_size, has_data_changed, user_configuration
 
Constructor Summary
CuiSearchFinder()
          Instantiates a CuiSearchFinder.
 
Method Summary
 String getName()
          Returns the name.
 JPanel getPanel()
          Returns a JPanel containing configuration options.
 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 cui text field.
 void refresh()
          Redraws the text portions of the Finder.
 void resetToDefaults()
          Resets the configuration back to default values.
 void showOptions()
          Presents an advanced options GUI to the user.
 
Methods inherited from class gov.nih.nlm.mms.browser.AbstractFinder
addDataChangeListener, compareTo, getColor, getConfigurationDetails, getGUIConfigurableForValidationFailure, getHelpPanel, getProperties, getTabDescription, getValidateMessage, getValidationErrors, getValidationWarnings, hasDataChanged, removeDataChangeListener, resetDataChanged, setConceptListManager, setConfiguration, setConfiguration, setDataChanged, setFontFamily, setFontPointSize, setPanelSelections, setProperties, subsetDirectoryOpened, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CuiSearchFinder

public CuiSearchFinder()
Instantiates a CuiSearchFinder.

Method Detail

getPanel

public JPanel getPanel()
Returns a JPanel containing configuration options.

Returns:
a JPanel containing configuration options

resetToDefaults

public void resetToDefaults()
Resets the configuration back to default values. When used with a GUI this method should change the data model behind the GUI and allow setPanelSelections to actually update the GUI.


highlightText

public void highlightText()
Highlights the text displayed in the cui text field.


getName

public String getName()
Returns the name.

Returns:
the name

showOptions

public void showOptions()
Presents an advanced options GUI to the user.


hasAdvancedOptions

public boolean hasAdvancedOptions()
Indicates whether or not an options menu item should be supplied for advanced configuration options.

Returns:
true if so; false otherwise

refresh

public void refresh()
Redraws the text portions of the Finder.

Specified by:
refresh in interface Finder
Overrides:
refresh in class AbstractFinder


Copyright ©2005