Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.geometry
Class Point

java.lang.Object
  extended by org.jboss.arquillian.ajocado.geometry.Point

public class Point
extends Object

Point as position rendered on browser canvas.

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
Point(int x, int y)
           
 
Method Summary
 String getCoords()
          Gets coordinations of this point as string used in Selenium.
 int getX()
           
 int getY()
           
 Point minus(Point point)
           
 Point plus(Point point)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Point

public Point(int x,
             int y)
Method Detail

getX

public int getX()

getY

public int getY()

getCoords

public String getCoords()
Gets coordinations of this point as string used in Selenium.

Returns:
coordinations of this point as string used in Selenium.

minus

public Point minus(Point point)

plus

public Point plus(Point point)

toString

public String toString()
Overrides:
toString in class Object

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.