@Override public void setX(float x) { if (isLeftOfSibling(x)) { super.setWidth(supposedWidth + (siblingX - x) + 1); super.setX(x); } else { super.setWidth(supposedWidth + (x - siblingX) + 1); super.setX(siblingX + siblingW - 1); } }
public void setActualX(float x) { super.setX(x); }