Generated by
JDiff

Class java.awt.List

Documentation changed from old to new.

Changed Constructors
List(int) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates a new scrolling list initialized with the specified number of visible lines.
List(int, boolean) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates a new scrolling list initialized to display the specified number of rows.
List(void) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates a new scrolling list.
 

Added Methods
ActionListener[] getActionListeners() Returns an array of all the action listeners registered on this list.
ItemListener[] getItemListeners() Returns an array of all the item listeners registered on this list.
 

Changed Methods
void addActionListener(ActionListener) Documentation changed from old to new.
Adds the specified action listener to receive action events from this list.
void addItemListener(ItemListener) Documentation changed from old to new.
Adds the specified item listener to receive item events from this list.
void deselect(int) Documentation changed from old to new.
Deselects the item at the specified index.
AccessibleContext getAccessibleContext() Documentation changed from old to new.
Gets the AccessibleContext associated with this List.
String getItem(int) Documentation changed from old to new.
Gets the item associated with the specified index.
int getItemCount() Documentation changed from old to new.
Gets the number of items in the list.
String[] getItems() Documentation changed from old to new.
Gets the items in the list.
EventListener[] getListeners(Class) Documentation changed from old to new.
Returns an array of all the objects currently registered as FooListeners upon this List.
int getRows() Documentation changed from old to new.
Gets the number of visible lines in this list.
int getSelectedIndex() Documentation changed from old to new.
Gets the index of the selected item on the list
int[] getSelectedIndexes() Documentation changed from old to new.
Gets the selected indexes on the list.
String getSelectedItem() Documentation changed from old to new.
Gets the selected item on this scrolling list.
String[] getSelectedItems() Documentation changed from old to new.
Gets the selected items on this scrolling list.
Object[] getSelectedObjects() Documentation changed from old to new.
Returns the selected items on the list in an array of objects.
int getVisibleIndex() Documentation changed from old to new.
Gets the index of the item that was last made visible by the method makeVisible.
boolean isIndexSelected(int) Documentation changed from old to new.
Determines if the specified item in this scrolling list is selected.
boolean isMultipleMode() Documentation changed from old to new.
Determines whether this list allows multiple selections.
void makeVisible(int) Documentation changed from old to new.
Makes the item at the specified index visible.
String paramString() Documentation changed from old to new.
Returns the parameter string representing the state of this scrolling list.
void processActionEvent(ActionEvent) Documentation changed from old to new.
Processes action events occurring on this component by dispatching them to any registered ActionListener objects.
void processEvent(AWTEvent) Documentation changed from old to new.
Processes events on this scrolling list.
void processItemEvent(ItemEvent) Documentation changed from old to new.
Processes item events occurring on this list by dispatching them to any registered ItemListener objects.
void removeActionListener(ActionListener) Documentation changed from old to new.
Removes the specified action listener so that it no longer receives action events from this list.
void removeItemListener(ItemListener) Documentation changed from old to new.
Removes the specified item listener so that it no longer receives item events from this list.
void replaceItem(String, int) Documentation changed from old to new.
Replaces the item at the specified index in the scrolling list with the new string.
void select(int) Documentation changed from old to new.
Selects the item at the specified index in the scrolling list.
void setMultipleMode(boolean) Documentation changed from old to new.
Sets the flag that determines whether this list allows multiple selections.
void add(String) Documentation changed from old to new.
Adds the specified item to the end of scrolling list.
void add(String, int) Documentation changed from old to new.
Adds the specified item to the the scrolling list at the position indicated by the index.
Dimension getMinimumSize() Documentation changed from old to new.
Determines the minimum size of this scrolling list.
Dimension getMinimumSize(int) Documentation changed from old to new.
Gets the minumum dimensions for a list with the specified number of rows.
Dimension getPreferredSize() Documentation changed from old to new.
Gets the preferred size of this scrolling list.
Dimension getPreferredSize(int) Documentation changed from old to new.
Gets the preferred dimensions for a list with the specified number of rows.
void remove(String) Documentation changed from old to new.
Removes the first occurrence of an item from the list.
void remove(int) Documentation changed from old to new.
Remove the item at the specified position from this scrolling list.