org.argouml.uml.ui.foundation.core
Class UMLStructuralFeatureMultiplicityComboBoxModel

java.lang.Object
  |
  +--javax.swing.AbstractListModel
        |
        +--org.argouml.uml.ui.UMLComboBoxModel2
              |
              +--org.argouml.uml.ui.UMLMultiplicityComboBoxModel
                    |
                    +--org.argouml.uml.ui.foundation.core.UMLStructuralFeatureMultiplicityComboBoxModel
All Implemented Interfaces:
javax.swing.ComboBoxModel, java.util.EventListener, javax.swing.ListModel, java.io.Serializable, TargetListener

public class UMLStructuralFeatureMultiplicityComboBoxModel
extends UMLMultiplicityComboBoxModel

Since:
Jan 6, 2003
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.argouml.uml.ui.UMLMultiplicityComboBoxModel
 
Fields inherited from class org.argouml.uml.ui.UMLComboBoxModel2
_fireListEvents, _propertySetName, _target
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
UMLStructuralFeatureMultiplicityComboBoxModel()
          Constructor for UMLStructuralFeatureMultiplicityComboBoxModel.
 
Method Summary
protected  java.lang.Object getSelectedModelElement()
          Gets the modelelement that is selected in the NSUML model.
 
Methods inherited from class org.argouml.uml.ui.UMLMultiplicityComboBoxModel
addElement, buildModelList, isValidElement, setSelectedItem
 
Methods inherited from class org.argouml.uml.ui.UMLComboBoxModel2
addAll, contains, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getChangedElement, getElementAt, getIndexOf, getSelectedItem, getSize, getTarget, isValidEvent, listRoleItemSet, propertySet, recovered, removeAll, removeAllElements, removed, removeElement, roleAdded, roleRemoved, setElements, setTarget, targetAdded, targetRemoved, targetSet
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, 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

UMLStructuralFeatureMultiplicityComboBoxModel

public UMLStructuralFeatureMultiplicityComboBoxModel()
Constructor for UMLStructuralFeatureMultiplicityComboBoxModel.

Method Detail

getSelectedModelElement

protected java.lang.Object getSelectedModelElement()
Description copied from class: UMLComboBoxModel2
Gets the modelelement that is selected in the NSUML model. For example, say that this ComboBoxmodel contains all namespaces (as in UMLNamespaceComboBoxmodel) , this method should return the namespace that owns the target then.

Specified by:
getSelectedModelElement in class UMLComboBoxModel2
Returns:
Object
See Also:
UMLComboBoxModel2.getSelectedModelElement()


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook