Protege-2000 1.7

edu.stanford.smi.protegex.widget.diagram
Class RootListModel

java.lang.Object
  |
  +--javax.swing.AbstractListModel
        |
        +--edu.stanford.smi.protegex.widget.diagram.RootListModel
All Implemented Interfaces:
ListModel, Serializable

public class RootListModel
extends AbstractListModel

Description of the class

Author:
William Grosso
See Also:
Serialized Form

Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
RootListModel(DiagramWidget widget)
           
 
Method Summary
 Object getElementAt(int index)
           
 int getIndexOfInstance(edu.stanford.smi.protege.model.Instance ins)
           
 edu.stanford.smi.protege.model.Instance getInstanceAt(int index)
           
 int getSize()
           
 String getTextAt(int index)
           
static String getTextFor(edu.stanford.smi.protege.model.Instance ins)
           
 void refreshNodes()
           
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootListModel

public RootListModel(DiagramWidget widget)
Method Detail

getElementAt

public Object getElementAt(int index)
Overrides:
getElementAt in class AbstractListModel

getIndexOfInstance

public int getIndexOfInstance(edu.stanford.smi.protege.model.Instance ins)

getInstanceAt

public edu.stanford.smi.protege.model.Instance getInstanceAt(int index)

getSize

public int getSize()
Overrides:
getSize in class AbstractListModel

getTextAt

public String getTextAt(int index)

getTextFor

public static String getTextFor(edu.stanford.smi.protege.model.Instance ins)

refreshNodes

public void refreshNodes()

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.