|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DisplayableList<E>
A DisplayableList encapsulates a List and allows it to be displayed by a JList
Nested Class Summary | |
---|---|
static interface |
DisplayableList.ListChangedNotification<E>
An object that implements this interface encapsulates information about changes to an DisplayableList. |
Nested classes/interfaces inherited from interface displayablecollections.DisplayableCollection |
---|
DisplayableCollection.CollectionChangedNotification<E> |
Method Summary | |
---|---|
javax.swing.ListModel |
orderedListModel()
Create a list model for displaying this collection in a JList. |
java.util.List<E> |
subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. |
Methods inherited from interface displayablecollections.DisplayableCollection |
---|
addObserver, deleteObservers, listModel |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, toArray, toArray |
Method Detail |
---|
javax.swing.ListModel orderedListModel()
toString()
is what will actually be
displayed for each element. The display will show the elements in the same
order as they appear in in the list, including the possibility of
displaying duplicates.
java.util.List<E> subList(int fromIndex, int toIndex)
subList
in interface java.util.List<E>
fromIndex
- low endpoint (inclusive) of the subListtoIndex
- high endpoint (exclusive) of the subList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |