Ejemplo n.º 1
0
  /** Just to ensure that updateGeometricState is only called once. */
  private void updatePosition(boolean initiator) {
    if (cleanedUp) return;

    recalculatePosition();
    displayNode.setLocalTranslation(blX, blY, 0);

    for (UIContainer c : children) {
      c.updatePosition(false);
    }
    if (initiator) displayNode.updateGeometricState(0, true);
  }