|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.irisel.oms.guiom.tablemodel.InstanceSetTableModelFactory
public final class InstanceSetTableModelFactory
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |