| javax.swing.table.DefaultTableModel net.sourceforge.squirrel_sql.fw.gui.BeanPropertyTableModel
BeanPropertyTableModel | public BeanPropertyTableModel()(Code) | | |
generateLine | protected Vector<Object> generateLine(String propName, Object bean, Method getter) throws InvocationTargetException, IllegalAccessException(Code) | | Generate a line for the passed property.
Parameters: propName - Name of the property. Parameters: bean - Bean containg the property. Parameters: getter - The "getter" function to retrieve theproperties value. A Vector containing the cells for the line inthe table. Element zero the first cell etc. Returnnull if this property is not to be addedto the table. |
setNameColumnName | public void setNameColumnName(String value)(Code) | | |
setValueColumnName | public void setValueColumnName(String value)(Code) | | |
Methods inherited from javax.swing.table.DefaultTableModel | public void addColumn(Object columnName)(Code)(Java Doc) public void addColumn(Object columnName, Vector columnData)(Code)(Java Doc) public void addColumn(Object columnName, Object[] columnData)(Code)(Java Doc) public void addRow(Vector rowData)(Code)(Java Doc) public void addRow(Object[] rowData)(Code)(Java Doc) protected static Vector convertToVector(Object[] anArray)(Code)(Java Doc) protected static Vector convertToVector(Object[][] anArray)(Code)(Java Doc) public int getColumnCount()(Code)(Java Doc) public String getColumnName(int column)(Code)(Java Doc) public Vector getDataVector()(Code)(Java Doc) public int getRowCount()(Code)(Java Doc) public Object getValueAt(int row, int column)(Code)(Java Doc) public void insertRow(int row, Vector rowData)(Code)(Java Doc) public void insertRow(int row, Object[] rowData)(Code)(Java Doc) public boolean isCellEditable(int row, int column)(Code)(Java Doc) public void moveRow(int start, int end, int to)(Code)(Java Doc) public void newDataAvailable(TableModelEvent event)(Code)(Java Doc) public void newRowsAdded(TableModelEvent e)(Code)(Java Doc) public void removeRow(int row)(Code)(Java Doc) public void rowsRemoved(TableModelEvent event)(Code)(Java Doc) public void setColumnCount(int columnCount)(Code)(Java Doc) public void setColumnIdentifiers(Vector columnIdentifiers)(Code)(Java Doc) public void setColumnIdentifiers(Object[] newIdentifiers)(Code)(Java Doc) public void setDataVector(Vector dataVector, Vector columnIdentifiers)(Code)(Java Doc) public void setDataVector(Object[][] dataVector, Object[] columnIdentifiers)(Code)(Java Doc) public void setNumRows(int rowCount)(Code)(Java Doc) public void setRowCount(int rowCount)(Code)(Java Doc) public void setValueAt(Object aValue, int row, int column)(Code)(Java Doc)
|
|
|