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