|
||||||||||
| 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<java.awt.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(java.awt.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(java.awt.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 coordinate| Method Detail |
|---|
public int getX()
IPoint.
getX in interface IPointpublic void setX(int pX)
IPoint.
setX in interface IPointpX - the x coordinatepublic int getY()
IPoint.
getY in interface IPointpublic void setY(int pY)
IPoint.
setY in interface IPointpY - the y coordinate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||