Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.sim.engine.gui.components
Class ArrayListListModel

    java.lang.Object
      javax.swing.AbstractListModel
          javax.swing.DefaultComboBoxModel
              uchicago.src.sim.engine.gui.components.ArrayListListModel

All Implemented Interfaces:
  java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel, javax.swing.MutableComboBoxModel

    public class ArrayListListModel

extends javax.swing.DefaultComboBoxModel

Author:
  wes maciorowski
See Also:
  Serialized Form

Field Summary

Fields inherited from class javax.swing.AbstractListModel
`listenerList`

Constructor Summary
`ArrayListListModel(java.util.ArrayList someList)` Sep 7, 2004

Method Summary
`java.lang.Object` | `getElementAt(int index)`
`int` | `getSize()`
`java.util.ArrayList` | `getSomeList()`
`void` | `setSomeList(java.util.ArrayList someList)`

Methods inherited from class javax.swing.DefaultComboBoxModel
`addElement, getIndexOf, getSelectedItem, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem`

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

### ArrayListListModel

    public ArrayListListModel(java.util.ArrayList someList)

  Sep 7, 2004

  Parameters:
    `someList` -

Method Detail

### getElementAt

    public java.lang.Object getElementAt(int index)

  Specified by:
    `getElementAt` in interface `javax.swing.ListModel`
  Overrides:
    `getElementAt` in class `javax.swing.DefaultComboBoxModel`

### getSize

    public int getSize()

  Specified by:
    `getSize` in interface `javax.swing.ListModel`
  Overrides:
    `getSize` in class `javax.swing.DefaultComboBoxModel`

### getSomeList

    public java.util.ArrayList getSomeList()

  Returns:
    Returns the someList.

### setSomeList

    public void setSomeList(java.util.ArrayList someList)

  Parameters:
    `someList` - The someList to set.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD