com.ibm.broker.config.appdev

Class Point

  • java.lang.Object
    • com.ibm.broker.config.appdev.Point
  • All Implemented Interfaces:
    java.io.Serializable


    public class Point
    extends java.lang.Object
    implements java.io.Serializable

    Each Point instance holds an x,y coordinate. This is used to specify the location of a node on the canvas.

     Change Activity:
     -------- ----------- -------------   ------------------------------------
     Reason:  Date:       Originator:     Comments:
     -------- ----------- -------------   ------------------------------------
     xxxxx.x  2010-08-10  dstorey           v7.0.0.2 Release
     xxxxx.x  2011-07-06  dstorey         v8.0.0.0 Release
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String copyright 
      int x 
      int y 
    • Constructor Summary

      Constructors 
      Constructor and Description
      Point() 
      Point(int x, int y)
      Construct a Point with x and y coordinates
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object compare) 
      int getX() 
      int getY() 
      Point setX(int x) 
      Point setY(int y) 
      • Methods inherited from class java.lang.Object

        getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • x

        public int x
      • y

        public int y
    • Constructor Detail

      • Point

        public Point()
      • Point

        public Point(int x,
                     int y)
        Construct a Point with x and y coordinates
        Parameters:
        x - int ;
        y - int ;
    • Method Detail

      • setX

        public Point setX(int x)
        Parameters:
        x - int ;
      • setY

        public Point setY(int y)
        Parameters:
        y - int ;
      • getX

        public int getX()
        Returns:
        int; the x coordinate
      • getY

        public int getY()
        Returns:
        int; the y coordinate
      • equals

        public boolean equals(java.lang.Object compare)
        Overrides:
        equals in class java.lang.Object