Package com.pixelmed.apps
Class DoseUtility.OurSourceDatabaseTreeBrowser
- java.lang.Object
-
- com.pixelmed.database.DatabaseTreeBrowser
-
- com.pixelmed.apps.DoseUtility.OurSourceDatabaseTreeBrowser
-
- Enclosing class:
- DoseUtility
protected class DoseUtility.OurSourceDatabaseTreeBrowser extends DatabaseTreeBrowser
-
-
Constructor Summary
Constructors Constructor Description OurSourceDatabaseTreeBrowser(DatabaseInformationModel d, java.awt.Container content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 unlessbuildMouseListenerToDetectDoubleClickEvents
is overriden to do something else.-
Methods inherited from class com.pixelmed.database.DatabaseTreeBrowser
buildMouseListenerToDetectDoubleClickEvents, buildTreeSelectionListenerToDisplayAttributesOfSelectedRecord, doSomethingWithSelectedFiles, doSomethingWithSelections, getSelectionPaths, recurseThroughChildrenGatheringFileNames
-
-
-
-
Constructor Detail
-
OurSourceDatabaseTreeBrowser
public OurSourceDatabaseTreeBrowser(DatabaseInformationModel d, java.awt.Container content) throws DicomException
- Throws:
DicomException
-
-
Method Detail
-
buildTreeSelectionListenerToDoSomethingWithSelectedFiles
protected javax.swing.event.TreeSelectionListener buildTreeSelectionListenerToDoSomethingWithSelectedFiles()
Description copied from class: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 aVector
of file names (paths) of that record and the subtrees below it, then callsdoSomethingWithSelectedFiles
.- Overrides:
buildTreeSelectionListenerToDoSomethingWithSelectedFiles
in classDatabaseTreeBrowser
-
doSomethingMoreWithWhateverWasSelected
protected void doSomethingMoreWithWhateverWasSelected()
Description copied from class:DatabaseTreeBrowser
Will be called when a double-click event is detected unless
buildMouseListenerToDetectDoubleClickEvents
is overriden to do something else.- Overrides:
doSomethingMoreWithWhateverWasSelected
in classDatabaseTreeBrowser
-
-