javax.swing.plaf.metal
protected class MetalFileChooserUI.FilterComboBoxModel extends AbstractListModel implements ComboBoxModel, PropertyChangeListener
| Field Summary | |
|---|---|
| protected FileFilter[] | filters Storage for the filters in the model. |
| Constructor Summary | |
|---|---|
| protected | FilterComboBoxModel()
Creates a new model. |
| Method Summary | |
|---|---|
| Object | getElementAt(int index)
Returns the item at the specified index.
|
| Object | getSelectedItem()
Returns the selected file filter.
|
| int | getSize()
Returns the number of items in the model.
|
| void | propertyChange(PropertyChangeEvent e)
Handles property changes.
|
| void | setSelectedItem(Object filter)
Sets the selected filter.
|
Parameters: index the item index.
Returns: The item at the specified index.
Returns: The selected file filter.
Returns: The number of items in the model.
Parameters: e the property change event.
Parameters: filter the filter (null ignored).