Package com.pixelmed.display
Class DicomCleaner.OurSourceDatabaseTreeBrowser
- java.lang.Object
-
- com.pixelmed.database.DatabaseTreeBrowser
-
- com.pixelmed.display.DicomCleaner.OurSourceDatabaseTreeBrowser
-
- Enclosing class:
- DicomCleaner
protected class DicomCleaner.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 voiddoSomethingWithSelectedFiles(java.util.Vector paths)Will be called when a selection is made or changed anddoSomethingWithSelections()returns false and not otherwise.protected booleandoSomethingWithSelections(DatabaseTreeRecord[] selections)Will be called when a selection is made or changed.-
Methods inherited from class com.pixelmed.database.DatabaseTreeBrowser
buildMouseListenerToDetectDoubleClickEvents, buildTreeSelectionListenerToDisplayAttributesOfSelectedRecord, buildTreeSelectionListenerToDoSomethingWithSelectedFiles, doSomethingMoreWithWhateverWasSelected, getSelectionPaths, recurseThroughChildrenGatheringFileNames
-
-
-
-
Constructor Detail
-
OurSourceDatabaseTreeBrowser
public OurSourceDatabaseTreeBrowser(DatabaseInformationModel d, java.awt.Container content) throws DicomException
- Throws:
DicomException
-
-
Method Detail
-
doSomethingWithSelections
protected boolean doSomethingWithSelections(DatabaseTreeRecord[] selections)
Description copied from class:DatabaseTreeBrowserWill be called when a selection is made or changed.
Note that during multi-selection, or deselection, this may be called multiple times, so use this method to update cache of what is selected rather than initiating action on the selections, which should be done by some other means.
- Overrides:
doSomethingWithSelectionsin classDatabaseTreeBrowser- Parameters:
selections- return true if did something and hence should do no more
-
doSomethingWithSelectedFiles
protected void doSomethingWithSelectedFiles(java.util.Vector paths)
Description copied from class:DatabaseTreeBrowserWill be called when a selection is made or changed and
doSomethingWithSelections()returns false and not otherwise.Note that during multi-selection, or deselection, this may be called multiple times, so use this method to update cache of what is selected rather than initiating action on the selections, which should be done by some other means.
- Overrides:
doSomethingWithSelectedFilesin classDatabaseTreeBrowser
-
-