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

js.web.dom.HTMLMarqueeElement Maven / Gradle / Ivy

package js.web.dom;


import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;

import javax.annotation.Nullable;

/**
 * Provides methods to manipulate <marquee> elements.
 */
public interface HTMLMarqueeElement extends HTMLElement {
    @JSBody(script = "return HTMLMarqueeElement.prototype")
    static HTMLMarqueeElement prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

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

    @Deprecated
    @JSProperty
    String getBehavior();

    @JSProperty
    void setBehavior(String behavior);

    @Deprecated
    @JSProperty
    String getBgColor();

    @JSProperty
    void setBgColor(String bgColor);

    @Deprecated
    @JSProperty
    String getDirection();

    @JSProperty
    void setDirection(String direction);

    @Deprecated
    @JSProperty
    String getHeight();

    @JSProperty
    void setHeight(String height);

    @Deprecated
    @JSProperty
    double getHspace();

    @JSProperty
    void setHspace(double hspace);

    @Deprecated
    @JSProperty
    double getLoop();

    @JSProperty
    void setLoop(double loop);

    @Deprecated
    @JSProperty
    @Nullable
    EventListener getOnbounce();

    @Deprecated
    @JSProperty
    void setOnbounce(EventListener onbounce);

    @Deprecated
    default void addBounceEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("bounce", listener, options);
    }

    @Deprecated
    default void addBounceEventListener(EventListener listener, boolean options) {
        addEventListener("bounce", listener, options);
    }

    @Deprecated
    default void addBounceEventListener(EventListener listener) {
        addEventListener("bounce", listener);
    }

    @Deprecated
    default void removeBounceEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("bounce", listener, options);
    }

    @Deprecated
    default void removeBounceEventListener(EventListener listener, boolean options) {
        removeEventListener("bounce", listener, options);
    }

    @Deprecated
    default void removeBounceEventListener(EventListener listener) {
        removeEventListener("bounce", listener);
    }

    @Deprecated
    @JSProperty
    @Nullable
    EventListener getOnfinish();

    @Deprecated
    @JSProperty
    void setOnfinish(EventListener onfinish);

    @Deprecated
    default void addFinishEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("finish", listener, options);
    }

    @Deprecated
    default void addFinishEventListener(EventListener listener, boolean options) {
        addEventListener("finish", listener, options);
    }

    @Deprecated
    default void addFinishEventListener(EventListener listener) {
        addEventListener("finish", listener);
    }

    @Deprecated
    default void removeFinishEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("finish", listener, options);
    }

    @Deprecated
    default void removeFinishEventListener(EventListener listener, boolean options) {
        removeEventListener("finish", listener, options);
    }

    @Deprecated
    default void removeFinishEventListener(EventListener listener) {
        removeEventListener("finish", listener);
    }

    @Deprecated
    @JSProperty
    @Nullable
    EventListener getOnstart();

    @Deprecated
    @JSProperty
    void setOnstart(EventListener onstart);

    @Deprecated
    default void addStartEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("start", listener, options);
    }

    @Deprecated
    default void addStartEventListener(EventListener listener, boolean options) {
        addEventListener("start", listener, options);
    }

    @Deprecated
    default void addStartEventListener(EventListener listener) {
        addEventListener("start", listener);
    }

    @Deprecated
    default void removeStartEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("start", listener, options);
    }

    @Deprecated
    default void removeStartEventListener(EventListener listener, boolean options) {
        removeEventListener("start", listener, options);
    }

    @Deprecated
    default void removeStartEventListener(EventListener listener) {
        removeEventListener("start", listener);
    }

    @Deprecated
    @JSProperty
    double getScrollAmount();

    @JSProperty
    void setScrollAmount(double scrollAmount);

    @Deprecated
    @JSProperty
    double getScrollDelay();

    @JSProperty
    void setScrollDelay(double scrollDelay);

    @Deprecated
    @JSProperty
    boolean isTrueSpeed();

    @JSProperty
    void setTrueSpeed(boolean trueSpeed);

    @Deprecated
    @JSProperty
    double getVspace();

    @JSProperty
    void setVspace(double vspace);

    @Deprecated
    @JSProperty
    String getWidth();

    @JSProperty
    void setWidth(String width);

    @Deprecated
    void start();

    @Deprecated
    void stop();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy