Agent System POND 1.2 (28.2.2002)

FIM.Util.GUI
Class KeyPairModel

java.lang.Object
  |
  +--javax.swing.AbstractListModel
        |
        +--FIM.Util.GUI.NamedListModel
              |
              +--FIM.Util.GUI.KeyPairModel
All Implemented Interfaces:
ListModel, Serializable

public class KeyPairModel
extends NamedListModel

A model for a named list consisting of objects of the class NamedKeyPair. Returns the name of the key pair as the name of the item.

Version:
1.0, 1.7.2000
Author:
Michael Sonntag
See Also:
NamedKeyPair, Serialized Form

Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
KeyPairModel()
           
 
Method Summary
 String getName(int index)
          Returns the name of the named key pair as name of the entry.
 
Methods inherited from class FIM.Util.GUI.NamedListModel
addData, getDataAt, getElementAt, getSize, insertData, removeElement
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyPairModel

public KeyPairModel()
Method Detail

getName

public String getName(int index)
Returns the name of the named key pair as name of the entry.
Overrides:
getName in class NamedListModel
Parameters:
index - the index of the element whose name should be retrieved
Returns:
the name of the key pair at the provided index

Agent System POND 1.2 (28.2.2002)

Submit a bug

Copyright 2001,2002 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.