org.argouml.uml.ui.behavior.state_machines
Class UMLEventParameterListModel

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended byjavax.swing.DefaultListModel
          extended byorg.argouml.uml.ui.UMLModelElementListModel2
              extended byorg.argouml.uml.ui.behavior.state_machines.UMLEventParameterListModel
All Implemented Interfaces:
java.util.EventListener, javax.swing.ListModel, ru.novosoft.uml.MElementListener, java.io.Serializable, TargetListener

public class UMLEventParameterListModel
extends UMLModelElementListModel2

A list model for the parameters belonging to an event

Since:
Dec 14, 2002
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.argouml.uml.ui.UMLModelElementListModel2
_buildingModel, _fireListEvents, _target
 
Fields inherited from class javax.swing.DefaultListModel
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
UMLEventParameterListModel()
          Constructor for UMLEventParameterListModel.
 
Method Summary
protected  void buildModelList()
          Builds the list of elements.
protected  boolean isValidElement(java.lang.Object element)
          Returns true if the given element is valid, i.e.
 
Methods inherited from class org.argouml.uml.ui.UMLModelElementListModel2
addAll, addElement, contains, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getChangedElement, getTarget, isValidEvent, listRoleItemSet, propertySet, recovered, removed, roleAdded, roleRemoved, setAllElements, setEventName, 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
 
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, wait, wait, wait
 

Constructor Detail

UMLEventParameterListModel

public UMLEventParameterListModel()
Constructor for UMLEventParameterListModel.

Method Detail

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(java.lang.Object element)
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:
element -
See Also:
UMLModelElementListModel2.isValidElement(Object)


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