| Modifier and Type | Field and Description |
|---|---|
| pack-priv Object[] | |
| pack-priv JTable | |
| pack-priv ArrayList |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static void | |
| public void | |
| public void | fireTableChanged(TableModelEvent e)
Overrides javax. Forwards the given notification event to all
|
| public Class | getColumnClass(int i)
Overrides javax. Implements javax. Returns |
| public int | |
| public String | getColumnName(int i)
Overrides javax. Implements javax. Get the name for the specified column. |
| public ArrayList | |
| public Object[] | |
| public int | getRowCount()
Implements javax. Get the number of rows currently in the table. |
| public Object | getValueAt(int row, int col)
Implements javax. Get the object at the specified cell location. |
| public void | |
| public void |
| headers | back to summary |
|---|---|
| pack-priv Object[] headers | |
| jtable | back to summary |
|---|---|
| pack-priv JTable jtable | |
| rows | back to summary |
|---|---|
| pack-priv ArrayList<Object[]> rows | |
| GridSwing | back to summary |
|---|---|
| public GridSwing() Default constructor. | |
| addRow | back to summary |
|---|---|
| public void addRow(Object[] r) Append a tuple to the end of the table. | |
| autoSizeTableColumns | back to summary |
|---|---|
| public static void autoSizeTableColumns(JTable table) | |
| clear | back to summary |
|---|---|
| public void clear() Remove data from all cells in the table (without affecting the current headings). | |
| fireTableChanged | back to summary |
|---|---|
| public void fireTableChanged(TableModelEvent e) Overrides javax. Doc from javax. Forwards the given notification event to all
| |
| getColumnClass | back to summary |
|---|---|
| public Class Overrides javax. Implements javax. Doc from javax. Returns | |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() Implements javax. Get the number of columns. | |
| getColumnName | back to summary |
|---|---|
| public String getColumnName(int i) Overrides javax. Implements javax. Get the name for the specified column. | |
| getData | back to summary |
|---|---|
| public ArrayList Get the current table data.
Each row is represented as a The first row is at offset 0, the nth row at offset n etc. | |
| getHead | back to summary |
|---|---|
| public Object[] getHead() Get the current column headings. | |
| getRowCount | back to summary |
|---|---|
| public int getRowCount() Implements javax. Get the number of rows currently in the table. | |
| getValueAt | back to summary |
|---|---|
| public Object getValueAt(int row, int col) Implements javax. Get the object at the specified cell location. | |
| setHead | back to summary |
|---|---|
| public void setHead(Object[] h) Set the name of the column headings. | |
| setJTable | back to summary |
|---|---|
| public void setJTable(JTable table) | |