Class HistoryComboBoxModel
- java.lang.Object
-
- org.esa.snap.rcp.layermanager.layersrc.HistoryComboBoxModel
-
- All Implemented Interfaces:
ComboBoxModel
,ListModel
public class HistoryComboBoxModel extends Object implements ComboBoxModel
Note: This API is not public yet and may significantly change in the future. Use it at your own risk.
-
-
Constructor Summary
Constructors Constructor Description HistoryComboBoxModel(UserInputHistory history)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListDataListener(ListDataListener listener)
Object
getElementAt(int index)
UserInputHistory
getHistory()
Object
getSelectedItem()
int
getSize()
void
removeListDataListener(ListDataListener listener)
void
setSelectedItem(Object anObject)
-
-
-
Constructor Detail
-
HistoryComboBoxModel
public HistoryComboBoxModel(UserInputHistory history)
-
-
Method Detail
-
getHistory
public UserInputHistory getHistory()
-
setSelectedItem
public void setSelectedItem(Object anObject)
- Specified by:
setSelectedItem
in interfaceComboBoxModel
-
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem
in interfaceComboBoxModel
-
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt
in interfaceListModel
-
addListDataListener
public void addListDataListener(ListDataListener listener)
- Specified by:
addListDataListener
in interfaceListModel
-
removeListDataListener
public void removeListDataListener(ListDataListener listener)
- Specified by:
removeListDataListener
in interfaceListModel
-
-