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

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

public class WebPoint
extends WebResource
implements IPoint

Web server implementation of IPoint.


Constructor Summary
WebPoint()
          Creates a new instance of WebPoint.
WebPoint(int pX, int pY)
          Creates a new instance of WebPoint with the given x and y.
 
Method Summary
 String getAsString()
          Gets this Object as String.
 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 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
 

Constructor Detail

WebPoint

public WebPoint()
Creates a new instance of WebPoint.

See Also:
IPoint

WebPoint

public WebPoint(int pX,
                int pY)
Creates a new instance of WebPoint with the given x and y.

Parameters:
pX - the x value
pY - the y value
See Also:
IPoint
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

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.