uk.ac.starlink.topcat
Interface TypedListModel<T>

All Superinterfaces:
ListModel

public interface TypedListModel<T>
extends ListModel

Extends the ListModel interface with a generic type. This interface doesn't (can't) enforce actual type safety in its implementations, it's mainly available as a marker to make the intention clear in method signatures.

Since:
9 May 2018
Author:
Mark Taylor

Method Summary
 T getElementAt(int index)
           
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, getSize, removeListDataListener
 

Method Detail

getElementAt

T getElementAt(int index)
Specified by:
getElementAt in interface ListModel


Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.