Package com.illumon.iris.console.db
Class BaseDBTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
com.illumon.iris.gui.table.IrisTableModel
com.illumon.iris.console.db.BaseDBTableModel
- All Implemented Interfaces:
UpdateListener,Workspace,Serializable,TableModel
- Direct Known Subclasses:
DBTableModel,InputRowsTableModel,IrisTreeTableModel
- See Also:
-
Field Summary
Fields inherited from class com.illumon.iris.gui.table.IrisTableModel
columnSet_, nonViewColumnSet_Fields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
ConstructorsConstructorDescriptionBaseDBTableModel(String name, com.fishlib.dataobjects.WColumnSet columnSet) BaseDBTableModel(String name, Table table) Construct a table model using thedefaultcolumn set factory. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fishlib.dataobjects.WColumnSetDeprecated.static com.fishlib.dataobjects.WColumnSetcolumnSet(String tableName, com.illumon.dataobjects.ColumnDefinition[] columnDefinition, String keyCols, String columnRenderers) Deprecated.Use aColumnSetFactoryinstead, such asColumnSetFactory.DEFAULTstatic com.fishlib.dataobjects.WColumnSetcolumnSet(String tableName, TableDefinition tableDefinition) Deprecated.Use aColumnSetFactoryinstead, such asColumnSetFactory.DEFAULTstatic com.fishlib.dataobjects.WColumnSetcolumnSet(String tableName, TableDefinition tableDefinition, com.fishlib.dataobjects.WColumn[] keys) Deprecated.Use aColumnSetFactoryinstead, such asColumnSetFactory.DEFAULTstatic com.fishlib.dataobjects.WColumnSetcolumnSet(String tableName, TableDefinition tableDefinition, String keyCols, String columnRenderers) Deprecated.Use aColumnSetFactoryinstead, such asColumnSetFactory.DEFAULTprotected voidprotected static StringgenerateThrowableHtmlMessage(String message, Throwable t) getName()protected static TablegetViewportForTable(Table table) protected voidvoidsetIrisTablePanel(IrisTablePanel irisTablePanel) protected voidsetProcessingMessage(String message) protected voidsetStatusMessage(String message) protected voidsetStatusMessageButton(String message, String buttonLabel, ActionListener actionListener) protected voidsetTabColor(Color color) voidsetWarningAndTableSize(long size) protected voidshowProcessingErrorPopup(String errorHeader, String message, Throwable throwable) protected voidshowProcessingErrorPopup(String message, Throwable throwable) Methods inherited from class com.illumon.iris.gui.table.IrisTableModel
dispose, getColumnClass, getColumnCount, getColumnIndex, getColumnName, getColumnSet, getNonViewColumnSet, getSortableColumns, getTableModelName, getWorkspaceInfo, isStale, processUpdate, registerAsUpdateListener, setColumnSet, setWorkspaceInfoMethods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.table.TableModel
getRowCount, getValueAtMethods inherited from interface com.illumon.iris.gui.workspace.Workspace
isGlobalSetting
-
Constructor Details
-
BaseDBTableModel
Construct a table model using thedefaultcolumn set factory.- Parameters:
name- The name of the column set.table- The table to base this model on.
-
BaseDBTableModel
-
-
Method Details
-
getViewportForTable
-
getName
-
setIrisTablePanel
-
getIrisTablePanel
-
setWarningAndTableSize
public void setWarningAndTableSize(long size) -
columnSet
@Deprecated public static com.fishlib.dataobjects.WColumnSet columnSet(String tableName, TableDefinition tableDefinition) Deprecated.Use aColumnSetFactoryinstead, such asColumnSetFactory.DEFAULT -
columnSet
@Deprecated public static com.fishlib.dataobjects.WColumnSet columnSet(String tableName, TableDefinition tableDefinition, com.fishlib.dataobjects.WColumn[] keys) Deprecated.Use aColumnSetFactoryinstead, such asColumnSetFactory.DEFAULT -
columnSet
@Deprecated public static com.fishlib.dataobjects.WColumnSet columnSet(String tableName, TableDefinition tableDefinition, String keyCols, String columnRenderers) Deprecated.Use aColumnSetFactoryinstead, such asColumnSetFactory.DEFAULT -
columnSet
@Deprecated public static com.fishlib.dataobjects.WColumnSet columnSet(String tableName, com.illumon.dataobjects.ColumnDefinition[] columnDefinition) Deprecated.Use aColumnSetFactoryinstead, such asColumnSetFactory.DEFAULT -
columnSet
@Deprecated public static com.fishlib.dataobjects.WColumnSet columnSet(String tableName, com.illumon.dataobjects.ColumnDefinition[] columnDefinition, String keyCols, String columnRenderers) Deprecated.Use aColumnSetFactoryinstead, such asColumnSetFactory.DEFAULT -
setTabColor
-
setProcessingMessage
-
setStatusMessage
-
setStatusMessageButton
protected void setStatusMessageButton(String message, String buttonLabel, ActionListener actionListener) -
removeStatusMessage
protected void removeStatusMessage() -
doneProcessing
protected void doneProcessing() -
showProcessingErrorPopup
-
showProcessingErrorPopup
-
generateThrowableHtmlMessage
-
ColumnSetFactoryinstead, such asColumnSetFactory.DEFAULT