jcreek.cke.visualizer
Class EntityListModel
java.lang.Object
jcreek.cke.visualizer.EntityListModel
- All Implemented Interfaces:
- javax.swing.ListModel
- Direct Known Subclasses:
- DomainRelationDlg.RelationComboBoxModel, EntityComboBoxModel, RelationComboBoxModel
- public class EntityListModel
- extends java.lang.Object
- implements javax.swing.ListModel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityListModel
public EntityListModel(KnowledgeModel km)
getConceptList
protected Entity[] getConceptList()
updateList
protected void updateList()
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener
in interface javax.swing.ListModel
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener
in interface javax.swing.ListModel
getElementAt
public java.lang.Object getElementAt(int i)
- Specified by:
getElementAt
in interface javax.swing.ListModel
getConceptAt
public Entity getConceptAt(int i)
getConcept
public Entity getConcept(java.lang.String name)
getSize
public int getSize()
- Specified by:
getSize
in interface javax.swing.ListModel
clear
public void clear()
Created at IDI, NTNU by the Artificial Intelligence and Learning group