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, setValueAt
protected CommandInterface cmd
protected OdsxResultSetInterface result
protected OdsxSessionInterface odsxSession
protected java.lang.String[] colNames
public UserTable.UserTableModel(OdsxSessionInterface odsxSession, java.lang.String hqlCommand) throws HQLException
HQLException
public void setSession(OdsxSessionInterface odsxSession)
public AoSession getSession()
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int row, int column)
getValueAt
in interface javax.swing.table.TableModel
public 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