public abstract class RecentItemListModel extends AbstractListModel<Action>
listenerList
Modifier | Constructor and Description |
---|---|
protected |
RecentItemListModel(ListModel pListModel) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
executeItem(int pIdx) |
protected Map<String,?> |
getActionProperties(Object pListModelItem,
int pIdx)
Set new action properties or reset existing action's properties after a change in
index or something else.
|
Action |
getElementAt(int pIdx) |
int |
getSize() |
protected String |
getText(Object pListModelItem) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
protected RecentItemListModel(ListModel pListModel)
public Action getElementAt(int pIdx)
public int getSize()
protected Map<String,?> getActionProperties(Object pListModelItem, int pIdx)
pListModelItem
- Item from decorated list model.pIdx
- Index of item in decorated list model.protected abstract void executeItem(int pIdx)
pIdx
- Index of item within decorated list.Copyright © 2023. All rights reserved.