Package org.stringtemplate.v4.gui
Class JTreeASTModel
- java.lang.Object
-
- org.stringtemplate.v4.gui.JTreeASTModel
-
-
Constructor Summary
Constructors Constructor Description JTreeASTModel(Object root)JTreeASTModel(org.antlr.runtime.tree.TreeAdaptor adaptor, Object root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTreeModelListener(TreeModelListener treeModelListener)ObjectgetChild(Object parent, int index)intgetChildCount(Object parent)intgetIndexOfChild(Object parent, Object child)ObjectgetRoot()booleanisLeaf(Object node)voidremoveTreeModelListener(TreeModelListener treeModelListener)voidvalueForPathChanged(TreePath treePath, Object o)
-
-
-
Method Detail
-
getChildCount
public int getChildCount(Object parent)
- Specified by:
getChildCountin interfaceTreeModel
-
getIndexOfChild
public int getIndexOfChild(Object parent, Object child)
- Specified by:
getIndexOfChildin interfaceTreeModel
-
valueForPathChanged
public void valueForPathChanged(TreePath treePath, Object o)
- Specified by:
valueForPathChangedin interfaceTreeModel
-
addTreeModelListener
public void addTreeModelListener(TreeModelListener treeModelListener)
- Specified by:
addTreeModelListenerin interfaceTreeModel
-
removeTreeModelListener
public void removeTreeModelListener(TreeModelListener treeModelListener)
- Specified by:
removeTreeModelListenerin interfaceTreeModel
-
-