Package PamView.paneloverlay.overlaymark
Class BasicMarkDataSelector
java.lang.Object
PamView.paneloverlay.OverlayDataManager<OverlayMarkDataInfo>
PamView.paneloverlay.overlaymark.BasicMarkDataSelector
- All Implemented Interfaces:
OverlayDataObserver
,MarkDataSelector
- Direct Known Subclasses:
DetectionGroupProcess.DataSelector
public abstract class BasicMarkDataSelector
extends OverlayDataManager<OverlayMarkDataInfo>
implements MarkDataSelector
-
Field Summary
Fields inherited from interface PamView.paneloverlay.overlaymark.MarkDataSelector
OVERLAP_ALL, OVERLAP_NONE, OVERLAP_SOME
-
Constructor Summary
ConstructorDescriptionBasicMarkDataSelector
(GeneralProjector.ParameterType[] parameterTypes, GeneralProjector.ParameterUnits[] parameterUnits) -
Method Summary
Modifier and TypeMethodDescriptionboolean
wantDataUnit
(PamDataUnit dataUnit, int overlapLevel) Test a data unit that within a mark to see if it's wanted or not.Methods inherited from class PamView.paneloverlay.OverlayDataManager
addSelectionMenuItems, getDataSelectorName, getOverlayInfo, getParameterTypes, getParameterUnits, getSwingPanel, listDataBlocks
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface PamView.paneloverlay.OverlayDataObserver
selectionChanged
-
Constructor Details
-
BasicMarkDataSelector
public BasicMarkDataSelector(GeneralProjector.ParameterType[] parameterTypes, GeneralProjector.ParameterUnits[] parameterUnits)
-
-
Method Details
-
wantDataUnit
Description copied from interface:MarkDataSelector
Test a data unit that within a mark to see if it's wanted or not.- Specified by:
wantDataUnit
in interfaceMarkDataSelector
- Parameters:
dataUnit
- data unitoverlapLevel
- level of overlap with the mark.- Returns:
- true if we want to keep the data unit.
-