|
||||||||||
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 GUIConfigurable
JPanel
containing the concept reportpublic void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public String getContentType()
JEditorPane
display.
getContentType
in interface ConceptView
public void setConcept(Concept concept)
Concept
to be displayed.
setConcept
in interface ConceptView
concept
- Concept
public FinderHandler getFinderHandler()
FinderHandler
that will execute the find operation
for this ConceptView
getFinderHandler
in interface ConceptView
FinderHandler
public void resetToDefaults()
setPanelSelections
to actually update the GUI.
resetToDefaults
in interface Configurable
public 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 GUIConfigurable
addDataChangeListener
in class AbstractConceptView
dcl
- the DataChangeListener
to addpublic void removeDataChangeListener(DataChangeListener dcl)
DataChangeListener
.
removeDataChangeListener
in interface GUIConfigurable
removeDataChangeListener
in class AbstractConceptView
dcl
- the DataChangeListener
to removepublic Properties getProperties()
ConceptView
.
getProperties
in interface Configurable
getProperties
in class AbstractConceptView
Properties
only those directly related to the concept view.public void setProperties(Properties p)
setProperties
in interface Configurable
setProperties
in class AbstractConceptView
p
- Properties
public String getName()
getName
in interface GUIConfigurable
public void setPageSize(int page_size)
page_size
- intpublic void showOptions()
showOptions
in interface GUIConfigurable
public boolean hasAdvancedOptions()
hasAdvancedOptions
in interface GUIConfigurable
true
if so; false
otherwisepublic void print() throws PrinterException
print
in interface FullyPrintable
PrinterException
public Printable getPrintable()
Printable
that handles printing.
getPrintable
in interface FullyPrintable
Printable
that handles printingpublic 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 ConceptView
subsetDirectoryOpened
in class AbstractConceptView
source_dir
- the source directory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |