|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xvolks.jnative.misc.basicStructures.AbstractBasicData<Point>
org.xvolks.jnative.misc.Point
public class Point
$Id: Point.java,v 1.5 2006/06/09 20:44:05 mdenty Exp $
Structure C
typedef struct tagPOINT {
LONG x;
LONG y;
} POINT, *PPOINT, NEAR *NPPOINT, FAR *LPPOINT;
This software is released under the LGPL.
| Field Summary | |
|---|---|
protected int |
x
|
protected int |
y
|
| Fields inherited from class org.xvolks.jnative.misc.basicStructures.AbstractBasicData |
|---|
mValue, offset, pointer |
| Constructor Summary | |
|---|---|
Point()
|
|
Point(int x,
int y)
|
|
| Method Summary | |
|---|---|
Pointer |
createPointer()
Method createPointer reserves a native MemoryBlock and copy its value in it |
int |
getSizeOf()
Method getSizeOf |
Point |
getValue()
Method getValue |
Point |
getValueFromPointer()
Method getValueFromPointer |
int |
getX()
Returns X |
int |
getY()
Returns Y |
static int |
sizeOf()
|
| Methods inherited from class org.xvolks.jnative.misc.basicStructures.AbstractBasicData |
|---|
getNextByte, getNextInt, getNextLong, getNextShort, getPointer, getValueAsString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int x
protected int y
| Constructor Detail |
|---|
public Point()
public Point(int x,
int y)
| Method Detail |
|---|
public Pointer createPointer()
throws NativeException
NativeException
public Point getValueFromPointer()
throws NativeException
NativeExceptionpublic int getX()
public int getY()
public Point getValue()
getValue in interface BasicData<Point>getValue in class AbstractBasicData<Point>public int getSizeOf()
public static int sizeOf()
|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||