Class PointDisplay


  • public class PointDisplay
    extends java.lang.Object
    A simple graphics class that displays an array of points.
    Version:
    1/19/2021
    Author:
    Nathan Sprague
    • Constructor Summary

      Constructors 
      Constructor Description
      PointDisplay​(Point[] points)
      Construct a point display with no title.
      PointDisplay​(Point[] points, java.lang.String title)
      Construct a point display.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PointDisplay

        public PointDisplay​(Point[] points,
                            java.lang.String title)
        Construct a point display. Once the display is instantiated it will immediately display the provided points.
        Parameters:
        points - The points to display
        title - The window title.
      • PointDisplay

        public PointDisplay​(Point[] points)
        Construct a point display with no title. Once the display is instantiated it will immediately display the provided points.
        Parameters:
        points - The points to display