InputTool (int x, int y) { List<RadComponent> selection = myArea.getSelection(); for (RadComponent component : selection) { ComponentDecorator decorator = getDecorator(component, selection); InputTool tracker = decorator.findTargetTool(this, component, x, y); if (tracker != null) { return tracker; } } return null; }