de.uni_paderborn.fujaba.gui.comp
Class JglComboBoxModel

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended byde.uni_paderborn.fujaba.gui.comp.JglListModel
          extended byde.uni_paderborn.fujaba.gui.comp.JglComboBoxModel
All Implemented Interfaces:
javax.swing.ComboBoxModel, javax.swing.ListModel, java.io.Serializable

public class JglComboBoxModel
extends JglListModel
implements javax.swing.ComboBoxModel

Version:
$Revision: 1.15 $
Author:
$Author: schneider $
See Also:
Serialized Form

Field Summary
static java.lang.String NONE
          No comment provided by developer, please add a comment to improve documentation.
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
JglComboBoxModel(java.util.Collection container, boolean none)
          Constructor for class JglComboBoxModel
JglComboBoxModel(java.util.Map container, boolean none)
          Constructor for class JglComboBoxModel
 
Method Summary
 java.lang.Object getElementAt(int index)
          Get the elementAt attribute of the JglComboBoxModel object
 java.lang.Object getSelectedItem()
          Get the selectedItem attribute of the JglComboBoxModel object
 int getSize()
          Get the size attribute of the JglComboBoxModel object
 void setSelectedItem(java.lang.Object anItem)
          Sets the selectedItem attribute of the JglComboBoxModel object
 
Methods inherited from class de.uni_paderborn.fujaba.gui.comp.JglListModel
setPair, setUseKey
 
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
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Field Detail

NONE

public static final java.lang.String NONE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Constructor Detail

JglComboBoxModel

public JglComboBoxModel(java.util.Collection container,
                        boolean none)
Constructor for class JglComboBoxModel

Parameters:
container - No description provided
none - No description provided

JglComboBoxModel

public JglComboBoxModel(java.util.Map container,
                        boolean none)
Constructor for class JglComboBoxModel

Parameters:
container - No description provided
none - No description provided
Method Detail

getSize

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

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

getElementAt

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

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

setSelectedItem

public void setSelectedItem(java.lang.Object anItem)
Sets the selectedItem attribute of the JglComboBoxModel object

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

getSelectedItem

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

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