|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.mms.browser.ReportsManager
Manages the various ConceptView
s.
Constructor Summary | |
ReportsManager()
Instantiates an ReportsManager . |
Method Summary | |
void |
addConceptView(ConceptView concept_view)
Adds a ConceptView to the ReportsManager . |
void |
clear()
Resets the graphical components of the ConceptView s. |
Component |
getComponentForTab(GUIConfigurable gui_configurable)
Returns the GUI Component for the specified Filter . |
Set |
getConceptViews()
Returns a Set of the ConceptView s. |
ConceptView |
getCurrentView()
Returns the ConceptView that is currently being
displayed on the JTabbedPane . |
JPanel |
getPanel()
Returns a JPanel with a JTabbedPane
displaying all of the ReportsManager 's ConceptView s. |
void |
setConcept(Concept concept)
Sets a Concept for display in the ReportsManager 's
chosen ContentView panel. |
void |
setConceptListManager(ConceptListManager clm)
Sets the ConceptListManager . |
void |
setFontFamily(String font_family)
Notifies all the ConceptView s of the font family
to be used for text display. |
void |
setFontPointSize(int font_point_size)
Notifies all the ConceptView s of the font point size to be used
for text display. |
void |
stateChanged(ChangeEvent e)
Responds to a user switching tabs in the tabbed pane. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReportsManager()
ReportsManager
.
Method Detail |
public JPanel getPanel()
JPanel
with a JTabbedPane
displaying all of the ReportsManager
's ConceptView
s.
JPanel
public Component getComponentForTab(GUIConfigurable gui_configurable)
Component
for the specified Filter
.
The application maintains a private hash map that allows
this mapping to take place. If the map does not contain
an entry for the filter, a panel is built, added to the map
and returned.
gui_configurable
- the specified GUIConfigurable
Component
for the specified Filter
.public void addConceptView(ConceptView concept_view)
ConceptView
to the ReportsManager
.
Provides another concept report format and style for the user.
concept_view
- ConceptView
public void setConceptListManager(ConceptListManager clm)
ConceptListManager
.
clm
- ConceptListManager
public void setConcept(Concept concept)
Concept
for display in the ReportsManager
's
chosen ContentView
panel.
concept
- Concept
to be displayedpublic ConceptView getCurrentView()
ConceptView
that is currently being
displayed on the JTabbedPane
.
ConceptView
public void clear()
ConceptView
s.
public Set getConceptViews()
Set
of the ConceptView
s.
public void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
e
- a ChangeEvent
public void setFontFamily(String font_family)
ConceptView
s of the font family
to be used for text display. Prompts an update of the display.
font_family
- String
public void setFontPointSize(int font_point_size)
ConceptView
s of the font point size to be used
for text display. Prompts an update of the display.
font_point_size
- int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |