|
||||||||||
| 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<QRect>
com.sibvisions.rad.ui.qt.impl.QtRectangle
public class QtRectangle
A QtRectangle specifies an area in a coordinate space that is
enclosed by the QtRectangle object's top-left point
(x, y) in the coordinate space, its width, and its height.
| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtResource |
|---|
resource |
| Constructor Summary | |
|---|---|
QtRectangle(int pX,
int pY,
int pWidth,
int pHeight)
Constructs a new QtRectangle whose top-left corner is
specified as (x, y) and whose width and height
are specified by the arguments of the same name. |
|
QtRectangle(QRect pRectangle)
Creates an instance of QtRectangle based on
a QRect. |
|
| 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 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 |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Constructor Detail |
|---|
public QtRectangle(QRect pRectangle)
QtRectangle based on
a QRect.
pRectangle - java.awt.Rectangle
public QtRectangle(int pX,
int pY,
int pWidth,
int pHeight)
QtRectangle whose top-left corner is
specified as (x, y) and whose width and height
are specified by the arguments of the same name.
pX - the specified x coordinatepY - the specified y coordinatepWidth - the width of the QtRectanglepHeight - the height of the QtRectangle| 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 | |||||||||