protected class DoseUtility.OurSourceDatabaseTreeBrowser extends DatabaseTreeBrowser
Constructor and Description |
---|
OurSourceDatabaseTreeBrowser(DatabaseInformationModel d,
java.awt.Container content) |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.event.TreeSelectionListener |
buildTreeSelectionListenerToDoSomethingWithSelectedFiles()
Override this method to perform application-specific behavior when an entity is selected in the tree browser.
|
protected void |
doSomethingMoreWithWhateverWasSelected()
Will be called when a double-click event is detected unless
buildMouseListenerToDetectDoubleClickEvents is overriden to do something else. |
buildMouseListenerToDetectDoubleClickEvents, buildTreeSelectionListenerToDisplayAttributesOfSelectedRecord, doSomethingWithSelectedFiles, doSomethingWithSelections, getSelectionPaths, recurseThroughChildrenGatheringFileNames
public OurSourceDatabaseTreeBrowser(DatabaseInformationModel d, java.awt.Container content) throws DicomException
DicomException
protected javax.swing.event.TreeSelectionListener buildTreeSelectionListenerToDoSomethingWithSelectedFiles()
DatabaseTreeBrowser
Override this method to perform application-specific behavior when an entity is selected in the tree browser.
By default, this method calls doSomethingWithSelections
, then if that returns false,
for each of the selected records (and there may be more than one), adds to a Vector
of file names (paths) of that record and the subtrees below it, then calls
doSomethingWithSelectedFiles
.
buildTreeSelectionListenerToDoSomethingWithSelectedFiles
in class DatabaseTreeBrowser
protected void doSomethingMoreWithWhateverWasSelected()
DatabaseTreeBrowser
Will be called when a double-click event is detected unless buildMouseListenerToDetectDoubleClickEvents
is overriden to do something else.
doSomethingMoreWithWhateverWasSelected
in class DatabaseTreeBrowser