private static boolean containedBy(DockLayoutNode node, int x, int y) {
		if (node != null) {
			int edgeX = node.getX();
			if (x >= edgeX && x < edgeX + node.getWidth()) {
				int edgeY = node.getY();
				return y >= edgeY && y < edgeY + node.getHeight();
			}
		}
		return false;
	}