public class SubscribedClientListModel extends SelectiveClientListModel
listenerList| Constructor and Description | 
|---|
| SubscribedClientListModel(GuiHubConnector connector,
                         String mtype)Constructor for single MType. | 
| SubscribedClientListModel(GuiHubConnector connector,
                         String[] mtypes)Constructor for multiple MTypes. | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | getMTypes()Returns the list of MTypes which defines the elements of this list. | 
| protected boolean | isIncluded(Client client)Returns true if  clientis subscribed to one of this
 model's MTypes. | 
| void | setMTypes(String[] mtypes)Sets the list of MTypes which defines the elements of this list. | 
dispose, getElementAt, getSize, init, refreshaddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerpublic SubscribedClientListModel(GuiHubConnector connector, String[] mtypes)
connector - hub connectormtypes - mtypes of interest (may have wildcards)public SubscribedClientListModel(GuiHubConnector connector, String mtype)
connector - hub connectormtype - mtype of interest (may have wildcards)public void setMTypes(String[] mtypes)
mtypes - new MType listpublic String[] getMTypes()
protected boolean isIncluded(Client client)
client is subscribed to one of this
 model's MTypes.isIncluded in class SelectiveClientListModelclient - client for considerationCopyright © 2008–2024. All rights reserved.