|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
sjrd.tricktakinggame.gui.tablelist.RulesListModel
public class RulesListModel
Modèle de liste pour la liste des tables ouvertes
| Nested Class Summary | |
|---|---|
private class |
RulesListModel.UpdateWorker
Worker pour mettre à jour |
| Field Summary | |
|---|---|
private RulesInfo[] |
availableRules
Règles disponibles sur le serveur, à la dernière récupération |
private static long |
serialVersionUID
ID de sérialisation |
| Fields inherited from class javax.swing.AbstractListModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
RulesListModel()
Crée le modèle de liste de tables |
|
| Method Summary | |
|---|---|
RulesInfo |
getElementAt(int index)
|
RulesInfo[] |
getElements()
Liste de tous les éléments |
int |
getSize()
|
void |
update(Client client)
Met à jour la liste des tables |
private void |
updated(RulesInfo[] aAvailableRules)
Liste mise à jour |
| Methods inherited from class javax.swing.AbstractListModel |
|---|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private RulesInfo[] availableRules
| Constructor Detail |
|---|
public RulesListModel()
| Method Detail |
|---|
public int getSize()
public RulesInfo getElementAt(int index)
public RulesInfo[] getElements()
public void update(Client client)
client - Clientprivate void updated(RulesInfo[] aAvailableRules)
aOpenTables - Nouvelle liste de tables
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||