Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.Point

Availability: JDK 1.0

public class Point extends Object implements Serializable {
   // Public Constructors
1.1  public Point();
1.1  public Point(Point p);
      public Point(int x, int y);
   // Public Instance Variables
      public int x;
      public int y;
   // Public Instance Methods
      public boolean equals(Object obj);  // Overrides Object.equals()
1.1  public Point getLocation();
      public int hashCode();  // Overrides Object.hashCode()
      public void move(int x, int y);
1.1  public void setLocation(Point p);
1.1  public void setLocation(int x, int y);
      public String toString();  // Overrides Object.toString()
      public void translate(int x, int y);
}
Passed To:
Component.contains(), Component.getComponentAt(), Component.setLocation(), Container.getComponentAt(), Point.Point(), Point.setLocation(), Polygon.contains(), Rectangle.add(), Rectangle.contains(), Rectangle.Rectangle(), Rectangle.setLocation(), ScrollPane.setScrollPosition().
Returned By:
Component.getLocation(), Component.getLocationOnScreen(), Component.location(), ComponentPeer.getLocationOnScreen(), GridBagLayout.getLayoutOrigin(), GridBagLayout.location(), MouseEvent.getPoint(), Point.getLocation(), Rectangle.getLocation(), ScrollPane.getScrollPosition().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.