|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractListModel | +--org.argouml.uml.ui.UMLModelElementListModel | +--org.argouml.uml.ui.UMLModelElementCachedListModel | +--org.argouml.uml.ui.UMLAttributesListModel | +--org.argouml.uml.ui.UMLAttributesClassifierRoleListModel
Field Summary |
---|
Fields inherited from class org.argouml.uml.ui.UMLModelElementListModel |
---|
_upper, NO_LIMIT |
Fields inherited from class javax.swing.AbstractListModel |
---|
listenerList |
Constructor Summary | |
---|---|
UMLAttributesClassifierRoleListModel(UMLUserInterfaceContainer container,
java.lang.String property,
boolean showNone)
Deprecated. Constructor for UMLAttributesClassifierRoleListModel. |
Method Summary | |
---|---|
void |
add(int index)
Deprecated. Adds a new attribute, updating both the cache and underlying collection and navigating to new attribute. |
boolean |
buildPopup(javax.swing.JPopupMenu popup,
int index)
Deprecated. This method builds a context (pop-up) menu for the list. |
protected java.util.List |
getChoices()
Deprecated. |
Methods inherited from class org.argouml.uml.ui.UMLAttributesListModel |
---|
delete, getCache, getRawCollection, isProperClass, moveDown, moveUp, resetCache |
Methods inherited from class org.argouml.uml.ui.UMLModelElementCachedListModel |
---|
addElement, buildCache, getModelElementAt, listRoleItemSet, propertySet, recalcModelElementSize, recovered, removed, roleAdded, roleRemoved, swap, targetChanged |
Methods inherited from class org.argouml.uml.ui.UMLModelElementListModel |
---|
addAtUtil, elementAtUtil, formatElement, getContainer, getContextNotation, getElementAt, getModelElementSize, getProperty, getSize, getTarget, getUpperBound, moveDownUtil, moveUpUtil, navigateTo, open, resetSize, setUpperBound, targetReasserted |
Methods inherited from class javax.swing.AbstractListModel |
---|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UMLAttributesClassifierRoleListModel(UMLUserInterfaceContainer container, java.lang.String property, boolean showNone)
container
- property
- showNone
- Method Detail |
public void add(int index)
UMLAttributesListModel
add
in class UMLAttributesListModel
index
- position of new attribute (zero-based) but only refers
to the index position in the particular list box, not the collection.UMLAttributesListModel.add(int)
public boolean buildPopup(javax.swing.JPopupMenu popup, int index)
UMLAttributesListModel
buildPopup
in class UMLAttributesListModel
popup
- popup menuindex
- index of selected list item
UMLModelElementListModel.buildPopup(JPopupMenu, int)
protected java.util.List getChoices()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20040229) | ArgoUML Project Home | ArgoUML Cookbook |