public interface OverlaySupport
DisplayWindow.
Implement this interface to allow the Overlays Inspector panel to attach to a custom viewer (e.g. NDViewer2DataViewer).
| Modifier and Type | Method and Description |
|---|---|
void |
addOverlay(Overlay overlay)
Add an overlay to this viewer.
|
java.util.List<Overlay> |
getOverlays()
Return the list of overlays currently attached to this viewer.
|
void |
removeOverlay(Overlay overlay)
Remove an overlay from this viewer.
|
void addOverlay(Overlay overlay)
overlay - the overlay to addvoid removeOverlay(Overlay overlay)
overlay - the overlay to removejava.util.List<Overlay> getOverlays()