net.java.sip.communicator.impl.gui.main.chatroomslist
Class ChatRoomListModel
java.lang.Object
javax.swing.AbstractListModel
net.java.sip.communicator.impl.gui.main.chatroomslist.ChatRoomListModel
- All Implemented Interfaces:
- Serializable, ListModel
public class ChatRoomListModel
- extends AbstractListModel
- Author:
- Yana Stamcheva
- See Also:
- Serialized Form
|
Method Summary |
void |
contentAdded(int startIndex,
int endIndex)
Informs interested listeners that new cells are added from startIndex to
endIndex. |
void |
contentChanged(int startIndex,
int endIndex)
Informs interested listeners that the content has changed of the cells
given by the range from startIndex to endIndex. |
void |
contentRemoved(int startIndex,
int endIndex)
Informs interested listeners that a range of cells is removed. |
Object |
getElementAt(int index)
|
int |
getSize()
|
int |
indexOf(Object o)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChatRoomListModel
public ChatRoomListModel()
getElementAt
public Object getElementAt(int index)
getSize
public int getSize()
indexOf
public int indexOf(Object o)
contentChanged
public void contentChanged(int startIndex,
int endIndex)
- Informs interested listeners that the content has changed of the cells
given by the range from startIndex to endIndex.
- Parameters:
startIndex - The start index of the range .endIndex - The end index of the range.
contentAdded
public void contentAdded(int startIndex,
int endIndex)
- Informs interested listeners that new cells are added from startIndex to
endIndex.
- Parameters:
startIndex - The start index of the range .endIndex - The end index of the range.
contentRemoved
public void contentRemoved(int startIndex,
int endIndex)
- Informs interested listeners that a range of cells is removed.
- Parameters:
startIndex - The start index of the range.endIndex - The end index of the range.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.