|
|||||||||
| 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.AbstractConceptView
public abstract class AbstractConceptView
This is an abstract implementation of the ConceptView interface.
All methods in this class should be called from a separate thread.
| Field Summary | |
|---|---|
protected ConceptListManager |
clm
|
protected BrowsableInputStream |
fBrowsableInputStream
|
protected String |
font_family
|
protected int |
font_point_size
|
protected SearchOptions |
search_options
|
| Fields inherited from class gov.nih.nlm.mms.AbstractGUIConfigurable |
|---|
data_changed, default_configuration, listeners, user_configuration |
| Constructor Summary | |
|---|---|
AbstractConceptView()
|
|
| Method Summary | |
|---|---|
void |
find()
Searches the text displayed in the JEditorPane
for the given search_term. |
protected BrowsableInputStream |
getBrowsableInputStream()
|
void |
refresh()
Redraws the text portions of the Finder. |
void |
setBrowsableInputStream(BrowsableInputStream browsableInputStream)
Sets the BrowsableInputStream. |
void |
setConceptListManager(ConceptListManager clm)
Sets the ConceptListManager. |
void |
setFontFamily(String font_family)
Sets the font family for this ConceptView. |
void |
setFontPointSize(int point_size)
Sets the font point size for this ConceptView. |
void |
setSearchOptions(SearchOptions so)
Sets the SearchOptions which provides the ability to
highlight or hide content in a concept view based on criteria. |
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.browser.ConceptView |
|---|
getContentType, getFinderHandler, requestFocus, setConcept |
| Methods inherited from interface gov.nih.nlm.mms.GUIConfigurable |
|---|
addDataChangeListener, getColor, getGUIConfigurableForValidationFailure, getHelpPanel, getName, getPanel, getTabDescription, getValidationErrors, getValidationWarnings, hasAdvancedOptions, hasDataChanged, removeDataChangeListener, resetDataChanged, setDataChanged, setPanelSelections, showOptions, validate |
| Methods inherited from interface gov.nih.nlm.mms.Configurable |
|---|
getConfigurationDetails, getProperties, resetToDefaults, setConfiguration, setConfiguration, setProperties |
| Methods inherited from interface gov.nih.nlm.mms.browser.FullyPrintable |
|---|
getPrintable, print |
| Field Detail |
|---|
protected ConceptListManager clm
protected BrowsableInputStream fBrowsableInputStream
protected int font_point_size
protected String font_family
protected SearchOptions search_options
| Constructor Detail |
|---|
public AbstractConceptView()
| Method Detail |
|---|
public void subsetDirectoryOpened(File source_dir)
subsetDirectoryOpened in interface ConceptViewsource_dir - the source directorypublic void setConceptListManager(ConceptListManager clm)
ConceptListManager.
setConceptListManager in interface ConceptViewclm - ConceptListManagerprotected BrowsableInputStream getBrowsableInputStream()
public void setBrowsableInputStream(BrowsableInputStream browsableInputStream)
BrowsableInputStream.
setBrowsableInputStream in interface ConceptViewbrowsableInputStream - BrowsableInputStream.public void find()
JEditorPane
for the given search_term. Starts the search at the given
start position within the text.
public void setFontPointSize(int point_size)
ConceptView.
setFontPointSize in interface ConceptViewpoint_size - intpublic void setFontFamily(String font_family)
ConceptView.
setFontFamily in interface ConceptViewfont_family - intpublic void refresh()
Finder.
refresh in interface ConceptViewpublic void setSearchOptions(SearchOptions so)
SearchOptions which provides the ability to
highlight or hide content in a concept view based on criteria.
setSearchOptions in interface ConceptViewbr -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||