001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.gui.animation;
003
004import java.awt.Graphics;
005
006/**
007 * Animation no-op extension. Copied from Icedtea-Web.
008 * @author Jiri Vanek (Red Hat)
009 * @see <a href="http://icedtea.classpath.org/hg/icedtea-web/rev/87d3081ab573">Initial commit</a>
010 * @since 14578
011 */
012public class NoExtension implements AnimationExtension {
013
014    NoExtension() {
015    }
016
017    @Override
018    public void adjustForSize(int w, int h) {
019        // No-op
020    }
021
022    @Override
023    public void animate() {
024        // No-op
025    }
026
027    @Override
028    public void paint(Graphics g) {
029        // No-op
030    }
031}