|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.genui.UIResource<IDimension>
javax.rad.genui.UIDimension
public class UIDimension
Platform and technology independent Dimension.
| Field Summary |
|---|
| Fields inherited from class javax.rad.genui.UIResource |
|---|
uiResource |
| Constructor Summary | |
|---|---|
|
UIDimension()
Creates a new instance of UIDimension. |
protected |
UIDimension(IDimension pDimension)
Creates a new instance of UIDimension with the given
dimension. |
|
UIDimension(int pWidth,
int pHeight)
Creates a new instance of IDimension with the given with and height. |
| 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 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 UIDimension()
UIDimension.
IDimensionprotected UIDimension(IDimension pDimension)
UIDimension with the given
dimension.
pDimension - the dimensionIDimension
public UIDimension(int pWidth,
int pHeight)
IDimension with the given with and height.
pWidth - the widthpHeight - the heightIDimension| 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 | |||||||||