public class AccountListModel
extends javax.swing.DefaultListModel
Constructor and Description |
---|
AccountListModel() |
Modifier and Type | Method and Description |
---|---|
void |
addAccount(Account account)
Adds the given account to this model.
|
void |
contentChanged(Account account)
Indicates that the data model content has changed.
|
Account |
getAccount(AccountID accountID)
Returns true if an account with the given accountUID
is contained in the model, otherwise returns false.
|
void |
removeAccount(Account account)
Removes an account from this model.
|
add, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getElementAt, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize
public void contentChanged(Account account)
account
- the account that has changedpublic void addAccount(Account account)
account
- the Account to addpublic void removeAccount(Account account)
account
- the Account to removepublic Account getAccount(AccountID accountID)
accountID
- the identifier of the account we're looking for
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.