org.assertj.swing.query
Class AbstractButtonTextQuery
java.lang.Object
org.assertj.swing.query.AbstractButtonTextQuery
public final class AbstractButtonTextQuery
- extends Object
Returns the text of a Swing AbstractButton
.
- Author:
- Alex Ruiz, Yvonne Wang
- See Also:
AbstractButton.getText()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
textOf
@RunsInEDT
@Nullable
public static String textOf(@Nonnull
AbstractButton button)
- Returns the text of the given Swing
AbstractButton
.
- Parameters:
button
- the given AbstractButton
.
- Returns:
- the text of the given Swing
AbstractButton
.
Copyright © 2014–2015 AssertJ. All rights reserved.