org.ximtec.igesture.geco.util
Class SortedListModel<T>
java.lang.Object
javax.swing.AbstractListModel
org.ximtec.igesture.geco.util.SortedListModel<T>
- All Implemented Interfaces:
- Serializable, ListModel
public class SortedListModel<T>
- extends AbstractListModel
Provide a model for sorted JList
- Version:
- 0.9, Nov 22, 2007
- Author:
- Michele Croci, mcroci@gmail.com
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortedListModel
public SortedListModel(Comparator<T> c)
SortedListModel
public SortedListModel()
getSize
public int getSize()
getElementAt
public Object getElementAt(int index)
add
public void add(T element)
addAll
public void addAll(List<T> elements)
clear
public void clear()
contains
public boolean contains(Object element)
firstElement
public Object firstElement()
iterator
public Iterator<T> iterator()
lastElement
public Object lastElement()
removeElement
public boolean removeElement(Object element)
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.