Generated by
JDiff

Class javax.swing.JComboBox

Documentation changed from old to new.

Changed Constructors
JComboBox(Object[]) Documentation changed from old to new.
Creates a JComboBox that contains the elements in the specified array.
JComboBox(Vector) Documentation changed from old to new.
Creates a JComboBox that contains the elements in the specified Vector.
JComboBox(ComboBoxModel) Documentation changed from old to new.
Creates a JComboBox that takes it's items from an existing ComboBoxModel.
JComboBox(void) Documentation changed from old to new.
Creates a JComboBox with a default data model.
 

Added Methods
void configurePropertiesFromAction(Action) Factory method which sets the ActionEvent source's properties according to values from the Action instance.
PropertyChangeListener createActionPropertyChangeListener(Action) Factory method which creates the PropertyChangeListener used to update the ActionEvent source as properties change on its Action instance.
Action getAction() Returns the currently set Action for this ActionEvent source or null if no Action is set.
void setAction(Action) Sets the Action for the ActionEvent source.
 

Changed Methods
void addActionListener(ActionListener) Documentation changed from old to new.
Adds an ActionListener.
void addItem(Object) Documentation changed from old to new.
Adds an item to the item list.
void addItemListener(ItemListener) Documentation changed from old to new.
Adds an ItemListener.
void configureEditor(ComboBoxEditor, Object) Documentation changed from old to new.
Initializes the editor with the specified item.
KeySelectionManager createDefaultKeySelectionManager() Documentation changed from old to new.
Returns an instance of the default key-selection manager.
void fireActionEvent() Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
void fireItemStateChanged(ItemEvent) Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
AccessibleContext getAccessibleContext() Documentation changed from old to new.
Gets the AccessibleContext associated with this JComboBox.
String getActionCommand() Documentation changed from old to new.
Returns the action command that is included in the event sent to action listeners.
ComboBoxEditor getEditor() Documentation changed from old to new.
Returns the editor used to paint and edit the selected item in the JComboBox field.
Object getItemAt(int) Documentation changed from old to new.
Returns the list item at the specified index.
int getItemCount() Documentation changed from old to new.
Returns the number of items in the list.
KeySelectionManager getKeySelectionManager() Documentation changed from old to new.
Returns the list's key-selection manager.
int getMaximumRowCount() Documentation changed from old to new.
Returns the maximum number of items the combo box can display without a scrollbar
ComboBoxModel getModel() Documentation changed from old to new.
Returns the data model currently used by the JComboBox.
ListCellRenderer getRenderer() Documentation changed from old to new.
Returns the renderer used to display the selected item in the JComboBox field.
int getSelectedIndex() Documentation changed from old to new.
Returns the first item in the list that matches the given item.
Object[] getSelectedObjects() Documentation changed from old to new.
Returns an array containing the selected item.
String getUIClassID() Documentation changed from old to new.
Returns the name of the L&F class that renders this component.
void hidePopup() Documentation changed from old to new.
Causes the combo box to close its popup window.
void insertItemAt(Object, int) Documentation changed from old to new.
Inserts an item into the item list at a given index.
void intervalRemoved(ListDataEvent) Documentation changed from old to new.
Invoked when values have been removed from the data model.
boolean isEditable() Documentation changed from old to new.
Returns true if the JComboBox is editable.
boolean isFocusTraversable() Documentation changed from old to new.
Returns true if the component can receive the focus.
boolean isPopupVisible() Documentation changed from old to new.
Determines the visibility of the popup.
String paramString() Documentation changed from old to new.
Returns a string representation of this JComboBox.
void processKeyEvent(KeyEvent) Documentation changed from old to new.
Handles KeyEvents looking for the Tab key.
void removeActionListener(ActionListener) Documentation changed from old to new.
Removes an ActionListener.
void removeAllItems() Documentation changed from old to new.
Removes all items from the item list.
void removeItem(Object) Documentation changed from old to new.
Removes an item from the item list.
void removeItemAt(int) Documentation changed from old to new.
Removes the item at anIndex This method works only if the JComboBox uses the default data model.
void removeItemListener(ItemListener) Documentation changed from old to new.
Removes an ItemListener.
void selectedItemChanged() Documentation changed from old to new.
This method is called when the selected item changes.
void setActionCommand(String) Documentation changed from old to new.
Sets the action commnand that should be included in the event sent to action listeners.
void setEditable(boolean) Documentation changed from old to new.
Determines whether the JComboBox field is editable.
void setEditor(ComboBoxEditor) Documentation changed from old to new.
Sets the editor used to paint and edit the selected item in the JComboBox field.
void setEnabled(boolean) Documentation changed from old to new.
Enables the combo box so that items can be selected.
void setLightWeightPopupEnabled(boolean) Documentation changed from old to new.
When displaying the popup JComboBox choose to use a light weight popup if it fits.
void setMaximumRowCount(int) Documentation changed from old to new.
Sets the maximum number of rows the JComboBox displays.
void setModel(ComboBoxModel) Documentation changed from old to new.
Sets the data model that the JComboBox uses to obtain the list of items.
void setPopupVisible(boolean) Documentation changed from old to new.
Sets the visibility of the popup.
void setRenderer(ListCellRenderer) Documentation changed from old to new.
Sets the renderer that paints the item selected from the list in the JComboBox field.
void setSelectedIndex(int) Documentation changed from old to new.
Selects the item at index anIndex.
void setSelectedItem(Object) Documentation changed from old to new.
Sets the selected item in the JComboBox by specifying the object in the list.
void showPopup() Documentation changed from old to new.
Causes the combo box to display its popup window.
void updateUI() Documentation changed from old to new.
Notification from the UIFactory that the L&F has changed.
void setUI(ComboBoxUI) Documentation changed from old to new.
Sets the L&F object that renders this component.