Class AttributeComboBoxModel
- java.lang.Object
-
- javax.swing.AbstractListModel<Attribute>
-
- org.processmining.logprojection.plugins.dottedchart.filtering.AttributeComboBoxModel
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.ComboBoxModel<Attribute>,javax.swing.ListModel<Attribute>
public class AttributeComboBoxModel extends javax.swing.AbstractListModel<Attribute> implements javax.swing.ComboBoxModel<Attribute>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttributeComboBoxModel(LogView view, byte attributeType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNone()AttributegetElementAt(int index)AttributegetSelectedItem()intgetSize()voidsetSelectedItem(java.lang.Object anItem)-
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
-
-
-
Constructor Detail
-
AttributeComboBoxModel
public AttributeComboBoxModel(LogView view, byte attributeType)
-
-
Method Detail
-
getSize
public int getSize()
- Specified by:
getSizein interfacejavax.swing.ListModel<Attribute>
-
getElementAt
public Attribute getElementAt(int index)
- Specified by:
getElementAtin interfacejavax.swing.ListModel<Attribute>
-
setSelectedItem
public void setSelectedItem(java.lang.Object anItem)
- Specified by:
setSelectedItemin interfacejavax.swing.ComboBoxModel<Attribute>
-
getSelectedItem
public Attribute getSelectedItem()
- Specified by:
getSelectedItemin interfacejavax.swing.ComboBoxModel<Attribute>
-
addNone
public void addNone()
-
-