All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.web.dom.svg.SVGAnimatedEnumeration Maven / Gradle / Ivy

package js.web.dom.svg;

import js.extras.JsEnum;
import js.lang.Any;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;

/**
 * Used for attributes whose value must be a constant from a particular enumeration and which can be animated.
 */
public interface SVGAnimatedEnumeration extends Any {
    @JSBody(script = "return SVGAnimatedEnumeration.prototype")
    static SVGAnimatedEnumeration prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return new SVGAnimatedEnumeration()")
    static SVGAnimatedEnumeration create() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSProperty
    T getAnimVal();

    @JSProperty
    T getBaseVal();

    @JSProperty
    void setBaseVal(T baseVal);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy