Пример #1
0
  @Override
  public void mouseReleased(MouseReleased _e) {
    setModePoint(_e.getPoint(), isPanEvent(_e));
    if (incDown().contains(_e.getPoint())) {
      incDownScroll();
    }
    if (incLeft().contains(_e.getPoint())) {
      incLeftScroll();
    }
    if (incRight().contains(_e.getPoint())) {
      incRight();
    }
    if (incUp().contains(_e.getPoint())) {
      incUpScroll();
    }

    mouseIsDown = false;
    drug = false;
    PickupAndDrop.cDefault.event(_e);
    if (_e.getClickCount() > 0) {
      DragAndDrop.cDefault.mouseReleased(_e);
    }
    resizingX = false;
    resizingY = false;
    scrollingX = false;
    scrollingY = false;
    lmp = null;
  }
Пример #2
0
 @Override
 public void mouseReleased(MouseReleased e) {
   XY_I p = e.getPoint();
   setSB(p.x, p.y);
 }