public class TableLayout
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
columnIndex(java.lang.String col)
Get the index of a particular column.
|
int |
getColumnCount()
Get the number of columns in this layout.
|
java.util.List<java.lang.String> |
getColumns()
Get the headers of the columns.
|
public java.util.List<java.lang.String> getColumns()
public int columnIndex(java.lang.String col)
col
- The column.java.lang.IllegalArgumentException
- if the column is not in the layout.public int getColumnCount()