T - The element type.public class BasicElement<T extends Element<T>> extends Object implements Element<T>
| Constructor and Description |
|---|
BasicElement() |
| Modifier and Type | Method and Description |
|---|---|
T |
and()
Returns this element object in order to allow chain calls in a more fluent way.
|
String |
getAttribute(String name)
Gets the value of a given attribute of the element.
|
String |
getCssValue(String propertyName)
Gets the value of a given CSS property.
|
String |
getId()
Retrieves the id of this element.
|
String |
getStyleClass()
Retrieves the style class of this element.
|
String |
getTitle()
Retrieves the title of this element.
|
boolean |
isDisplayed()
Verifies if the element is displayed on the page.
|
public T and()
Elementpublic String getAttribute(String name)
ElementgetAttribute in interface Element<T extends Element<T>>name - The name of the attribute.public String getCssValue(String propertyName)
ElementgetCssValue in interface Element<T extends Element<T>>propertyName - The name of the property.public String getId()
Elementpublic String getStyleClass()
ElementgetStyleClass in interface Element<T extends Element<T>>public String getTitle()
ElementCopyright © 2013. All Rights Reserved.