Package PamView.symbol.modifier.swing
Class SymbolTreeModel
java.lang.Object
PamView.symbol.modifier.swing.SymbolTreeModel
- All Implemented Interfaces:
TreeModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getChildCount
(Object parent) int
getIndexOfChild
(Object parent, Object child) getRoot()
boolean
void
int
reverseOrder
(int nodeInd1) void
swapNodes
(int nodeInd, int newInd) void
valueForPathChanged
(TreePath path, Object newValue)
-
Constructor Details
-
SymbolTreeModel
-
-
Method Details
-
getRoot
-
getChild
-
getChildCount
- Specified by:
getChildCount
in interfaceTreeModel
-
isLeaf
-
valueForPathChanged
- Specified by:
valueForPathChanged
in interfaceTreeModel
-
getIndexOfChild
- Specified by:
getIndexOfChild
in interfaceTreeModel
-
addTreeModelListener
- Specified by:
addTreeModelListener
in interfaceTreeModel
-
removeTreeModelListener
- Specified by:
removeTreeModelListener
in interfaceTreeModel
-
swapNodes
public void swapNodes(int nodeInd, int newInd) -
reverseOrder
public int reverseOrder(int nodeInd1)
-