tudresden.ocl.injection.reverseeng
Class TypeComboModel
java.lang.Object
javax.swing.AbstractListModel
tudresden.ocl.injection.reverseeng.TypeComboModel
- All Implemented Interfaces:
- ComboBoxModel, ListModel, Serializable
- public class TypeComboModel
- extends AbstractListModel
- implements ComboBoxModel
A ComboBoxModel for the type drop down boxes.
In addition to a selection of default Java Types, the list of the model can also contain a number
of other types that seem to be appropriate for the map or collection.
- Version:
- 0.1
- Author:
- sz9 (Steffen Zschaler)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_sSelection
private String m_sSelection
m_lsTypes
private List m_lsTypes
s_sUnspecified
private static String s_sUnspecified
TypeComboModel
public TypeComboModel()
- Creates new TypeComboModel.
fillInStandardTypes
protected void fillInStandardTypes()
setSelectedItem
public void setSelectedItem(Object oSelectedItem)
- Specified by:
setSelectedItem
in interface ComboBoxModel
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem
in interface ComboBoxModel
getSize
public int getSize()
- Specified by:
getSize
in interface ListModel
getElementAt
public Object getElementAt(int nIdx)
- Specified by:
getElementAt
in interface ListModel
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.