Package ca.phon.app.opgraph.editor
Class ScriptEditorTreeModel
java.lang.Object
javax.swing.tree.DefaultTreeModel
ca.phon.app.opgraph.editor.ScriptEditorTreeModel
- All Implemented Interfaces:
Serializable
,TreeModel
Tree model for
OpGraph
outline.- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DefaultMutableTreeNode
findMutableNode
(DefaultMutableTreeNode parent, ca.phon.opgraph.OpGraph graph) protected DefaultMutableTreeNode
findMutableNode
(DefaultMutableTreeNode parent, ca.phon.opgraph.OpNode node) ca.phon.opgraph.OpGraph
getGraph()
protected DefaultMutableTreeNode
getMutableNode
(ca.phon.opgraph.OpGraph graph) protected DefaultMutableTreeNode
getMutableNode
(ca.phon.opgraph.OpNode node) void
nodeChanged
(ca.phon.opgraph.OpNode node) void
nodeWasAdded
(ca.phon.opgraph.OpGraph graph, ca.phon.opgraph.OpNode node) void
nodeWasRemoved
(ca.phon.opgraph.OpGraph graph, ca.phon.opgraph.OpNode node) void
updateChildOrder
(DefaultMutableTreeNode treeNode, ca.phon.opgraph.OpGraph graph) Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
-
Constructor Details
-
ScriptEditorTreeModel
-
-
Method Details
-
getGraph
public ca.phon.opgraph.OpGraph getGraph() -
getMutableNode
-
findMutableNode
protected DefaultMutableTreeNode findMutableNode(DefaultMutableTreeNode parent, ca.phon.opgraph.OpGraph graph) -
getMutableNode
-
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
-