java.lang.Object
org.jfree.chart.panel.AbstractOverlay
org.jfree.chart.panel.CrosshairOverlay
org.jfree.chart.fx.overlay.CrosshairOverlayFX
- All Implemented Interfaces:
PropertyChangeListener,Serializable,Cloneable,EventListener,OverlayFX,org.jfree.chart.panel.Overlay,org.jfree.chart.util.PublicCloneable
public class CrosshairOverlayFX extends org.jfree.chart.panel.CrosshairOverlay implements OverlayFX
An overlay for a
ChartViewer that draws crosshairs on a plot.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description CrosshairOverlayFX() -
Method Summary
Modifier and Type Method Description voidpaintOverlay(Graphics2D g2, ChartCanvas chartCanvas)Paints the content of the overlay onto the specified chart canvas.Methods inherited from class org.jfree.chart.panel.CrosshairOverlay
addDomainCrosshair, addRangeCrosshair, clearDomainCrosshairs, clearRangeCrosshairs, clone, drawHorizontalCrosshair, drawVerticalCrosshair, equals, getDomainCrosshairs, getRangeCrosshairs, paintOverlay, propertyChange, removeDomainCrosshair, removeRangeCrosshairMethods inherited from class org.jfree.chart.panel.AbstractOverlay
addChangeListener, fireOverlayChanged, notifyListeners, removeChangeListenerMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jfree.chart.panel.Overlay
addChangeListener, paintOverlay, removeChangeListener
-
Constructor Details
-
CrosshairOverlayFX
public CrosshairOverlayFX()
-
-
Method Details
-
paintOverlay
Description copied from interface:OverlayFXPaints the content of the overlay onto the specified chart canvas.- Specified by:
paintOverlayin interfaceOverlayFX- Parameters:
g2- the graphics target (nullnot permitted).chartCanvas- the chart canvas (nullnot permitted).
-