protected class UserTable.UserTableModel
extends javax.swing.table.AbstractTableModel
implements java.util.Comparator
| Modifier and Type | Field and Description |
|---|---|
protected CommandInterface |
cmd |
protected java.lang.String[] |
colNames |
protected OdsxSessionInterface |
odsxSession |
protected OdsxResultSetInterface |
result |
| Constructor and Description |
|---|
UserTable.UserTableModel(OdsxSessionInterface odsxSession,
java.lang.String hqlCommand) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
int |
getColumnCount() |
int |
getIdAt(int row) |
int |
getRowCount() |
AoSession |
getSession() |
java.lang.Object |
getValueAt(int row,
int column) |
java.lang.String[] |
listColumnNames() |
void |
setSession(OdsxSessionInterface odsxSession) |
void |
sortOnColumn(int idx,
int type) |
void |
update() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtprotected CommandInterface cmd
protected OdsxResultSetInterface result
protected OdsxSessionInterface odsxSession
protected java.lang.String[] colNames
public UserTable.UserTableModel(OdsxSessionInterface odsxSession, java.lang.String hqlCommand) throws HQLException
HQLExceptionpublic void setSession(OdsxSessionInterface odsxSession)
public AoSession getSession()
public int getRowCount()
getRowCount in interface javax.swing.table.TableModelpublic int getColumnCount()
getColumnCount in interface javax.swing.table.TableModelpublic java.lang.Object getValueAt(int row,
int column)
getValueAt in interface javax.swing.table.TableModelpublic int getIdAt(int row)
public void update()
public java.lang.String[] listColumnNames()
public void sortOnColumn(int idx,
int type)
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparator