Package clipgenerator.clipDisplay
Class ClipDisplayMarker
java.lang.Object
PamView.paneloverlay.overlaymark.ExtMouseAdapter
PamView.paneloverlay.overlaymark.OverlayMarker
clipgenerator.clipDisplay.ClipDisplayMarker
- All Implemented Interfaces:
MarkManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSelectedMarkedDataUnits
(OverlayMark overlayMark, MarkDataSelector markDataSelector) Get a list of marked and selected data units.getSelectedMarkedDataUnits
(OverlayMark overlayMark, MarkDataSelector markDataSelector, int minOverlap) void
mouseClicked
(MouseEvent e, ClipDisplayUnit clipDisplayUnit) A display unit was clicked.Methods inherited from class PamView.paneloverlay.overlaymark.OverlayMarker
addObserver, canDestroyMark, canMark, createJPopMenu, destroyCurrentMark, findClosestData, getMarkWarning, getObserverCount, getObservers, getPopupMenuItems, getProjector, isCanMark, isMarkComplete, isMouseContained, isNowMarking, mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, needPaused, notifyObservers, removeObserver, setCurrentMark, setNowMarking, setProjector, showNoObserverPopup, showObserverPopups, updateMarkedDisplay
Methods inherited from class PamView.paneloverlay.overlaymark.ExtMouseAdapter
fxMouse, mouseClicked, mouseDragged, mouseEntered, mouseEntered, mouseExited, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, mouseWheelMoved, swingMouse
-
Constructor Details
-
ClipDisplayMarker
-
-
Method Details
-
getMarkerName
- Specified by:
getMarkerName
in classOverlayMarker
-
mouseClicked
A display unit was clicked.- Parameters:
e
-clipDisplayUnit
-
-
getCurrentMark
- Specified by:
getCurrentMark
in interfaceMarkManager
- Overrides:
getCurrentMark
in classOverlayMarker
-
getSelectedMarkedDataUnits
public List<PamDataUnit> getSelectedMarkedDataUnits(OverlayMark overlayMark, MarkDataSelector markDataSelector) Description copied from class:OverlayMarker
Get a list of marked and selected data units. For now, work off the hover data within the projector, but feel free to override or use a totally different system of working out what's in the mark - that's the responsibility of whatever display has the mark. The MarkDataSelector comes from the Mark Observer, i.e. the thing that uses the data.- Overrides:
getSelectedMarkedDataUnits
in classOverlayMarker
- Returns:
-
getSelectedMarkedDataUnits
public List<PamDataUnit> getSelectedMarkedDataUnits(OverlayMark overlayMark, MarkDataSelector markDataSelector, int minOverlap) - Overrides:
getSelectedMarkedDataUnits
in classOverlayMarker
-