public interface

INodeCoordinates

com.pnfsoftware.jeb.core.output.tree.INodeCoordinates
Known Indirect Subclasses

Class Overview

A coordinates system for nodes inside an ITreeDocument.

The address is a path from the root to the node. Each element in a path is a zero-indexed value that indicates the current parent position in the tree branch.

Example tree:

 a
 b>-+
 c  e
 d  f
    g
 

Coordinates of:

  • a : (0)
  • b : (1)
  • e : (1,0)
  • f : (1,1)

Summary

Public Methods
abstract List<Integer> getPath()
Return the path of the node being addressed.

Public Methods

public abstract List<Integer> getPath ()

Return the path of the node being addressed. A path is a tuple of positions in each of the branch leading from the root to the node.

Returns
  • the path or null, see description above