isEditable

fun isEditable(editable: Boolean = true): SwingMatcher

Matches a component whose editable state equals editable, read from JTextComponent.isEditable for a text component and JComboBox.isEditable for a combo box. A component that carries no editable state never matches, in either direction; see isSelected for what that means for the negated form.

Parameters

editable

the state to require, true by default.