public class WebcamPickerModel extends DefaultComboBoxModel
Constructor and Description |
---|
WebcamPickerModel(List<Webcam> webcams) |
Modifier and Type | Method and Description |
---|---|
Webcam |
getSelectedItem() |
void |
setSelectedItem(Object webcam) |
addElement, getElementAt, getIndexOf, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt
addListDataListener, getListDataListeners, getListeners, removeListDataListener
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
public WebcamPickerModel(List<Webcam> webcams)
public Webcam getSelectedItem()
getSelectedItem
in interface ComboBoxModel
getSelectedItem
in class DefaultComboBoxModel
public void setSelectedItem(Object webcam)
setSelectedItem
in interface ComboBoxModel
setSelectedItem
in class DefaultComboBoxModel
Copyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.