Class Point

java.lang.Object
cruise.umple.compiler.Point

public class Point
extends java.lang.Object
class GeneratedInterface { isA GeneratedElement; //code = null; -> 1 UmpleModel model; 0..1 -> 1 UmpleInterface uInterface; } A point in cartesian coordinates, used in representing the layout of a diagram in Umple
  • Constructor Summary

    Constructors 
    Constructor Description
    Point​(int aX, int aY)  
  • Method Summary

    Modifier and Type Method Description
    static Point create​(int n)  
    void delete()  
    boolean equals​(java.lang.Object obj)  
    int getX()  
    int getY()  
    int hashCode()  
    boolean setX​(int aX)  
    boolean setY​(int aY)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Point

      public Point​(int aX, int aY)
  • Method Details

    • setX

      public boolean setX​(int aX)
    • setY

      public boolean setY​(int aY)
    • getX

      public int getX()
    • getY

      public int getY()
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • delete

      public void delete()
    • create

      public static Point create​(int n)
    • toString

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