|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.qt.impl.QtResource<QPoint>
com.sibvisions.rad.ui.qt.impl.QtPoint
public class QtPoint
A QtPoint represents a location in (x, y) coordinate space, specified
in integer precision.
| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtResource |
|---|
resource |
| Constructor Summary | |
|---|---|
QtPoint(int pX,
int pY)
Creates an instance of QtPoint at the specified
(x, y) location in the coordinate space. |
|
QtPoint(QPoint pPoint)
Creates an instance of QtPoint based on
a QPoint. |
|
| 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.qt.impl.QtResource |
|---|
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 QtPoint(QPoint pPoint)
QtPoint based on
a QPoint.
pPoint - QPoint
public QtPoint(int pX,
int pY)
QtPoint at the specified
(x, y) location in the coordinate space.
pX - the x coordinatepY - the y coordinateQPoint.QPoint(int, int)| 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 | |||||||||