gov.nih.nlm.mms.browser
Interface ConceptView

All Superinterfaces:
Comparable, Configurable, FullyPrintable, GUIConfigurable
All Known Implementing Classes:
AbstractConceptView, ExpandableConceptView, ExpandableRawView

public interface ConceptView
extends GUIConfigurable, FullyPrintable

Generically represents a view of a concept. All implementing methods should be called from a separate thread.

Author:
Deborah Shapiro

Method Summary
 String getContentType()
          Returns the content type used for the JEditorPane display.
 FinderHandler getFinderHandler()
          Indicates the FinderHandler that will execute the find operation for this ConceptView
 void refresh()
          Redraws the text portions of the Finder.
 void requestFocus()
          Allows the view a chance to choose what component should request focus.
 void setBrowsableInputStream(BrowsableInputStream browsableInputStream)
          Sets the BrowsableInputStream.
 void setConcept(Concept concept)
          Sets the Concept to be displayed.
 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 subsetDirectoryOpened(File source_dir)
          Handles opening of a source directory.
 
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 java.lang.Comparable
compareTo
 
Methods inherited from interface gov.nih.nlm.mms.browser.FullyPrintable
getPrintable, print
 

Method Detail

setConceptListManager

void setConceptListManager(ConceptListManager clm)
Sets the ConceptListManager.

Parameters:
clm - ConceptListManager

setBrowsableInputStream

void setBrowsableInputStream(BrowsableInputStream browsableInputStream)
Sets the BrowsableInputStream.

Parameters:
browsableInputStream - BrowsableInputStream

setConcept

void setConcept(Concept concept)
Sets the Concept to be displayed.

Parameters:
concept - Concept

getContentType

String getContentType()
Returns the content type used for the JEditorPane display.

Returns:
content type

requestFocus

void requestFocus()
Allows the view a chance to choose what component should request focus. Used mainly by Find function.


setFontPointSize

void setFontPointSize(int point_size)
Sets the font point size for this ConceptView.

Parameters:
point_size - int

setFontFamily

void setFontFamily(String font_family)
Sets the font family for this ConceptView.

Parameters:
font_family - int

getFinderHandler

FinderHandler getFinderHandler()
Indicates the FinderHandler that will execute the find operation for this ConceptView

Returns:
FinderHandler

subsetDirectoryOpened

void subsetDirectoryOpened(File source_dir)
Handles opening of a source directory.

Parameters:
source_dir - the source directory

refresh

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



Copyright ©2005