de.uni_paderborn.fujaba.gui
Class PEStringListModel

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

public class PEStringListModel
extends javax.swing.DefaultListModel
implements javax.swing.ListModel, javax.swing.ComboBoxModel

No comment provided by developer, please add a comment to improve documentation.

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

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
PEStringListModel()
           
 
Method Summary
 void add(java.lang.String item)
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.Object getElementAt(int Index)
          Get the elementAt attribute of the PEStringListModel object
 java.lang.Object getSelectedItem()
          Get the selectedItem attribute of the PEStringListModel object
 void setSelectedItem(java.lang.Object anItem)
          Sets the selectedItem attribute of the PEStringListModel object
 
Methods inherited from class javax.swing.DefaultListModel
add, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize
 
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, getSize, removeListDataListener
 

Constructor Detail

PEStringListModel

public PEStringListModel()
Method Detail

add

public void add(java.lang.String item)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
item - No description provided

getElementAt

public java.lang.Object getElementAt(int Index)
Get the elementAt attribute of the PEStringListModel object

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

getSelectedItem

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

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

setSelectedItem

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

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