public void mouseUp(final Click click) { if (onOverlay(click.getLocation())) { click.subtract(overlayView.getLocation()); overlayView.mouseUp(click); } else { rootView.mouseUp(click); } }
public void thirdClick(final Click click) { if (onOverlay(click.getLocation())) { click.subtract(overlayView.getLocation()); overlayView.thirdClick(click); } else { rootView.thirdClick(click); } }
public void firstClick(final Click click) { /* * for (int i = 0; i < panes.length; i++) { * if(panes[i].respondsTo(click.getLocation())) { * panes[i].firstClick(click); return; } } */ if (onOverlay(click.getLocation())) { click.subtract(overlayView.getLocation()); overlayView.firstClick(click); } else { rootView.firstClick(click); } }