Class ScriptEditorTreeModel

java.lang.Object
javax.swing.tree.DefaultTreeModel
ca.phon.app.opgraph.editor.ScriptEditorTreeModel
All Implemented Interfaces:
Serializable, TreeModel

public class ScriptEditorTreeModel extends DefaultTreeModel
Tree model for OpGraph outline.
See Also:
  • Constructor Details

    • ScriptEditorTreeModel

      public ScriptEditorTreeModel(JTree tree, ca.phon.opgraph.OpGraph graph)
  • Method Details

    • getGraph

      public ca.phon.opgraph.OpGraph getGraph()
    • getMutableNode

      protected DefaultMutableTreeNode getMutableNode(ca.phon.opgraph.OpGraph graph)
    • findMutableNode

      protected DefaultMutableTreeNode findMutableNode(DefaultMutableTreeNode parent, ca.phon.opgraph.OpGraph graph)
    • getMutableNode

      protected DefaultMutableTreeNode getMutableNode(ca.phon.opgraph.OpNode node)
    • findMutableNode

      protected DefaultMutableTreeNode findMutableNode(DefaultMutableTreeNode parent, ca.phon.opgraph.OpNode node)
    • nodeWasRemoved

      public void nodeWasRemoved(ca.phon.opgraph.OpGraph graph, ca.phon.opgraph.OpNode node)
    • nodeWasAdded

      public void nodeWasAdded(ca.phon.opgraph.OpGraph graph, ca.phon.opgraph.OpNode node)
    • nodeChanged

      public void nodeChanged(ca.phon.opgraph.OpNode node)
    • updateChildOrder

      public void updateChildOrder(DefaultMutableTreeNode treeNode, ca.phon.opgraph.OpGraph graph)