public class AttributeMixin<T extends UIObject> extends Object
Constructor and Description |
---|
AttributeMixin(T uiObject) |
Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String attributeName)
Get the attribute name on the UiObject
|
boolean |
hasAttribute(String attributeName)
Checks whether or not the UiObject has the element
|
void |
removeAttribute(String attributeName)
Removes the attribute from the UiObject
|
void |
setAttribute(String attributeName,
String attributeValue)
Sets the attribute on the UiObject
|
public AttributeMixin(T uiObject)
public void setAttribute(String attributeName, String attributeValue)
attributeName
- attribute nameattributeValue
- attribute valuepublic String getAttribute(String attributeName)
attributeName
- attribute namepublic void removeAttribute(String attributeName)
attributeName
- attribute namepublic boolean hasAttribute(String attributeName)
attributeName
- attribute nameCopyright © 2017. All rights reserved.