com.jurismarches.vradi.models
Class FormTypeModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultComboBoxModel
          extended by com.jurismarches.vradi.models.FormTypeModel
All Implemented Interfaces:
Serializable, ComboBoxModel, ListModel, MutableComboBoxModel

public class FormTypeModel
extends DefaultComboBoxModel

Author:
letellier
See Also:
Serialized Form

Field Summary
protected  org.sharengo.wikitty.WikittyExtension selected
           
protected  org.sharengo.wikitty.WikittyExtension[] values
           
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
FormTypeModel(List<org.sharengo.wikitty.WikittyExtension> formTypes)
           
 
Method Summary
 Object getElementAt(int index)
           
 Object getSelectedItem()
           
 int getSize()
           
 void setSelectedItem(Object anItem)
           
 
Methods inherited from class javax.swing.DefaultComboBoxModel
addElement, getIndexOf, insertElementAt, removeAllElements, removeElement, removeElementAt
 
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

selected

protected org.sharengo.wikitty.WikittyExtension selected

values

protected org.sharengo.wikitty.WikittyExtension[] values
Constructor Detail

FormTypeModel

public FormTypeModel(List<org.sharengo.wikitty.WikittyExtension> formTypes)
Method Detail

getSize

public int getSize()
Specified by:
getSize in interface ListModel
Overrides:
getSize in class DefaultComboBoxModel

getElementAt

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

setSelectedItem

public void setSelectedItem(Object anItem)
Specified by:
setSelectedItem in interface ComboBoxModel
Overrides:
setSelectedItem in class DefaultComboBoxModel

getSelectedItem

public Object getSelectedItem()
Specified by:
getSelectedItem in interface ComboBoxModel
Overrides:
getSelectedItem in class DefaultComboBoxModel


Copyright © 2009-2010 JurisMarches. All Rights Reserved.