|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.mms.browser.ConceptListManager
Manages the concept history.
Field Summary | |
protected ConceptList |
concept_list
|
protected FinderManager |
finder_manager
|
protected ReportsManager |
reports_manager
|
protected UserConfiguration |
user_configuration
|
protected ObjectXMLSerializer |
xml_ser
|
Constructor Summary | |
ConceptListManager()
Instantiates an ConceptListManager . |
Method Summary | |
void |
addConcept(Concept concept)
Adds a Concept for display in the current view. |
void |
backward()
Moves the concept list backwards by one. |
void |
clearConceptList()
Resets all navigation components. |
void |
forward()
Moves the concept list forwards by one. |
ConceptList |
getConceptList()
Returns the ConceptList . |
Concept |
getCurrentConcept()
Returns the Concept currently being viewed. |
boolean |
isBackHistoryEmpty()
Indicates if the backwards stack is empty. |
boolean |
isForwardHistoryEmpty()
Indicates if the forwards stack is empty. |
Concept |
readConcept(Concept concept)
Reads and fully populates a Concept that otherwise has just a
CUI value. |
void |
refresh()
Refresh the current concept view if set. |
void |
setConceptList(ConceptList concept_list)
Sets the ConceptList . |
void |
setConfiguration(UserConfiguration c)
Method provides the filter with values from the user configuration file. |
void |
setReportsManager(ReportsManager reports_manager)
Sets the ReportsManager . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected UserConfiguration user_configuration
protected ReportsManager reports_manager
protected FinderManager finder_manager
protected ConceptList concept_list
protected ObjectXMLSerializer xml_ser
Constructor Detail |
public ConceptListManager()
ConceptListManager
.
Method Detail |
public void setConceptList(ConceptList concept_list)
ConceptList
.
concept_list
- the ConceptList
public ConceptList getConceptList()
ConceptList
.
ConceptList
public void addConcept(Concept concept)
Concept
for display in the current view.
Fully populates the Concept
before displaying it.
Manages the forward and backward aparatus.
This must be called from a separate thread.
concept
- the Concept
to viewpublic void refresh()
public Concept readConcept(Concept concept)
Concept
that otherwise has just a
CUI value.
concept
- the Concept
to read (with CUI field populated)
Concept
public void forward()
public void backward()
public void setConfiguration(UserConfiguration c)
c
- UserConfiguration
public void setReportsManager(ReportsManager reports_manager)
ReportsManager
.
reports_manager
- ReportsManager
public Concept getCurrentConcept()
Concept
currently being viewed.
Concept
public boolean isBackHistoryEmpty()
boolean
public boolean isForwardHistoryEmpty()
boolean
public void clearConceptList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |