Package groovy.swing.impl
Class ListWrapperListModel<E>
java.lang.Object
javax.swing.AbstractListModel
groovy.swing.impl.ListWrapperListModel<E>
- All Implemented Interfaces:
Serializable
,ListModel
A
ListModel
implementation that's backed by a live List
.- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int i, Collection<? extends E> es) boolean
addAll
(Collection<? extends E> es) void
clear()
boolean
boolean
containsAll
(Collection<?> objects) get
(int i) getElementAt
(int i) int
getSize()
int
boolean
isEmpty()
iterator()
int
listIterator
(int i) remove
(int i) boolean
void
removeRange
(int fromIndex, int toIndex) Object[]
toArray()
<T> T[]
toArray
(T[] ts) Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
Constructor Details
-
ListWrapperListModel
-
-
Method Details
-
getDelegateList
-
getSize
public int getSize() -
getElementAt
-
set
-
clear
public void clear() -
lastIndexOf
-
contains
-
listIterator
-
isEmpty
public boolean isEmpty() -
indexOf
-
add
-
iterator
-
addAll
-
remove
-
addAll
-
listIterator
-
containsAll
-
remove
-
add
-
get
-
toArray
public <T> T[] toArray(T[] ts) -
toArray
-
removeRange
public void removeRange(int fromIndex, int toIndex)
-