|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.assertj.swing.query.JTableColumnByIdentifierQuery
public final class JTableColumnByIdentifierQuery
An action that returns the index of a column in a JTable
whose identifier matches the given one.
JTable.getColumn(Object)
,
TableColumn.getModelIndex()
Method Summary | |
---|---|
static int |
columnIndexByIdentifier(JTable table,
Object identifier)
Returns the index of a column in a JTable whose identifier matches the given one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@RunsInCurrentThread public static int columnIndexByIdentifier(@Nonnull JTable table, @Nonnull Object identifier)
Returns the index of a column in a JTable
whose identifier matches the given one.
Note: This method is accessed in the current executing thread. Such thread may or may not be the event dispatch thread (EDT.) Client code must call this method from the EDT.
table
- the given JTable
.identifier
- the column identifier.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |