Module com.iamsoft.util.ui
Package com.iamsoft.util.ui.swing
Class FocusListModel<T extends Component>
java.lang.Object
javax.swing.AbstractListModel<T>
com.iamsoft.util.ui.swing.FocusListModel<T>
- Type Parameters:
T
- Type of element stored in this model.
- All Implemented Interfaces:
Serializable
,ListModel<T>
Maintains an ordered list of focused elements. List is ordered by last focus. When focus
is transferred, a list data changed event is fired, spanning from 0 to the original
index of the new focus owner. Thus all 'add' and 'remove' events correspond to a
true addition/removal.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
Constructor Details
-
FocusListModel
-
-
Method Details
-
getElementAt
-
getSize
public int getSize()
-