|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<Point>
com.sibvisions.rad.ui.awt.impl.AwtPoint
public class AwtPoint
A point representing a location in (x, y) coordinate space, specified in integer precision.
Field Summary |
---|
Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
---|
resource |
Constructor Summary | |
---|---|
AwtPoint(int pX,
int pY)
Creates an instance of AwtPoint at the specified
(x, y) location in the coordinate space. |
|
AwtPoint(Point pPoint)
Creates an instance of AwtPoint based on
a java.awt.Point . |
Method Summary | |
---|---|
int |
getX()
The X coordinate of the upper-left corner of the IPoint . |
int |
getY()
The Y coordinate of the upper-left corner of the IPoint . |
void |
setX(int pX)
Sets the x coordinate of the IPoint . |
void |
setY(int pY)
Sets the y coordinate of the IPoint . |
Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
---|
equals, getResource, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.rad.ui.IResource |
---|
getResource |
Constructor Detail |
---|
public AwtPoint(Point pPoint)
AwtPoint
based on
a java.awt.Point
.
pPoint
- java.awt.PointPoint
public AwtPoint(int pX, int pY)
AwtPoint
at the specified
(x, y) location in the coordinate space.
pX
- the x coordinatepY
- the y coordinateMethod Detail |
---|
public int getX()
IPoint
.
getX
in interface IPoint
public void setX(int pX)
IPoint
.
setX
in interface IPoint
pX
- the x coordinatepublic int getY()
IPoint
.
getY
in interface IPoint
public void setY(int pY)
IPoint
.
setY
in interface IPoint
pY
- the y coordinate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |