nl.coderight.jazz.form.field.lookup
Class LookupField.ListModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by nl.coderight.jazz.form.field.lookup.LookupField.ListModel
All Implemented Interfaces:
Serializable, ComboBoxModel, ListModel
Enclosing class:
LookupField<V>

protected final class LookupField.ListModel
extends AbstractListModel
implements ComboBoxModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
protected LookupField.ListModel()
           
 
Method Summary
 void fireDataChanged()
           
 Object getElementAt(int index)
           
 Object 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
 

Constructor Detail

LookupField.ListModel

protected LookupField.ListModel()
Method Detail

getSize

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

getElementAt

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

getSelectedItem

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

setSelectedItem

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

fireDataChanged

public void fireDataChanged()


Copyright 2010 CodeRight, All rights reserved.