|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UIComponent
Interface for all UI (user interface) components.
| Method Summary | |
|---|---|
java.awt.Component |
getAwtComponent()
Returns the Java GUI component represented by this object. |
Panel |
getContainer(java.lang.String parentName)
Returns the first container named parentName or null if not found |
java.lang.String |
getDescription()
Returns an XML representation of the component and its subcomponents. |
java.lang.String |
getDescriptionTypeName()
Returns the name of the component as it will appear in the XML representation returned by getDescription(). |
java.lang.String |
getLabel()
Returns the label displayed on this component, or null if this has no sense for this kind of components. |
java.lang.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. |
| Method Detail |
|---|
java.awt.Component getAwtComponent()
java.lang.String getDescription()
java.lang.String getDescriptionTypeName()
getDescription().
Assertion isEnabled()
Assertion isVisible()
java.lang.String getLabel()
java.lang.String getName()
Panel getContainer(java.lang.String parentName)
UIComponent typeKey(Key key)
UIComponent pressKey(Key key)
UIComponent releaseKey(Key key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||