|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.fsa.swing.UMLVisibilityComboBoxModel
comboBoxModel for UMLVisibility
Constructor Summary | |
UMLVisibilityComboBoxModel()
Default Constructor |
Method Summary | |
void |
addListDataListener(javax.swing.event.ListDataListener l)
Add a listener to the list that's notified each time a change to the data model occurs. |
protected void |
fireContentsChanged(java.lang.Object source,
int index0,
int index1)
Call this method after one or more elements of the list change (uml-assocs are created or deleted). |
protected void |
fireIntervalAdded(java.lang.Object source,
int index0,
int index1)
Call this method after one or more elements are added to the model (uml-assocs are created). |
protected void |
fireIntervalRemoved(java.lang.Object source,
int index0,
int index1)
Call this method after one or more elements are removed from the model (uml-assocs are removed). |
java.lang.Object |
getElementAt(int index)
Get the elementAt attribute of the UMLVisibilityComboBoxModel object |
java.lang.Object |
getSelectedItem()
Get the selectedItem attribute of the UMLVisibilityComboBoxModel object |
int |
getSize()
Get the size attribute of the UMLVisibilityComboBoxModel object |
void |
removeListDataListener(javax.swing.event.ListDataListener l)
Remove a listener from the list that's notified each time a change to the data model occurs. |
void |
setSelectedItem(java.lang.Object value)
Sets the selectedItem attribute of the UMLVisibilityComboBoxModel object |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UMLVisibilityComboBoxModel()
Method Detail |
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 void addListDataListener(javax.swing.event.ListDataListener l)
addListDataListener
in interface javax.swing.ListModel
l
- the ListDataListenerpublic void removeListDataListener(javax.swing.event.ListDataListener l)
removeListDataListener
in interface javax.swing.ListModel
l
- the ListDataListenerprotected void fireContentsChanged(java.lang.Object source, int index0, int index1)
source
- The ListModel that changed, typically "this".index0
- One end of the new interval.index1
- The other end of the new interval.EventListenerList
,
DefaultListModel
protected void fireIntervalAdded(java.lang.Object source, int index0, int index1)
source
- The ListModel that changed, typically "this".index0
- One end of the new interval.index1
- The other end of the new interval.EventListenerList
,
DefaultListModel
protected void fireIntervalRemoved(java.lang.Object source, int index0, int index1)
source
- The ListModel that changed, typically "this".index0
- One end of the new interval.index1
- The other end of the new interval.EventListenerList
,
DefaultListModel
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |