|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TreeMapNode | |
---|---|
org.gicentre.io | Utitlities for reading and writing various file formats |
org.gicentre.treemappa | Main package for handling treemaps. |
Uses of TreeMapNode in org.gicentre.io |
---|
Methods in org.gicentre.io with parameters of type TreeMapNode | |
---|---|
static boolean |
ShapefileWriter.writeNodes(TreeMapNode node,
java.lang.String fileName)
Writes a shapefile based on the supplied treemap node (and all of its decendents). |
Uses of TreeMapNode in org.gicentre.treemappa |
---|
Methods in org.gicentre.treemappa that return TreeMapNode | |
---|---|
TreeMapNode |
TreeMapNode.findNode(java.lang.String nodeLabel)
Performs a breadth-first search looking for the first node with the given label. |
TreeMapNode |
TreeMapNode.getChildAt(int index)
Reports the child at the given index. |
TreeMapNode |
TreeMapNode.getParent()
Reports the parent of this node. |
TreeMapNode |
TreeMappa.getRoot()
Provides the root node of the treeMap. |
TreeMapNode |
TreeMapBreadthFirstIterator.next()
Provides the next tree map node in the breadth-first traversal of the hierarchy or throws a NoSuchElementException if there are no more nodes to iterate over. |
Methods in org.gicentre.treemappa that return types with arguments of type TreeMapNode | |
---|---|
java.util.Enumeration<TreeMapNode> |
TreeMapNode.children()
Reports the children of this node. |
java.util.List<TreeMapNode> |
TreeMapNode.getChildren()
Reports the children of this node. |
static java.util.Comparator<TreeMapNode> |
TreeMapNode.getEWComparator()
Provides a spatial comparator that can be used for ordering nodes in an west-east direction. |
java.util.List<TreeMapNode> |
TreeMapNode.getNeighbours()
Reports the nodes that are immediate neighbours of this one. |
static java.util.Comparator<TreeMapNode> |
TreeMapNode.getNSComparator()
Provides a spatial comparator that can be used for ordering nodes in an south-north direction. |
java.util.Iterator<TreeMapNode> |
TreeMapNode.iterator()
Provides an iterator that will perform a breadth-first iteration over the hierarchy starting with this node and its children. |
Methods in org.gicentre.treemappa with parameters of type TreeMapNode | |
---|---|
void |
TreeMapNode.add(TreeMapNode child)
Adds the given child node to this one. |
int |
TreeMapNode.compareTo(TreeMapNode node)
Compares this node with another. |
void |
TreeMappa.setRoot(TreeMapNode root)
Sets the new tree data to be represented by the treemap. |
Method parameters in org.gicentre.treemappa with type arguments of type TreeMapNode | |
---|---|
void |
TreeMapNode.sortChildren(java.util.Comparator<TreeMapNode> comparator)
Sorts the immediate child nodes using the given comparator. |
void |
TreeMapNode.sortDescendants(java.util.Comparator<TreeMapNode> comparator)
Sorts all of the descendants of this node using the given comparator. |
Constructors in org.gicentre.treemappa with parameters of type TreeMapNode | |
---|---|
TreeMapBreadthFirstIterator(TreeMapNode startNode)
Initialises the iterator with the tree map node at the start of the traversal. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |