Class ScanDot

  • All Implemented Interfaces:
    java.lang.Comparable

    public class ScanDot
    extends java.lang.Object
    implements java.lang.Comparable

    A single scandot (opposed to a Polygon).

    © 2002 Christian Treber, ct@ctreber.com

    • Constructor Summary

      Constructors 
      Constructor Description
      ScanDot​(int pType, int pX, int pY)  
      ScanDot​(int pType, Point2D pPoint)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(java.lang.Object o)  
      int getType()  
      int getX()  
      int getY()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ScanDot

        public ScanDot​(int pType,
                       int pX,
                       int pY)
      • ScanDot

        public ScanDot​(int pType,
                       Point2D pPoint)
    • Method Detail

      • compareTo

        public int compareTo​(java.lang.Object o)
        Specified by:
        compareTo in interface java.lang.Comparable
      • getType

        public int getType()
      • getX

        public int getX()
      • getY

        public int getY()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object