public class FileRootComboBoxModel extends Object implements ComboBoxModel<File>
Constructor and Description |
---|
FileRootComboBoxModel() |
Modifier and Type | Method and Description |
---|---|
void |
addListDataListener(ListDataListener l) |
File |
getElementAt(int index) |
File |
getSelectedItem() |
int |
getSize() |
void |
removeListDataListener(ListDataListener l) |
void |
setSelectedItem(Object anItem) |
public void setSelectedItem(Object anItem)
setSelectedItem
in interface ComboBoxModel<File>
public File getSelectedItem()
getSelectedItem
in interface ComboBoxModel<File>
public File getElementAt(int index)
getElementAt
in interface ListModel<File>
public void addListDataListener(ListDataListener l)
addListDataListener
in interface ListModel<File>
public void removeListDataListener(ListDataListener l)
removeListDataListener
in interface ListModel<File>
Copyright © 2002–2019 SoftSmithy. All rights reserved.