|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.Parameter com.jniwrapper.Structure com.jniwrapper.win32.Point
public class Point
This class represents POINT
structure.
Field Summary |
---|
Fields inherited from class com.jniwrapper.Structure |
---|
i |
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Constructor Summary | |
---|---|
Point()
Constructs a point with zero x- and y-coordinates. |
|
Point(long x,
long y)
Constructs a new point with the given x and y values. |
|
Point(Point that)
Constructs a new point with the same coordinates as in the passed one. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
Compares two points. |
long |
getX()
|
long |
getY()
|
int |
hashCode()
|
void |
setX(long x)
|
void |
setY(long y)
|
Methods inherited from class com.jniwrapper.Structure |
---|
a, a, acceptIOPerformer, addMembers, computeLength, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
Methods inherited from class com.jniwrapper.Parameter |
---|
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Point()
public Point(long x, long y)
public Point(Point that)
that
- a point to copy the coordinates from.Method Detail |
---|
public long getX()
public void setX(long x)
public long getY()
public void setY(long y)
public java.lang.Object clone()
clone
in class com.jniwrapper.Structure
public boolean equals(java.lang.Object o)
equals
in class com.jniwrapper.Structure
o
- another instance of Point.
public int hashCode()
hashCode
in class com.jniwrapper.Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |