edu.stanford.smi.protege.util
Class SimpleListModel
java.lang.Object
|
+--javax.swing.AbstractListModel
|
+--edu.stanford.smi.protege.util.SimpleListModel
- All Implemented Interfaces:
- ListModel, Serializable
- public class SimpleListModel
- extends AbstractListModel
Description of the class
- Author:
- Ray Fergerson
- See Also:
- Serialized Form
SimpleListModel
public SimpleListModel()
SimpleListModel
public SimpleListModel(Collection values)
addValue
public int addValue(Object o)
addValue
public void addValue(Object o,
int index)
addValues
public int addValues(Collection values)
clear
public void clear()
contains
public boolean contains(Object o)
getElementAt
public Object getElementAt(int i)
- Overrides:
getElementAt
in class AbstractListModel
getSize
public int getSize()
- Overrides:
getSize
in class AbstractListModel
getValues
public List getValues()
indexOf
public int indexOf(Object o)
moveValue
public void moveValue(int start,
int end)
removeValue
public int removeValue(Object o)
removeValues
public int removeValues(Collection values)
setValue
public void setValue(int index,
Object o)
setValues
public void setValues(Collection values)
toString
public String toString()
- Overrides:
toString
in class Object
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.