Class FocusListModel<T extends Component>

  • Type Parameters:
    T - Type of element stored in this model.
    All Implemented Interfaces:
    Serializable, ListModel<T>

    public class FocusListModel<T extends Component>
    extends AbstractListModel<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:
    Serialized Form
    • Method Detail

      • getElementAt

        public T getElementAt​(int pIdx)
      • getSize

        public int getSize()