javax.rad.genui
Class UIDimension

java.lang.Object
  extended by javax.rad.genui.UIResource<IDimension>
      extended by javax.rad.genui.UIDimension
All Implemented Interfaces:
IDimension, IResource

public class UIDimension
extends UIResource<IDimension>
implements IDimension

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, getResource, getUIResource, 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

UIDimension

public UIDimension()
Creates a new instance of UIDimension.

See Also:
IDimension

UIDimension

protected UIDimension(IDimension pDimension)
Creates a new instance of UIDimension with the given dimension.

Parameters:
pDimension - the dimension
See Also:
IDimension

UIDimension

public UIDimension(int pWidth,
                   int pHeight)
Creates a new instance of IDimension with the given with and height.

Parameters:
pWidth - the width
pHeight - the height
See Also:
IDimension
Method Detail

getWidth

public int getWidth()
The width of the IDimension.

Specified by:
getWidth in interface IDimension
Returns:
the width.

setWidth

public void setWidth(int pWidth)
Sets the width of the IDimension.

Specified by:
setWidth in interface IDimension
Parameters:
pWidth - the width

getHeight

public int getHeight()
The height of the IDimension.

Specified by:
getHeight in interface IDimension
Returns:
the height.

setHeight

public void setHeight(int pHeight)
Sets the height of the IDimension.

Specified by:
setHeight in interface IDimension
Parameters:
pHeight - the height


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.