/** Stops animation of displays whose {@link Data} have been restructured. */ @EventHandler protected void onEvent(final DataRestructuredEvent event) { final Data data = event.getObject(); for (final Animation animation : animations.values()) { final ImageDisplay display = animation.getDisplay(); if (display.isDisplaying(data)) stop(display); } }