com.sibvisions.rad.ui.web.impl
Class WebDimension

java.lang.Object
  extended by com.sibvisions.rad.ui.web.impl.WebResource
      extended by com.sibvisions.rad.ui.web.impl.WebDimension
All Implemented Interfaces:
IDimension, IResource

public class WebDimension
extends WebResource
implements IDimension

Web server implementation of IDimension.


Constructor Summary
WebDimension()
          Creates a new instance of WebDimension.
WebDimension(int pWidth, int pHeight)
          Creates a new instance of WebDimension with the given with and height.
 
Method Summary
 String getAsString()
          Gets this Object as String.
 int getHeight()
          The height of the IDimension.
 int getWidth()
          The width of the IDimension.
 void setAsString(String pValue)
          Sets this Object as String.
 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.web.impl.WebResource
getNullableAsString, getResource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Constructor Detail

WebDimension

public WebDimension()
Creates a new instance of WebDimension.

See Also:
IDimension

WebDimension

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

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

getAsString

public String getAsString()
Gets this Object as String.

Specified by:
getAsString in class WebResource
Returns:
the String.

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

setAsString

public void setAsString(String pValue)
Sets this Object as String.

Overrides:
setAsString in class WebResource
Parameters:
pValue - the String.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.