jaxx.runtime.swing
Class JAXXComboBox.JAXXComboBoxModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by jaxx.runtime.swing.JAXXComboBox.JAXXComboBoxModel
All Implemented Interfaces:
Serializable, ComboBoxModel, ListModel
Enclosing class:
JAXXComboBox

public class JAXXComboBox.JAXXComboBoxModel
extends AbstractListModel
implements ComboBoxModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
JAXXComboBox.JAXXComboBoxModel(List<Item> items)
           
 
Method Summary
 Object getElementAt(int i)
           
 List<Item> getItems()
           
 Object getSelectedItem()
           
 int getSize()
           
 void setSelectedItem(Object selectedItem)
           
 
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

JAXXComboBox.JAXXComboBoxModel

public JAXXComboBox.JAXXComboBoxModel(List<Item> items)
Method Detail

getItems

public List<Item> getItems()

getElementAt

public Object getElementAt(int i)
Specified by:
getElementAt in interface ListModel

getSize

public int getSize()
Specified by:
getSize in interface ListModel

getSelectedItem

public Object getSelectedItem()
Specified by:
getSelectedItem in interface ComboBoxModel

setSelectedItem

public void setSelectedItem(Object selectedItem)
Specified by:
setSelectedItem in interface ComboBoxModel


Copyright © 2008-2011 CodeLutin. All Rights Reserved.