| |
com.declarativa.interprolog.gui
Class TermListModel
java.lang.Object
com.declarativa.interprolog.gui.TermListModel
- All Implemented Interfaces:
- ListModel, Serializable
- public class TermListModel
- extends Object
- implements Serializable, ListModel
The Swing model to support a JList displaying Prolog terms
- See Also:
- Serialized Form
TermListModel
public TermListModel(TermModel[] terms)
example
public static ObjectExamplePair example()
addListDataListener
public void addListDataListener(ListDataListener l)
- Specified by:
addListDataListener in interface ListModel
removeListDataListener
public void removeListDataListener(ListDataListener l)
- Specified by:
removeListDataListener in interface ListModel
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt in interface ListModel
getSize
public int getSize()
- Specified by:
getSize in interface ListModel
|