com.partnersoft.gui
Class NamingListModel
java.lang.Object
javax.swing.AbstractListModel
com.partnersoft.gui.NamingListModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel
public class NamingListModel
- extends javax.swing.AbstractListModel
- implements javax.swing.ComboBoxModel
A list model for, like, namings.
- Author:
- Paul Reavis
Copyright 2004 Partner Software, Inc.
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractListModel |
listenerList |
| 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 |
NamingListModel
public NamingListModel()
NamingListModel
public NamingListModel(Naming naming)
setNaming
public void setNaming(Naming newNaming)
getNaming
public Naming getNaming()
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
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem in interface javax.swing.ComboBoxModel
setSelectedItem
public void setSelectedItem(java.lang.Object newItem)
- Specified by:
setSelectedItem in interface javax.swing.ComboBoxModel