Class LinesOverlay
java.lang.Object
org.dawnsci.plotting.jreality.overlay.events.AbstractOverlayConsumer
org.dawnsci.plotting.jreality.overlay.LinesOverlay
- All Implemented Interfaces:
EventListener,Overlay1DConsumer,AreaSelectEventListener,Overlay2DConsumer,OverlayConsumer,ImagePositionListener
Draws one or more vertical lines at various places in the data.
-
Field Summary
Fields inherited from class org.dawnsci.plotting.jreality.overlay.events.AbstractOverlayConsumer
parts, provider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int[]createDrawingParts(OverlayProvider provider) Implement to create the parts required for drawing.protected voidImplement this method to draw the default view.voidsetXValues(double[] xValues) voidsetY(org.eclipse.january.dataset.Dataset y) voidMethods inherited from class org.dawnsci.plotting.jreality.overlay.events.AbstractOverlayConsumer
addGraphSelectionListener, areaSelected, enableMouseListener, hideOverlays, imageDragged, imageFinished, imageStart, notifyGraphSelectionListeners, registerProvider, removePrimitives, showOverlays, unregisterProvider
-
Constructor Details
-
LinesOverlay
-
-
Method Details
-
createDrawingParts
Description copied from class:AbstractOverlayConsumerImplement to create the parts required for drawing.- Specified by:
createDrawingPartsin classAbstractOverlayConsumer
-
drawOverlay
Description copied from class:AbstractOverlayConsumerImplement this method to draw the default view. If it does nothing, nothing is drawn until the user clicks on the diagram and drawOverlay(AreaSelectEvent) is called.- Specified by:
drawOverlayin classAbstractOverlayConsumer
-
setXValues
public void setXValues(double[] xValues) -
setY
public void setY(org.eclipse.january.dataset.Dataset y) -
setYs
-