|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.genui.UIResource<IPoint>
javax.rad.genui.UIPoint
public class UIPoint
Platform and technology independent point.
Field Summary |
---|
Fields inherited from class javax.rad.genui.UIResource |
---|
uiResource |
Constructor Summary | |
---|---|
|
UIPoint()
Creates a new instance of UIPoint with x=0 and y=0. |
|
UIPoint(int pX,
int pY)
Creates a new instance of UIPoint with the given x and y. |
protected |
UIPoint(IPoint pPoint)
Creates a new instance of UIPoint with the given 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 javax.rad.genui.UIResource |
---|
equals, getResource, getUIResource, 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 UIPoint()
UIPoint
with x=0 and y=0.
IPoint
protected UIPoint(IPoint pPoint)
UIPoint
with the given point.
pPoint
- the pointIPoint
public UIPoint(int pX, int pY)
UIPoint
with the given x and y.
pX
- the x valuepY
- the y valueIPoint
Method 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 |