public final class InstanceSetTableModelFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
InstanceSetTableModel |
createTableModel(InstanceSet rs)
Creates a table model by using the given
InstanceSet . |
InstanceSetTableModel |
generateDefaultTableModel(InstanceSet is)
Generates a
TableModel that gets its contents filled from a
InstanceSet . |
static InstanceSetTableModelFactory |
getInstance()
Returns the singleton instance of the factory.
|
public InstanceSetTableModel createTableModel(InstanceSet rs) throws GuiException
InstanceSet
.rs
- the result set.GuiException
public InstanceSetTableModel generateDefaultTableModel(InstanceSet is) throws GuiException
TableModel
that gets its contents filled from a
InstanceSet
. The column names of the InstanceSet
will form the column
names of the table model.
Hint: To customize the names of the columns, use the SQL column aliasing (done with
SELECT nativecolumnname AS "JavaColumnName" FROM ....
rs
- the result set.GuiException
public static InstanceSetTableModelFactory getInstance()