java.awt
Class Point
java.lang.Object
|
+--java.awt.Point
- All Implemented Interfaces:
- java.io.Serializable
- public synchronized class Point
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Field Summary |
private static long |
serialVersionUID
|
int |
x
|
int |
y
|
Constructor Summary |
Point()
|
Point(int i1,
int i2)
|
Point(java.awt.Point p)
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.awt.Point |
getLocation()
|
int |
hashCode()
|
void |
move(int i1,
int i2)
|
void |
setLocation(int i1,
int i2)
|
void |
setLocation(java.awt.Point p)
|
java.lang.String |
toString()
|
void |
translate(int i1,
int i2)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
x
public int x
y
public int y
Point
public Point()
Point
public Point(int i1,
int i2)
Point
public Point(java.awt.Point p)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class ProgramElementDocImpl
getLocation
public java.awt.Point getLocation()
hashCode
public int hashCode()
- Overrides:
hashCode
in class ProgramElementDocImpl
move
public void move(int i1,
int i2)
setLocation
public void setLocation(int i1,
int i2)
setLocation
public void setLocation(java.awt.Point p)
toString
public java.lang.String toString()
- Overrides:
toString
in class ProgramElementDocImpl
translate
public void translate(int i1,
int i2)