public final class JTableColumnByIdentifierQuery extends Object
JTable whose identifier matches
the given one.JTable.getColumn(Object),
TableColumn.getModelIndex()| Modifier and Type | Method and Description |
|---|---|
static int |
columnIndexByIdentifier(JTable table,
Object identifier)
Returns the index of a column in a
whose identifier matches the given one. |
@RunsInCurrentThread public static int columnIndexByIdentifier(JTable table, Object identifier)
JTable whose identifier matches the given one.
Note: This method is not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for calling this method from the EDT.
table - the given JTable.identifier - the column identifier.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.