|
||||||||||
| 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<QSize>
com.sibvisions.rad.ui.qt.impl.QtDimension
public class QtDimension
The QtDimension class encapsulates the width and
height of a component (in integer precision) in a single object.
| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtResource |
|---|
resource |
| Constructor Summary | |
|---|---|
QtDimension(int pWidth,
int pHeight)
Creates an instance of QtDimension whose width
and height are the same as for the specified dimension. |
|
QtDimension(QSize pDimension)
Creates an instance of QtDimension based on
a QSize. |
|
| Method Summary | |
|---|---|
int |
getHeight()
The height of the IDimension. |
int |
getWidth()
The width of the IDimension. |
void |
setHeight(int pHeight)
Sets the height of the IDimension. |
void |
setWidth(int pWidth)
Sets the width of the IDimension. |
| 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 QtDimension(QSize pDimension)
QtDimension based on
a QSize.
pDimension - the dimension objectQSize.QSize(int, int)
public QtDimension(int pWidth,
int pHeight)
QtDimension whose width
and height are the same as for the specified dimension.
pWidth - the specified widthpHeight - the specified heightQSize.QSize(int, int)| Method Detail |
|---|
public 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 | |||||||||