|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractListModel
de.uni_paderborn.fujaba.fsa.swing.UMLTypeListComboBoxModel
comboBoxModel for UMLTypeList
Field Summary | |
private java.lang.Object |
selectedItem
No comment provided by developer, please add a comment to improve documentation. |
private static UMLTypeListComboBoxModel |
singleton
No comment provided by developer, please add a comment to improve documentation. |
private UMLProject |
theProject
Remember the project, this model is used for. |
private java.util.Vector |
types
No comment provided by developer, please add a comment to improve documentation. |
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Constructor Summary | |
private |
UMLTypeListComboBoxModel()
Private default Constructor, use UMLTypeListComboBoxModel.get() to get the singleton instance. |
Method Summary | |
private void |
addAll(UMLTypeList umlTypeList)
Access method for a To N-association. |
static UMLTypeListComboBoxModel |
get()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.Object |
getElementAt(int index)
Get the elementAt attribute of the UMLTypeListComboBoxModel object |
java.lang.Object |
getSelectedItem()
Get the selectedItem attribute of the UMLTypeListComboBoxModel object |
int |
getSize()
Get the size attribute of the UMLTypeListComboBoxModel object |
void |
propertyChange(java.beans.PropertyChangeEvent event)
No comment provided by developer, please add a comment to improve documentation. |
private void |
remove(FType type)
No comment provided by developer, please add a comment to improve documentation. |
private void |
removeAll()
No comment provided by developer, please add a comment to improve documentation. |
void |
setSelectedItem(java.lang.Object value)
Sets the selectedItem attribute of the UMLTypeListComboBoxModel object |
private void |
sortIn(UMLType type)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
toString()
|
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, wait, wait, wait |
Methods inherited from interface javax.swing.ListModel |
addListDataListener, removeListDataListener |
Field Detail |
private static UMLTypeListComboBoxModel singleton
private UMLProject theProject
private java.util.Vector types
private java.lang.Object selectedItem
Constructor Detail |
private UMLTypeListComboBoxModel()
Method Detail |
public static UMLTypeListComboBoxModel get()
public java.lang.Object getSelectedItem()
getSelectedItem
in interface javax.swing.ComboBoxModel
public void setSelectedItem(java.lang.Object value)
setSelectedItem
in interface javax.swing.ComboBoxModel
value
- The new selectedItem valuepublic java.lang.Object getElementAt(int index)
getElementAt
in interface javax.swing.ListModel
index
- No description provided
public int getSize()
getSize
in interface javax.swing.ListModel
public java.lang.String toString()
private void sortIn(UMLType type)
type
- No description providedprivate void addAll(UMLTypeList umlTypeList)
umlTypeList
- The object added.private void remove(FType type)
type
- No description providedprivate void removeAll()
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
event
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |