@Override public float getRelativeX() { return this.getAbsoluteLeft() - this.getContainer().getAbsoluteLeft(); }
@Override public float getRelativeX() { return this.getAbsoluteLeft() - this.getContainer().getAbsoluteLeft(); }
@Override public float getRelativeX() { return this.getAbsoluteLeft() - this.getContainer().getAbsoluteLeft(); }
@Override public float getRelativeX() { return this.getAbsoluteLeft() - this.getContainer().getAbsoluteLeft(); }
public float getRelativeX() { return this.getAbsoluteLeft() - this.getContainer().getAbsoluteLeft(); }
public float getRelativeX() { return this.getAbsoluteLeft()- this.getContainer().getAbsoluteLeft(); }
@Override public float getRelativeX() { return getAbsoluteLeft()-this.getContainer().getAbsoluteLeft()+uiPanel.getScrollLeft(); }
int smallesty = elements.get(0).getAbsoluteTop(); Point nwPoint = new Point(elements.get(0).getAbsoluteLeft() - elements.get(0).getContainer().getAbsoluteLeft() , elements.get(0).getAbsoluteTop() - elements.get(0).getContainer().getAbsoluteTop()); nwPoint = new Point(s.getAbsoluteLeft()-s.getContainer().getAbsoluteLeft(), nwPoint.getY());
int relMouseX = event.getClientX() - draggable.getContainer().getAbsoluteLeft(); int relMouseY = event.getClientY() - draggable.getContainer().getAbsoluteTop();
int greatesty = (int) (randomS.getAbsoluteTop() + randomS.getHeight()); Point sePoint = new Point((randomS.getAbsoluteLeft()+randomS.getWidth())-randomS.getContainer().getAbsoluteLeft(), (randomS.getAbsoluteTop()+randomS.getHeight())-randomS.getContainer().getAbsoluteTop()); sePoint = new Point((s.getAbsoluteLeft()+s.getWidth())-s.getContainer().getAbsoluteLeft(), sePoint.getY());
relativeX = relativeX - (parentElementView.getAbsoluteLeft() - diagramView.getAbsoluteLeft()); relativeY = relativeY - (parentElementView.getAbsoluteTop() - diagramView.getAbsoluteTop());