com.proschedule.core.persistence.view.customer
Class CustomerFieldComboBoxModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by com.proschedule.core.persistence.view.customer.CustomerFieldComboBoxModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel

public class CustomerFieldComboBoxModel
extends javax.swing.AbstractListModel
implements javax.swing.ComboBoxModel

Modelo de Combo Box para listagem dos campos do Componente.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
CustomerFieldComboBoxModel()
          Monta a lista de operadores
 
Method Summary
 java.lang.Object getElementAt(int index)
           
 java.lang.Object 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

CustomerFieldComboBoxModel

public CustomerFieldComboBoxModel()
Monta a lista de operadores

Method Detail

getElementAt

public java.lang.Object getElementAt(int index)
Specified by:
getElementAt in interface javax.swing.ListModel

getSize

public int getSize()
Specified by:
getSize in interface javax.swing.ListModel

setSelectedItem

public void setSelectedItem(java.lang.Object anItem)
Specified by:
setSelectedItem in interface javax.swing.ComboBoxModel

getSelectedItem

public java.lang.Object getSelectedItem()
Specified by:
getSelectedItem in interface javax.swing.ComboBoxModel