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, tooltipEquals
addAttributes, backgroundEquals, backgroundNear, foregroundEquals, foregroundNear, getContainer, getContainer, getDescription, getDescription, getName, getSubDescription, isEnabled, isVisible, pressKey, releaseKey, typeKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescriptionTypeName
protected AbstractButton(AbstractButton abstractButton)
public void click()
public Assertion iconEquals(Icon expected)
public String getLabel()
UIComponent
getLabel
in interface UIComponent
getLabel
in class AbstractUIComponent
public Trigger triggerClick()
Copyright © 2004–2016. All rights reserved.