|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<java.awt.Dimension>
com.sibvisions.rad.ui.awt.impl.AwtDimension
public class AwtDimension
The AwtDimension 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.awt.impl.AwtResource |
|---|
resource |
| Constructor Summary | |
|---|---|
AwtDimension(java.awt.Dimension pDimension)
Creates an instance of AwtDimension based on
a Dimension. |
|
AwtDimension(int pWidth,
int pHeight)
Creates an instance of AwtDimension whose width
and height are the same as for the specified dimension. |
|
| 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.awt.impl.AwtResource |
|---|
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 AwtDimension(java.awt.Dimension pDimension)
AwtDimension based on
a Dimension.
pDimension - java.awt.DimensionDimension
public AwtDimension(int pWidth,
int pHeight)
AwtDimension whose width
and height are the same as for the specified dimension.
pWidth - the specified widthpHeight - the specified height| 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 | |||||||||