|
|||||||||
| 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
public abstract class AbstractFinder
Abstract implementation of the Finder interface.
All methods in this class should be called from a separate thread.
| Field Summary | |
|---|---|
protected ConceptListManager |
clm
|
protected ConceptDataSelector |
conceptDataSelector
|
protected BrowsableInputStream |
fBrowsableInputStream
|
protected String |
font_family
|
protected int |
font_point_size
|
protected boolean |
has_data_changed
Indicates whether or not filter data has changed (and therefore needs to be saved). |
protected SearchOptions |
searchOptions
|
| Fields inherited from class gov.nih.nlm.mms.AbstractGUIConfigurable |
|---|
data_changed, default_configuration, listeners, user_configuration |
| Constructor Summary | |
|---|---|
AbstractFinder()
Instantiates an AbstractFinder. |
|
| Method Summary | |
|---|---|
protected BrowsableInputStream |
getBrowsableInputStream()
|
ConceptDataSelector |
getConceptDataSelector()
Get ConceptDataSelector |
JPanel |
getHelpPanel()
Returns a JPanel that will be displayed when the
user selects the corresponding menu item from the Help menu
and will provide the user with detailed instructions on the tab's use. |
void |
refresh()
Redraws the text portions of the Finder. |
void |
setBrowsableInputStream(BrowsableInputStream browsableInputStream)
Sets the BrowsableInputStream. |
void |
setConceptDataSelector(ConceptDataSelector conceptDataSelector)
Set ConceptDataSelector |
void |
setConceptListManager(ConceptListManager clm)
Sets the ConceptListManager. |
void |
setFontFamily(String font_family)
Sets the font family for this Finder. |
void |
setFontPointSize(int point_size)
Sets the font point size for this Finder. |
void |
setPanelSelections()
Updates the view to reflect the data model. |
void |
setSearchOptions(SearchOptions searchOptions)
Set the SearchOptions |
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 |
| Methods inherited from interface gov.nih.nlm.mms.GUIConfigurable |
|---|
addDataChangeListener, getColor, getGUIConfigurableForValidationFailure, getName, getPanel, getTabDescription, getValidationErrors, getValidationWarnings, hasAdvancedOptions, hasDataChanged, removeDataChangeListener, resetDataChanged, setDataChanged, showOptions, validate |
| Methods inherited from interface gov.nih.nlm.mms.Configurable |
|---|
getConfigurationDetails, getProperties, resetToDefaults, setConfiguration, setConfiguration, setProperties |
| Field Detail |
|---|
protected ConceptListManager clm
protected BrowsableInputStream fBrowsableInputStream
protected String font_family
protected int font_point_size
protected boolean has_data_changed
protected SearchOptions searchOptions
protected ConceptDataSelector conceptDataSelector
| Constructor Detail |
|---|
public AbstractFinder()
AbstractFinder.
| Method Detail |
|---|
public void setConceptListManager(ConceptListManager clm)
ConceptListManager.
setConceptListManager in interface Finderclm - ConceptListManagerprotected BrowsableInputStream getBrowsableInputStream()
public void setBrowsableInputStream(BrowsableInputStream browsableInputStream)
BrowsableInputStream.
setBrowsableInputStream in interface FinderbrowsableInputStream - BrowsableInputStream.public JPanel getHelpPanel()
JPanel that will be displayed when the
user selects the corresponding menu item from the Help menu
and will provide the user with detailed instructions on the tab's use.
getHelpPanel in interface GUIConfigurablegetHelpPanel in class AbstractGUIConfigurableJPanel to be used when showing user helppublic void setPanelSelections()
setPanelSelections in interface GUIConfigurablesetPanelSelections in class AbstractGUIConfigurablepublic void subsetDirectoryOpened(File source_dir)
subsetDirectoryOpened in interface Findersource_dir - the source directorypublic void setFontPointSize(int point_size)
Finder.
setFontPointSize in interface Finderpoint_size - intpublic void setFontFamily(String font_family)
Finder.
setFontFamily in interface Finderfont_family - intpublic void refresh()
Finder.
Should be called from a new Thread().
refresh in interface Finderpublic void setSearchOptions(SearchOptions searchOptions)
setSearchOptions in interface FindersearchOptions - the searchOptions to setpublic ConceptDataSelector getConceptDataSelector()
public void setConceptDataSelector(ConceptDataSelector conceptDataSelector)
setConceptDataSelector in interface FinderconceptDataSelector - the conceptDataSelector to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||