com.declarativa.interprolog.gui
Class RelationTreeModel
java.lang.Object
   com.declarativa.interprolog.gui.RelationTreeModel
com.declarativa.interprolog.gui.RelationTreeModel
- All Implemented Interfaces: 
- TreeModel
- public class RelationTreeModel- extends Object- implements TreeModel
 
 
 
 
RelationTreeModel
public RelationTreeModel(PrologEngine engine,
                         String relationFunctor,
                         Object root)
browseRelation
public static void browseRelation(PrologEngine engine,
                                  String relationFunctor,
                                  Object top)
- 
 
- 
 
getRoot
public Object getRoot()
- 
- Specified by:
- getRootin interface- TreeModel
 
- 
 
getChild
public Object getChild(Object parent,
                       int index)
- 
- Specified by:
- getChildin interface- TreeModel
 
- 
 
getChildCount
public int getChildCount(Object parent)
- 
- Specified by:
- getChildCountin interface- TreeModel
 
- 
 
isLeaf
public boolean isLeaf(Object node)
- 
- Specified by:
- isLeafin interface- TreeModel
 
- 
 
valueForPathChanged
public void valueForPathChanged(TreePath path,
                                Object newValue)
- 
- Specified by:
- valueForPathChangedin interface- TreeModel
 
- 
 
getIndexOfChild
public int getIndexOfChild(Object parent,
                           Object child)
- 
- Specified by:
- getIndexOfChildin interface- TreeModel
 
- 
 
addTreeModelListener
public void addTreeModelListener(TreeModelListener l)
- 
- Specified by:
- addTreeModelListenerin interface- TreeModel
 
- 
 
removeTreeModelListener
public void removeTreeModelListener(TreeModelListener l)
- 
- Specified by:
- removeTreeModelListenerin interface- TreeModel
 
- 
 
example
public static ObjectExamplePair example()
- 
 
-