- All Implemented Interfaces:
Serializable,ListModel<Action>
List model of actions. Decorates some manually added actions with names.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidexecuteItem(int pIdx) getActionProperties(Object pListModelItem, int pIdx) Set new action properties or reset existing action's properties after a change in index or something else.getElementAt(int pIdx) intgetSize()protected StringMethods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
Constructor Details
-
RecentItemListModel
-
-
Method Details
-
getElementAt
-
getSize
public int getSize() -
getActionProperties
Set new action properties or reset existing action's properties after a change in index or something else.- Parameters:
pListModelItem- Item from decorated list model.pIdx- Index of item in decorated list model.
-
getText
-
executeItem
protected abstract void executeItem(int pIdx) - Parameters:
pIdx- Index of item within decorated list.
-