de.uni_paderborn.fujaba.fsa.swing
Class UMLAttrExprOperationComboBoxModel

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended byde.uni_paderborn.fujaba.fsa.swing.UMLAttrExprOperationComboBoxModel
All Implemented Interfaces:
javax.swing.ComboBoxModel, javax.swing.ListModel, java.io.Serializable

public class UMLAttrExprOperationComboBoxModel
extends javax.swing.AbstractListModel
implements javax.swing.ComboBoxModel

ComboBoxModel for UMLAttrExprPair.allAttrExprAsText

Version:
$Revision: 1.9 $
Author:
$Author: lowende $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
UMLAttrExprOperationComboBoxModel()
          Default Constructor
 
Method Summary
 java.lang.Object getElementAt(int index)
          Get the elementAt attribute of the UMLAttrExprOperationComboBoxModel object
 java.lang.Object getSelectedItem()
          Get the selectedItem attribute of the UMLAttrExprOperationComboBoxModel object
 int getSize()
          Get the size attribute of the UMLAttrExprOperationComboBoxModel object
 void setSelectedItem(java.lang.Object value)
          Sets the selectedItem attribute of the UMLAttrExprOperationComboBoxModel object
 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
 

Constructor Detail

UMLAttrExprOperationComboBoxModel

public UMLAttrExprOperationComboBoxModel()
Default Constructor

Method Detail

toString

public java.lang.String toString()
Returns:
short string representation of current object

getSelectedItem

public java.lang.Object getSelectedItem()
Get the selectedItem attribute of the UMLAttrExprOperationComboBoxModel object

Specified by:
getSelectedItem in interface javax.swing.ComboBoxModel
Returns:
The selectedItem value

setSelectedItem

public void setSelectedItem(java.lang.Object value)
Sets the selectedItem attribute of the UMLAttrExprOperationComboBoxModel object

Specified by:
setSelectedItem in interface javax.swing.ComboBoxModel
Parameters:
value - The new selectedItem value

getElementAt

public java.lang.Object getElementAt(int index)
Get the elementAt attribute of the UMLAttrExprOperationComboBoxModel object

Specified by:
getElementAt in interface javax.swing.ListModel
Parameters:
index - No description provided
Returns:
The elementAt value

getSize

public int getSize()
Get the size attribute of the UMLAttrExprOperationComboBoxModel object

Specified by:
getSize in interface javax.swing.ListModel
Returns:
The size value