void (EditorMouseEvent e) { ResizeInfo info = getInfoForResizeUnder(e.getMouseEvent().getPoint()); if (info == null) { resetCursor(); return; } myEditor.setCustomCursor(ComponentInlays.this, info.direction.cursor); }