Package org.apache.uima.tools.cvd
Class FSTreeModel
java.lang.Object
org.apache.uima.tools.cvd.FSTreeModel
- All Implemented Interfaces:
TreeModel
Insert comment for enclosing_type here.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CASImpl
private static final String
private FSTreeNode
private String
private List<TreeModelListener>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
(package private) static List<FSTreeNode>
createArrayChildren
(int start, int end, List<FSNode> array, FSTreeModel model) (package private) CASImpl
getCas()
int
getChildCount
(Object parent) getFSs()
int
getIndexOfChild
(Object parent, Object child) (package private) int
getNodeType
(int addr, Feature feat) (package private) int
getNodeType
(Type type) private void
getPathToNode
(int n, List<FSTreeNode> dtrs, List<FSTreeNode> path) getRoot()
(package private) String
boolean
pathToNode
(int fsNum) void
void
reset()
void
void
valueForPathChanged
(TreePath path, Object newValue)
-
Field Details
-
root
-
cas
-
treeModelListeners
-
fss
-
defaultRootString
- See Also:
-
rootString
-
-
Constructor Details
-
FSTreeModel
public FSTreeModel()Constructor for FSTreeModel.
-
-
Method Details
-
update
-
reset
public void reset() -
getFSs
-
getRoot
-
getChild
-
getNodeType
-
getNodeType
-
getChildCount
- Specified by:
getChildCount
in interfaceTreeModel
- See Also:
-
isLeaf
-
valueForPathChanged
- Specified by:
valueForPathChanged
in interfaceTreeModel
- See Also:
-
getIndexOfChild
- Specified by:
getIndexOfChild
in interfaceTreeModel
- See Also:
-
addTreeModelListener
- Specified by:
addTreeModelListener
in interfaceTreeModel
- See Also:
-
removeTreeModelListener
- Specified by:
removeTreeModelListener
in interfaceTreeModel
- See Also:
-
getCas
CASImpl getCas()- Returns:
- CASImpl
-
getRootString
String getRootString()- Returns:
- String
-
createArrayChildren
static List<FSTreeNode> createArrayChildren(int start, int end, List<FSNode> array, FSTreeModel model) -
pathToNode
-
getPathToNode
-