|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.mms.browser.AbstractConceptView
gov.nih.nlm.mms.browser.ExpandableRawView
ConceptView that displays the concept report with a formatted
appearance that is customizable by the user.
| Nested Class Summary | |
class |
ExpandableRawView.PopupListener
|
| Field Summary | |
protected String[] |
change_files
|
| Fields inherited from class gov.nih.nlm.mms.browser.AbstractConceptView |
clm, default_configuration, font_family, font_point_size, has_data_changed, user_configuration |
| Constructor Summary | |
ExpandableRawView()
Instantiates a ExpandableRawView. |
|
| Method Summary | |
void |
actionPerformed(ActionEvent e)
|
void |
addDataChangeListener(DataChangeListener dcl)
Adds a DataChangeListener that responds to configuration changes. |
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 |
String |
getName()
Returns the name. |
JPanel |
getPanel()
Returns a JPanel containing the concept report. |
String |
getPreferredAtom(Atom[] atoms,
List precedence)
Returns the preferred atom's string from amongst the given Atom[]. |
Printable |
getPrintable()
Returns the Printable that handles printing. |
Properties |
getProperties()
Method returns all properties specific to the ConceptView. |
boolean |
hasAdvancedOptions()
Indicates whether or not an options menu item should be supplied for advanced configuration options. |
void |
print()
Prints the concept report. |
void |
removeDataChangeListener(DataChangeListener dcl)
Removes the specified DataChangeListener. |
void |
resetToDefaults()
Resets the configuration back to default values. |
void |
setConcept(Concept concept)
Sets the Concept to be displayed. |
void |
setPageSize(int page_size)
Sets the page size. |
void |
setProperties(Properties p)
Sets the view properties. |
void |
showOptions()
Presents an advanced options GUI to the user. |
void |
subsetDirectoryOpened(File source_dir)
Handles opening of a source directory. |
| Methods inherited from class gov.nih.nlm.mms.browser.AbstractConceptView |
compareTo, find, getColor, getConfigurationDetails, getGUIConfigurableForValidationFailure, getHelpPanel, getTabDescription, getValidateMessage, getValidationErrors, getValidationWarnings, hasDataChanged, resetDataChanged, setConceptListManager, setConfiguration, setConfiguration, setDataChanged, setFontFamily, setFontPointSize, setPanelSelections, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String[] change_files
| Constructor Detail |
public ExpandableRawView()
ExpandableRawView.
| Method Detail |
public JPanel getPanel()
JPanel containing the concept report.
getPanel in interface GUIConfigurableJPanel containing the concept reportpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic String getContentType()
JEditorPane display.
getContentType in interface ConceptViewpublic void setConcept(Concept concept)
Concept to be displayed.
setConcept in interface ConceptViewconcept - Conceptpublic FinderHandler getFinderHandler()
FinderHandler that will execute the find operation
for this ConceptView
getFinderHandler in interface ConceptViewFinderHandlerpublic void resetToDefaults()
setPanelSelections to actually update the GUI.
resetToDefaults in interface Configurablepublic void addDataChangeListener(DataChangeListener dcl)
DataChangeListener that responds to configuration changes.
Allows main GUI to record all changes to this gui in the undo/redo
mechanism.
addDataChangeListener in interface GUIConfigurableaddDataChangeListener in class AbstractConceptViewdcl - the DataChangeListener to addpublic void removeDataChangeListener(DataChangeListener dcl)
DataChangeListener.
removeDataChangeListener in interface GUIConfigurableremoveDataChangeListener in class AbstractConceptViewdcl - the DataChangeListener to removepublic Properties getProperties()
ConceptView.
getProperties in interface ConfigurablegetProperties in class AbstractConceptViewProperties only those directly related to the concept view.public void setProperties(Properties p)
setProperties in interface ConfigurablesetProperties in class AbstractConceptViewp - Propertiespublic String getName()
getName in interface GUIConfigurablepublic void setPageSize(int page_size)
page_size - intpublic void showOptions()
showOptions in interface GUIConfigurablepublic boolean hasAdvancedOptions()
hasAdvancedOptions in interface GUIConfigurabletrue if so; false otherwise
public void print()
throws PrinterException
print in interface FullyPrintablePrinterExceptionpublic Printable getPrintable()
Printable that handles printing.
getPrintable in interface FullyPrintablePrintable that handles printing
public String getPreferredAtom(Atom[] atoms,
List precedence)
Atom[].
Uses the Atom.AtomRankComparator and the given precidence list to do
ranking.
atoms - Atom[]precedence - List
public void subsetDirectoryOpened(File source_dir)
subsetDirectoryOpened in interface ConceptViewsubsetDirectoryOpened in class AbstractConceptViewsource_dir - the source directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||