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
Method Summary |
String |
getName(int index)
Returns the name of the named key pair as name of the entry. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyPairModel
public KeyPairModel()
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
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.