< prev index next >

src/java.desktop/share/classes/javax/swing/ListModel.java

Print this page

        

*** 50,72 **** int getSize(); /** * Returns the value at the specified index. * @param index the requested index ! * @return the value at <code>index</code> */ E getElementAt(int index); /** * Adds a listener to the list that's notified each time a change * to the data model occurs. ! * @param l the <code>ListDataListener</code> to be added */ void addListDataListener(ListDataListener l); /** * Removes a listener from the list that's notified each time a * change to the data model occurs. ! * @param l the <code>ListDataListener</code> to be removed */ void removeListDataListener(ListDataListener l); } --- 50,72 ---- int getSize(); /** * Returns the value at the specified index. * @param index the requested index ! * @return the value at {@code index} */ E getElementAt(int index); /** * Adds a listener to the list that's notified each time a change * to the data model occurs. ! * @param l the {@code ListDataListener} to be added */ void addListDataListener(ListDataListener l); /** * Removes a listener from the list that's notified each time a * change to the data model occurs. ! * @param l the {@code ListDataListener} to be removed */ void removeListDataListener(ListDataListener l); }
< prev index next >