if( dockable != null ) {
grid.addDockable( x, y, width, height, dockable );
}
}
else{
Node node = entry.asNode();
double divider = node.getDivider();
if( node.getOrientation() == Orientation.HORIZONTAL ){
handle( node.getChildA(), x, y, width*divider, height );
handle( node.getChildB(), x+width*divider, y, width*(1-divider), height );
}
else{
handle( node.getChildA(), x, y, width, height*divider );
handle( node.getChildB(), x, y+height*divider, width, height*(1-divider) );
}
}
}
}