| java.lang.Object javax.swing.table.AbstractTableModel org.netbeans.modules.sql.framework.ui.view.graph.MetaTableModel
MetaTableModel | public class MetaTableModel extends AbstractTableModel (Code) | | This class provide a model for JMetaTableModel
author: radval version: $Revision$ |
Inner Class :class ColumnDataWrapper | |
Constructor Summary | |
public | MetaTableModel() | public | MetaTableModel(DBTable table, int tType) Creates a new instance of MetaTableModel, associating the given DBTable object with
it. |
MetaTableModel | public MetaTableModel()(Code) | | Creates a new instance of MetaTableModel
|
MetaTableModel | public MetaTableModel(DBTable table, int tType)(Code) | | Creates a new instance of MetaTableModel, associating the given DBTable object with
it.
Parameters: table - DBTable object to associate with this instance |
delistDisableRow | public void delistDisableRow(int rowIndex)(Code) | | Description of the Method
Parameters: rowIndex - Description of the Parameter |
disableRows | public void disableRows(int rowIndex)(Code) | | Description of the Method
Parameters: rowIndex - Description of the Parameter |
getColumn | public DBColumn getColumn(int idx)(Code) | | get the SQLColumnMetadata for a table row
Parameters: idx - index of column whose metadata will be retrieved SQLColumnMetadata instance associated with column |
getColumnClass | public Class getColumnClass(int columnIndex)(Code) | | Gets the columnClass attribute of the ColumnTableModel object
Parameters: columnIndex - Description of the Parameter The columnClass value |
getColumnCount | public int getColumnCount()(Code) | | Gets the columnCount attribute of the ColumnTableModel object
The columnCount value |
getColumnName | public String getColumnName(int columnIndex)(Code) | | Gets the columnName attribute of the ColumnTableModel object
Parameters: columnIndex - Description of the Parameter The columnName value |
getRowCount | public int getRowCount()(Code) | | Gets the rowCount attribute of the ColumnTableModel object
The rowCount value |
getSQLColumn | public DBColumn getSQLColumn(int idx)(Code) | | get the SQLColumnMetadata for a table row
Parameters: idx - index of column whose metadata will be retrieved SQLColumnMetadata instance associated with column |
getValueAt | public Object getValueAt(int rowIndex, int columnIndex)(Code) | | Gets the valueAt attribute of the ColumnTableModel object
Parameters: rowIndex - Description of the Parameter Parameters: columnIndex - Description of the Parameter The valueAt value |
isCellEditable | public boolean isCellEditable(int rowIndex, int columnIndex)(Code) | | Gets the cellEditable attribute of the ColumnTableModel object
Parameters: rowIndex - Description of the Parameter Parameters: columnIndex - Description of the Parameter The cellEditable value |
isFiltered | public boolean isFiltered(int row)(Code) | | Tells whether the filter has been applied to the particular column.
Parameters: row - - row index bool |
isValidationPresent | public boolean isValidationPresent(int row)(Code) | | Whether perticular column is part of Validation condition.
Parameters: row - - row index bool |
resetDisabledRowsList | public void resetDisabledRowsList()(Code) | | Description of the Method
|
resetFilters | public void resetFilters()(Code) | | Resets the filter flags in all columns, each time we click ok.
|
resetValidationFlag | public void resetValidationFlag()(Code) | | Resets the validation flag.
|
setFilter | public void setFilter(String name, boolean filter)(Code) | | Sets the filter for the column
Parameters: name - - column name Parameters: filter - - boolean flag |
setValidationFlag | public void setValidationFlag(String name, boolean flag)(Code) | | Sets validation flag for the column name passed.
Parameters: name - Parameters: filter - |
setValueAt | public void setValueAt(Object aValue, int rowIndex, int columnIndex)(Code) | | Sets the valueAt attribute of the ColumnTableModel object
Parameters: aValue - The new valueAt value Parameters: rowIndex - The new valueAt value Parameters: columnIndex - The new valueAt value |
|
|