public abstract class ActivityListModel<C extends ApplicationContext,T> extends ZListModel<T>
ListModel manages activity items which are either RunStateFlags or AsyncTasks.
The model is updated on task changes such that the Cancellable run-state is known at each time.| Constructor and Description |
|---|
ActivityListModel(C ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(int index) |
boolean |
cancelAll() |
C |
getApplicationContext() |
abstract IconKey |
getTypeIcon() |
abstract NlsKey |
getTypeName() |
boolean |
hasCancellableTasks() |
boolean |
isCurrentlyCancellable(java.lang.Object obj) |
addItem, addItem, addItems, addItems, clear, fireContentsChanged, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getAllItems, getComparator, getElementAt, getFirstItem, getItem, getItem, getItemCount, getLastItem, getModifyFlag, isModified, isNumb, isSortAscending, load, loadFrom, loadFrom, removeItem, removeItem, replaceItem, replaceOrAddItem, setComparator, setItem, setModified, setModifyFlag, setNumb, setSortAscendingadd, addElement, capacity, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSizepublic ActivityListModel(C ctx)
public final C getApplicationContext()
public abstract NlsKey getTypeName()
public abstract IconKey getTypeIcon()
public boolean cancel(int index)
public boolean cancelAll()
public final boolean hasCancellableTasks()
public final boolean isCurrentlyCancellable(java.lang.Object obj)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.