|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
edu.upenn.gloDB.gui.QueryBuilder.ListTableModel
private class QueryBuilder.ListTableModel
Field Summary | |
---|---|
private java.lang.String[] |
columnNames
|
private java.util.ArrayList |
items
Stores the QueryElements that are in the table. |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
private |
QueryBuilder.ListTableModel()
|
Method Summary | |
---|---|
void |
addRow(QueryElement qElement)
Append a new row to the end of the table. |
void |
addRowAt(QueryElement qElement,
int row)
Add new row to table. |
int |
getColumnCount()
|
java.lang.String |
getColumnName(int col)
|
QueryElement |
getRow(int row)
Returns the QueryElement that represents the specified row in the table. |
int |
getRowCount()
|
java.lang.Object |
getValueAt(int row,
int col)
Operator, Negate, Track, Qualifiers |
void |
removeAllRows()
Removes all rows from the table. |
void |
removeRow(int row)
Removes the QueryElement that represents the specified row in the table. |
void |
removeRows(int[] rows)
Removes the QueryElements that represent the rows specified. |
void |
removeRows(int minRow,
int maxRow)
Removes the QueryElements that represent the specified row in the table. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.ArrayList items
private java.lang.String[] columnNames
Constructor Detail |
---|
private QueryBuilder.ListTableModel()
Method Detail |
---|
public void addRow(QueryElement qElement)
public void addRowAt(QueryElement qElement, int row)
public QueryElement getRow(int row)
public void removeRow(int row)
public void removeRows(int[] rows)
public void removeRows(int minRow, int maxRow)
public void removeAllRows()
public int getColumnCount()
public int getRowCount()
public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int row, int col)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |