|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.browser.ConceptListManager
public class ConceptListManager
Manages the concept history.
| Field Summary | |
|---|---|
protected ConceptList |
concept_list
|
protected BrowsableInputStream |
fBrowsableInputStream
|
protected FinderManager |
finder_manager
|
protected ReportsManager |
reports_manager
|
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. |
protected BrowsableInputStream |
getBrowsableInputStream()
Returns the BrowsableInputStream. |
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 |
setBrowsableInputStream(BrowsableInputStream browsableInputStream)
Specifies the BrowsableInputStream that provides values to the
filter. |
void |
setConceptList(ConceptList concept_list)
Sets the ConceptList. |
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 BrowsableInputStream fBrowsableInputStream
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 ConceptListpublic ConceptList getConceptList()
ConceptList.
ConceptListpublic 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)
Conceptpublic void forward()
public void backward()
protected BrowsableInputStream getBrowsableInputStream()
BrowsableInputStream.
BrowsableInputStream.public void setBrowsableInputStream(BrowsableInputStream browsableInputStream)
BrowsableInputStream that provides values to the
filter.
browsableInputStream - BrowsableInputStreampublic void setReportsManager(ReportsManager reports_manager)
ReportsManager.
reports_manager - ReportsManagerpublic Concept getCurrentConcept()
Concept currently being viewed.
Conceptpublic boolean isBackHistoryEmpty()
booleanpublic boolean isForwardHistoryEmpty()
booleanpublic void clearConceptList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||