net.java.sip.communicator.impl.gui.main.account
Class AccountListModel
java.lang.Object
javax.swing.AbstractListModel
javax.swing.DefaultListModel
net.java.sip.communicator.impl.gui.main.account.AccountListModel
- All Implemented Interfaces:
- Serializable, ListModel
public class AccountListModel
- extends DefaultListModel
A custom list model that allows us to refresh the content of a single
row.
- Author:
- Yana Stamcheva
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.DefaultListModel |
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 |
AccountListModel
public AccountListModel()
contentChanged
public void contentChanged(Account account)
- Indicates that the data model content has changed.
- Parameters:
account - the account that has changed
addAccount
public void addAccount(Account account)
- Adds the given account to this model.
- Parameters:
account - the Account to add
getAccount
public Account getAccount(AccountID accountID)
- Returns true if an account with the given accountUID
is contained in the model, otherwise returns false.
- Parameters:
accountID - the identifier of the account we're looking for
- Returns:
- true if an account with the given accountUID
is contained in the model, otherwise returns false
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.