ca.sqlpower.architect.swingui
Class SQLObjectComboBoxModel
java.lang.Object
ca.sqlpower.architect.swingui.SQLObjectComboBoxModel
- All Implemented Interfaces:
- javax.swing.ComboBoxModel, javax.swing.ListModel
public class SQLObjectComboBoxModel
- extends java.lang.Object
- implements javax.swing.ComboBoxModel
Combo box model that presents the list of a SQLObject's children as the
items. It is "live" in that its contents track the object's children in
real time.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLObjectComboBoxModel
public SQLObjectComboBoxModel(SQLObject parent)
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem in interface javax.swing.ComboBoxModel
setSelectedItem
public void setSelectedItem(java.lang.Object anItem)
- Specified by:
setSelectedItem in interface javax.swing.ComboBoxModel
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
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener in interface javax.swing.ListModel
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener in interface javax.swing.ListModel
Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca