org.argouml.uml.ui.behavior.collaborations
Class UMLClassifierRoleBaseListModel
java.lang.Object
javax.swing.AbstractListModel
javax.swing.DefaultListModel
org.argouml.uml.ui.UMLModelElementListModel2
org.argouml.uml.ui.behavior.collaborations.UMLClassifierRoleBaseListModel
- All Implemented Interfaces:
- EventListener, ListModel, ru.novosoft.uml.MElementListener, Serializable, TargetListener
- public class UMLClassifierRoleBaseListModel
- extends UMLModelElementListModel2
Shows the bases belonging to some classifierrole.
- Since:
- Oct 3, 2002
- See Also:
- Serialized Form
Method Summary |
protected void |
buildModelList()
Builds the list of elements. |
protected boolean |
isValidElement(Object elem)
Returns true if the given element is valid, i.e. |
Methods inherited from class org.argouml.uml.ui.UMLModelElementListModel2 |
addAll, addElement, buildPopup, contains, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getChangedElement, getTarget, isValidEvent, listRoleItemSet, propertySet, recovered, removed, roleAdded, roleRemoved, setAllElements, setBuildingModel, setEventName, setListTarget, setTarget, targetAdded, targetRemoved, targetSet |
Methods inherited from class javax.swing.DefaultListModel |
add, capacity, clear, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getElementAt, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize |
UMLClassifierRoleBaseListModel
public UMLClassifierRoleBaseListModel()
- Constructor for UMLClassifierRoleBaseListModel.
buildModelList
protected void buildModelList()
- Description copied from class:
UMLModelElementListModel2
- Builds the list of elements. Called from targetChanged every time the
target of the proppanel is changed.
- Specified by:
buildModelList
in class UMLModelElementListModel2
- See Also:
UMLModelElementListModel2.buildModelList()
isValidElement
protected boolean isValidElement(Object elem)
- Description copied from class:
UMLModelElementListModel2
- Returns true if the given element is valid, i.e. it may be added to the
list of elements.
- Specified by:
isValidElement
in class UMLModelElementListModel2
- Parameters:
elem
- the element to be tested
- Returns:
- true if valid
- See Also:
UMLModelElementListModel2.isValidElement(Object)