Class 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
    • Field Summary

      • Fields inherited from class javax.swing.AbstractListModel

        listenerList
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addNone()  
      Attribute getElementAt​(int index)  
      Attribute getSelectedItem()  
      int getSize()  
      void setSelectedItem​(java.lang.Object anItem)  
      • 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
    • Constructor Detail

      • AttributeComboBoxModel

        public AttributeComboBoxModel​(LogView view,
                                      byte attributeType)
    • Method Detail

      • getSize

        public int getSize()
        Specified by:
        getSize in interface javax.swing.ListModel<Attribute>
      • getElementAt

        public Attribute getElementAt​(int index)
        Specified by:
        getElementAt in interface javax.swing.ListModel<Attribute>
      • setSelectedItem

        public void setSelectedItem​(java.lang.Object anItem)
        Specified by:
        setSelectedItem in interface javax.swing.ComboBoxModel<Attribute>
      • getSelectedItem

        public Attribute getSelectedItem()
        Specified by:
        getSelectedItem in interface javax.swing.ComboBoxModel<Attribute>
      • addNone

        public void addNone()