info.bioinfweb.treegraph.gui.dialogs.elementformats
Class LabelIconComboBoxModel
java.lang.Object
javax.swing.AbstractListModel
info.bioinfweb.treegraph.gui.dialogs.elementformats.LabelIconComboBoxModel
- All Implemented Interfaces:
- Serializable, ComboBoxModel, ListModel
public class LabelIconComboBoxModel
- extends AbstractListModel
- implements ComboBoxModel
Model used with the combo box in IconPieChartLabelPanel
to select the icon type.
- Since:
- 2.0.25
- Author:
- Ben Stöver
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
items
private Vector<String> items
selected
private String selected
LabelIconComboBoxModel
public LabelIconComboBoxModel()
fill
private void fill()
getElementAt
public String getElementAt(int pos)
- Specified by:
getElementAt
in interface ListModel
getSize
public int getSize()
- Specified by:
getSize
in interface ListModel
getSelectedItem
public String getSelectedItem()
- Specified by:
getSelectedItem
in interface ComboBoxModel
setSelectedItem
public void setSelectedItem(Object item)
- Specified by:
setSelectedItem
in interface ComboBoxModel