Class ScatterPlotDemo3

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.jfree.ui.ApplicationFrame
org.jfree.chart.demo.ScatterPlotDemo3
All Implemented Interfaces:
WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, ChartMouseListener

public class ScatterPlotDemo3
extends org.jfree.ui.ApplicationFrame
implements ChartMouseListener
A demo scatter plot with some code showing how to convert between Java2D coordinates and (x, y) coordinates.
See Also:
Serialized Form
  • Constructor Details

    • ScatterPlotDemo3

      public ScatterPlotDemo3​(String title)
      A demonstration application showing a scatter plot.
      Parameters:
      title - the frame title.
  • Method Details

    • chartMouseClicked

      public void chartMouseClicked​(ChartMouseEvent event)
      Callback method for receiving notification of a mouse click on a chart.
      Specified by:
      chartMouseClicked in interface ChartMouseListener
      Parameters:
      event - information about the event.
    • chartMouseMoved

      public void chartMouseMoved​(ChartMouseEvent event)
      Callback method for receiving notification of a mouse movement on a chart.
      Specified by:
      chartMouseMoved in interface ChartMouseListener
      Parameters:
      event - information about the event.
    • main

      public static void main​(String[] args)
      Starting point for the demonstration application.
      Parameters:
      args - ignored.