public class ResultTreeRoot extends ProjectionTreeNode<ProjectionModel>
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
ResultTreeRoot(ProjectionModel projectionModel)
Instantiates a new result tree root.
|
Modifier and Type | Method and Description |
---|---|
protected ResultExport |
configureResultExport(ProjectionModel projection,
File targetDir)
Configures result export.
|
void |
deselected()
Method that is called by the
TreeSelectionListener when this node gets
de-selected. |
JPanel |
selected(TreePath selectionPath,
IProjectionTree projTree)
Method that is called by
ProjectionTreeNode#selected(TreePath, JPanel, DefaultTreeModel, javax.swing.JTree)
originally. |
getChilds, getChildsByType, getChildsByType, getChildWithEntity, getContentPanel, getEntity, getEntityClass, getEntityLabel, getProjectionEntity, getProjectionEntity, getProjectionTreeNodeOnPath, refreshRecursively, refreshRepresentation, selected
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public ResultTreeRoot(ProjectionModel projectionModel)
projectionModel
- the projection modelpublic JPanel selected(TreePath selectionPath, IProjectionTree projTree)
ProjectionTreeNode
ProjectionTreeNode#selected(TreePath, JPanel, DefaultTreeModel, javax.swing.JTree)
originally. Implementations of ProjectionTreeNode
might override
either of the 'selected' methods, this one is more convenient as it stores
the generated panel in an auxiliary variable and does not require to add
the panel manually, it just needs to be returned.selected
in class ProjectionTreeNode<ProjectionModel>
selectionPath
- the path containing all ancestorsprojTree
- the projection treeprotected ResultExport configureResultExport(ProjectionModel projection, File targetDir)
projection
- the projectiontargetDir
- the target directorypublic void deselected()
ProjectionTreeNode
TreeSelectionListener
when this node gets
de-selected.deselected
in class ProjectionTreeNode<ProjectionModel>
Copyright © 2013. All Rights Reserved.