/** * Updates this object and all dependent ones. Note: no repainting is done * afterwards! synchronized for animation * * @param dragging * whether this was triggered by drag */ public void updateCascade(boolean dragging) { long l = System.currentTimeMillis(); kernel.notifyBatchUpdate(); update(dragging); updateDependentObjects(); GeoGebraProfiler.addUpdateCascade(System.currentTimeMillis() - l); kernel.notifyEndBatchUpdate(); }