protected void moveNode ( TreeNode node , double dx , double dy ) { node . x += dx ; node . y += dy ; apply ( node , null ) ; TreeNode child = node . child ; while ( child != null ) { moveNode ( child , dx , dy ) ; child = child . next ; } }
Moves the specified node and all of its children by the given amount .