Tree: Depth of node?

Hi,

is there a way to get the depth of a node? tree.getNodeDepth(id), node.getDepth(), …?

Next method return the depth of node
    tree.getLevel(id);