org.gnu.gdk

Class Point

public class Point extends MemStruct

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.gnome.gdk.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
intgetX()
Retrieve the x coordinate for the Point.
intgetY()
Retrieve the y coordinate for the Point.
voidsetX(int x)
Set the x coordinate for the Point.
voidsetY(int y)
Set the y coordinate for the Point.

Constructor Detail

Point

public Point()
Construct an empty point

Point

public Point(int x, int y)

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Construct a Point providing the x and y coordinates.

Parameters: x y

Method Detail

getX

public int getX()

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Retrieve the x coordinate for the Point.

getY

public int getY()

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Retrieve the y coordinate for the Point.

setX

public void setX(int x)

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Set the x coordinate for the Point.

Parameters: x

setY

public void setY(int y)

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Set the y coordinate for the Point.

Parameters: y