Class CompassDemo

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class CompassDemo
extends JPanel
A demo application showing how to use the CompassPlot class.
Author:
Bryan Scott
See Also:
Serialized Form
  • Field Details

    • DEBUG

      public static final boolean DEBUG
      Whether to output messages to the console
      See Also:
      Constant Field Values
    • NEEDLE_TYPES

      public static final String[] NEEDLE_TYPES
      The available needle types.
  • Constructor Details

    • CompassDemo

      public CompassDemo()
      Default constructor.
  • Method Details

    • main

      public static void main​(String[] args)
      Entry point for the demo application.
      Parameters:
      args - ignored.
    • adjustData

      public void adjustData​(double value)
      Updates the data.
      Parameters:
      value - the value.