Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary
`private Vector<String>` | `items`
`private String` | `selected`

Fields inherited from class javax.swing.AbstractListModel
`listenerList`

Constructor Summary
`LabelIconComboBoxModel()`

Method Summary
`private void` | `fill()`
`String` | `getElementAt(int pos)`
`String` | `getSelectedItem()`
`int` | `getSize()`
`void` | `setSelectedItem(Object item)`

Methods inherited from class javax.swing.AbstractListModel
`addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface javax.swing.ListModel
`addListDataListener, removeListDataListener`

Field Detail

### items

    private Vector<String> items

### selected

    private String selected

Constructor Detail

### LabelIconComboBoxModel

    public LabelIconComboBoxModel()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD