Method Summary |
|
public int | addRow() |
public void | applyFilter(FilterExpression filter) Applys the given filter to the underlying
DataStore. |
public void | clearLockedColumn() Clear the locked column. |
public void | deleteRow(int aRow, boolean withDependencies) |
public void | dispose() |
public int | duplicateRow(int aRow) |
public void | fileImported() |
public int | findColumn(String aColname) |
public Class | getColumnClass(int aColumn) |
public int | getColumnCount() Return the number of columns in the model. |
public String | getColumnName(int aColumn) Return the name of the column as defined by the ResultSetData. |
public int | getColumnType(int aColumn) Returns the type (java.sql.Types) of the given column. |
public String | getColumnTypeName(int aColumn) Returns the name of the datatype (according to java.sql.Types) of the
given column. |
public int | getColumnWidth(int aColumn) Returns the current width of the given column. |
public DataStore | getDataStore() |
public String | getDbmsType(int col) |
public int | getRowCount() |
public boolean | getShowStatusColumn() |
public NamedSortDefinition | getSortDefinition() |
public Object | getValueAt(int row, int col) Return the contents of the field at the given position
in the result set.
Parameters: row - - The row to get. |
public int | insertRow(int afterRow) |
public boolean | isCellEditable(int row, int column) |
public boolean | isPrimarySortColumn(int col) |
public boolean | isSortAscending(int col) Return true if the data is sorted in ascending order. |
public boolean | isSortColumn(int col) |
public boolean | isUpdateable() |
public void | removeSortColumn(int column) |
public void | resetFilter() Clears the filter that is currently defined on the underlying
DataStore. |
public void | setAllowEditing(boolean aFlag) |
public void | setDataStore(DataStore newData) |
public void | setLockedColumn(int column) |
public void | setShowStatusColumn(boolean aFlag) Shows or hides the status column. |
public void | setSortDefinition(NamedSortDefinition definition) |
public void | setValueAt(Object aValue, int row, int column) |
public boolean | sort() Re-apply the last sort order defined. |
public void | sortByColumn(int column) Sort the data by the given column. |
public void | sortByColumn(int column, boolean ascending, boolean addSortColumn) |
public void | sortInBackground(WbTable table, int aColumn, boolean addSortColumn) |
public void | sortInBackground(WbTable table, int aColumn, boolean ascending, boolean addSortColumn) Start a new thread to sort the data. |