public class Dimension extends Object implements SeleniumRepresentable
| Constructor and Description |
|---|
Dimension(int width,
int height)
Creates new dimension with given width and height
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getHeight()
Returns the height
|
int |
getWidth()
Returns the width
|
int |
hashCode() |
String |
inSeleniumRepresentation()
Returns Selenium's string representation of this object
|
Offset |
toOffset()
Converts dimension to offset
|
public Dimension(int width,
int height)
width - height - public int getWidth()
public int getHeight()
public Offset toOffset()
public String inSeleniumRepresentation()
SeleniumRepresentableinSeleniumRepresentation in interface SeleniumRepresentableCopyright © 2013 JBoss by Red Hat. All Rights Reserved.