API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. ListModel View Source
Author(s)
Hans Muller
Since
Version
0.0 03/01/97
Serial
Hierarchy
 ListModel
Subinterfaces
Description
public interface ListModel
  This interface defines the methods components like JList use to get the value of each cell in a list and the length of the list.
See also:    JList
Methods
Hide/Show inherited methods
public void addListDataListener (ListDataListener l)
  Adds a listener to the list that's notified each time a change to the data model occurs.
public Object getElementAt (int index)
  Returns the value at the specified index.
public int getSize ()
  Returns the length of the list.
public void removeListDataListener (ListDataListener l)
  Removes a listener from the list that's notified each time a change to the data model occurs.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar