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

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

public class WebRectangle
extends WebResource
implements IRectangle

Web server implementation of IRectangle.


Constructor Summary
WebRectangle()
          Creates a new instance of WebRectangle.
WebRectangle(int pX, int pY, int pWidth, int pHeight)
          Creates a new instance of WebRectangle with the given x, y, width 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.
 int getX()
          The X coordinate of the upper-left corner of the IPoint.
 int getY()
          The Y coordinate of the upper-left corner of the IPoint.
 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.
 void setX(int pX)
          Sets the x coordinate of the IPoint.
 void setY(int pY)
          Sets the y coordinate of the IPoint.
 
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
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Constructor Detail

WebRectangle

public WebRectangle()
Creates a new instance of WebRectangle.

See Also:
IRectangle

WebRectangle

public WebRectangle(int pX,
                    int pY,
                    int pWidth,
                    int pHeight)
Creates a new instance of WebRectangle with the given x, y, width and height.

Parameters:
pX - the x value
pY - the y value
pWidth - the width
pHeight - the height
See Also:
IRectangle
Method Detail

getAsString

public String getAsString()
Gets this Object as String.

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

getX

public int getX()
The X coordinate of the upper-left corner of the IPoint.

Specified by:
getX in interface IPoint
Returns:
the x coordinate.

setX

public void setX(int pX)
Sets the x coordinate of the IPoint.

Specified by:
setX in interface IPoint
Parameters:
pX - the x coordinate

getY

public int getY()
The Y coordinate of the upper-left corner of the IPoint.

Specified by:
getY in interface IPoint
Returns:
the y coordinate.

setY

public void setY(int pY)
Sets the y coordinate of the IPoint.

Specified by:
setY in interface IPoint
Parameters:
pY - the y coordinate

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.