Example #1
0
 public void mouseUp(final Click click) {
   if (onOverlay(click.getLocation())) {
     click.subtract(overlayView.getLocation());
     overlayView.mouseUp(click);
   } else {
     rootView.mouseUp(click);
   }
 }
Example #2
0
 public void thirdClick(final Click click) {
   if (onOverlay(click.getLocation())) {
     click.subtract(overlayView.getLocation());
     overlayView.thirdClick(click);
   } else {
     rootView.thirdClick(click);
   }
 }
Example #3
0
 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);
   }
 }