public abstract class AbstractButton extends AbstractSwingUIComponent
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractButton(AbstractButton abstractButton) |
| Modifier and Type | Method and Description |
|---|---|
void |
click() |
String |
getLabel()
Returns the label displayed on this component, or null if this has no sense for this kind of components.
|
Assertion |
iconEquals(Icon expected)
Checks the icon displayed by the component.
|
Assertion |
textEquals(String text) |
Trigger |
triggerClick() |
getAwtComponent, tooltipContains, tooltipEqualsaddAttributes, backgroundEquals, backgroundNear, foregroundEquals, foregroundNear, getContainer, getContainer, getDescription, getDescription, getName, getSubDescription, isEnabled, isVisible, pressKey, releaseKey, typeKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionTypeNameprotected AbstractButton(AbstractButton abstractButton)
public void click()
public Assertion iconEquals(Icon expected)
public String getLabel()
UIComponentgetLabel in interface UIComponentgetLabel in class AbstractUIComponentpublic Trigger triggerClick()
Copyright © 2004–2016. All rights reserved.