|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.MemStruct
org.gnu.gdk.Point
public class Point
Represents a point with x and y coordinates.
Constructor Summary | |
---|---|
Point()
Construct an empty point |
|
Point(int x,
int y)
Construct a Point providing the x and y coordinates. |
Method Summary | |
---|---|
int |
getX()
Retrieve the x coordinate for the Point. |
int |
getY()
Retrieve the y coordinate for the Point. |
void |
setX(int x)
Set the x coordinate for the Point. |
void |
setY(int y)
Set the y coordinate for the Point. |
Methods inherited from class org.gnu.glib.MemStruct |
---|
getMemStructFromHandle |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Point()
public Point(int x, int y)
x
- y
- Method Detail |
---|
public int getX()
public void setX(int x)
x
- public int getY()
public void setY(int y)
y
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |