de.uni_paderborn.fujaba.gui.comp
Class JglListModel

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

public class JglListModel
extends javax.swing.AbstractListModel

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

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
JglListModel(java.util.Collection container)
          Constructor for class JglListModel
JglListModel(java.util.Map container)
          Constructor for class JglListModel
 
Method Summary
 java.lang.Object getElementAt(int index)
          Get the elementAt attribute of the JglListModel object
 int getSize()
          Get the size attribute of the JglListModel object
protected  void setPair(boolean pair)
          Sets the pair attribute of the JglListModel object
 void setUseKey(boolean key)
          Sets the useKey attribute of the JglListModel object
 
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

JglListModel

public JglListModel(java.util.Collection container)
Constructor for class JglListModel

Parameters:
container - No description provided

JglListModel

public JglListModel(java.util.Map container)
Constructor for class JglListModel

Parameters:
container - No description provided
Method Detail

setPair

protected void setPair(boolean pair)
Sets the pair attribute of the JglListModel object

Parameters:
pair - The new pair value

setUseKey

public void setUseKey(boolean key)
Sets the useKey attribute of the JglListModel object

Parameters:
key - The new useKey value

getSize

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

Returns:
The size value

getElementAt

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

Parameters:
index - No description provided
Returns:
The elementAt value