protected class UserList.UserListModel
extends javax.swing.AbstractListModel
implements java.util.Comparator
| Modifier and Type | Field and Description |
|---|---|
protected CommandInterface |
cmd |
protected OdsxSessionInterface |
odsxSession |
protected OdsxResultSetInterface |
result |
| Constructor and Description |
|---|
UserList.UserListModel(OdsxSessionInterface odsxSession,
java.lang.String hqlCommand) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
ApplicationElement |
getApplicationElement() |
java.lang.Object |
getElementAt(int index) |
int |
getIdAt(int row) |
AoSession |
getSession() |
int |
getSize() |
java.lang.String[] |
listColumnNames() |
void |
removeSelections() |
void |
setSession(OdsxSessionInterface odsxSession) |
void |
setStatement(java.lang.String statement) |
void |
sortOnColumn(int type) |
void |
update() |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerprotected CommandInterface cmd
protected OdsxResultSetInterface result
protected OdsxSessionInterface odsxSession
public UserList.UserListModel(OdsxSessionInterface odsxSession, java.lang.String hqlCommand) throws HQLException
HQLExceptionpublic void setSession(OdsxSessionInterface odsxSession)
public AoSession getSession()
public int getIdAt(int row)
public java.lang.Object getElementAt(int index)
getElementAt in interface javax.swing.ListModelpublic ApplicationElement getApplicationElement() throws AoException
AoExceptionpublic int getSize()
getSize in interface javax.swing.ListModelpublic void removeSelections()
public void update()
public void setStatement(java.lang.String statement)
public java.lang.String[] listColumnNames()
public void sortOnColumn(int type)
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparator