fi.paatti.research.paattiapplication.views.eventview.tools
Class NodeFactory.MultiPathNode
java.lang.Object
fi.paatti.research.paattiapplication.views.eventview.tools.Clickable
fi.paatti.research.paattiapplication.views.eventview.tools.NodeFactory.TreeNode
fi.paatti.research.paattiapplication.views.eventview.tools.NodeFactory.MultiPathNode
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- NodeFactory.RadioNode
- Enclosing class:
- NodeFactory
public class NodeFactory.MultiPathNode
- extends NodeFactory.TreeNode
- implements Serializable
MultiPathNode is a TreeNode that can have multiple children and multiple
exit paths all leading to different destinations (or the same if needed).
- See Also:
- Serialized Form
-
-
| Fields inherited from class fi.paatti.research.paattiapplication.views.eventview.tools.Clickable |
height, width, x, y |
| Methods inherited from class fi.paatti.research.paattiapplication.views.eventview.tools.NodeFactory.TreeNode |
addChild, addParent, detach, getChildren, getContent, getDescription, getId, getParents, getProperty, getRealId, getType, getX, getY, moveTo, paint, removeChild, removeParent, setActive, setContent, setDescription, setRealId, setType, setX, setY, toString |
| Methods inherited from class fi.paatti.research.paattiapplication.views.eventview.tools.Clickable |
contains |
createNodePath
public void createNodePath()
- Creates an empty NodePath, adding it to the nodePaths list.
createNodePath
public void createNodePath(String description,
int value,
NodeFactory.TreeNode destinationNode)
- Creates a nodepath with the given values and adds it to the paths
list.
- Parameters:
description - the path's descriptionvalue - the path's valuedestinationNode - the path's destination node
getNodePaths
public LinkedList<NodeFactory.MultiPathNode.NodePath> getNodePaths()
- Returns the nodePaths list.
- Returns:
- nodePaths list
removeNodePath
public void removeNodePath(NodeFactory.MultiPathNode.NodePath nodePath)
- Removes the given NodePath from the nodePaths list.
- Parameters:
nodePath - nodePath to remove
Copyright © 2012. All Rights Reserved.