|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.genui.UIResource<IRectangle>
javax.rad.genui.UIRectangle
public class UIRectangle
Platform and technology independent rectangle.
| Field Summary |
|---|
| Fields inherited from class javax.rad.genui.UIResource |
|---|
uiResource |
| Constructor Summary | |
|---|---|
|
UIRectangle()
Creates a new instance of UIRectangle with x=0, y=0, with=0 and height=0. |
|
UIRectangle(int pX,
int pY,
int pWidth,
int pHeight)
Creates a new instance of IRectangle with the given x, y, width and height. |
|
UIRectangle(IPoint pPoint,
IDimension pDimension)
Creates a new instance of UIRectangle with the given IPoint and
IDimension. |
protected |
UIRectangle(IRectangle pRectangle)
Creates a new instance of UIRectangle with the given rectangle. |
| Method Summary | |
|---|---|
int |
getHeight()
The height of the IDimension. |
int |
getWidth()
The width of the IDimension. |
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 |
setHeight(int pHeight)
Sets the height of the IDimension. |
void |
setWidth(int pWidth)
Sets the width of the IDimension. |
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, eventResourceChanged, eventResourceChanged, fireResourceChanged, getObject, getObjectNames, getResource, getUIResource, hashCode, hasResourceHandler, putObject, 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 UIRectangle()
UIRectangle with x=0, y=0, with=0 and height=0.
IRectangleprotected UIRectangle(IRectangle pRectangle)
UIRectangle with the given rectangle.
pRectangle - the rectangleIRectangle
public UIRectangle(IPoint pPoint,
IDimension pDimension)
UIRectangle with the given IPoint and
IDimension.
pPoint - the point valuepDimension - the dimension valueIRectangle,
IPoint,
IDimension
public UIRectangle(int pX,
int pY,
int pWidth,
int pHeight)
IRectangle with the given x, y, width and height.
pX - the x valuepY - the y valuepWidth - the widthpHeight - the heightIRectangle| 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 coordinatepublic int getWidth()
IDimension.
getWidth in interface IDimensionpublic void setWidth(int pWidth)
IDimension.
setWidth in interface IDimensionpWidth - the widthpublic int getHeight()
IDimension.
getHeight in interface IDimensionpublic void setHeight(int pHeight)
IDimension.
setHeight in interface IDimensionpHeight - the height
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||