public interface UIComponent
Modifier and Type | Method and Description |
---|---|
Component |
getAwtComponent()
Returns the Java GUI component represented by this object.
|
Panel |
getContainer(String parentName)
Returns the first container named parentName or null if not found
|
String |
getDescription()
Returns an XML representation of the component and its subcomponents.
|
String |
getDescriptionTypeName()
Returns the name of the component as it will appear in the XML representation
returned by
getDescription() . |
String |
getLabel()
Returns the label displayed on this component, or null if this has no sense for this kind of components.
|
String |
getName()
Returns the internal name with which can be used to identify the component.
|
Assertion |
isEnabled() |
Assertion |
isVisible() |
UIComponent |
pressKey(Key key)
Simulates pressing a key while the focus is on the component.
|
UIComponent |
releaseKey(Key key)
Simulates releasing a key while the focus is on the component.
|
UIComponent |
typeKey(Key key)
Simulates typing a key while the focus is on the component.
|
Component getAwtComponent()
String getDescription()
String getDescriptionTypeName()
getDescription()
.Assertion isEnabled()
Assertion isVisible()
String getLabel()
String getName()
Panel getContainer(String parentName)
UIComponent typeKey(Key key)
UIComponent pressKey(Key key)
UIComponent releaseKey(Key key)
Copyright © 2004–2016. All rights reserved.