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

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

package js.web.dom;

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

/**
 * Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table.
 */
public interface HTMLTableSectionElement extends HTMLElement {
    @JSBody(script = "return HTMLTableSectionElement.prototype")
    static HTMLTableSectionElement prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

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

    /**
     * Sets or retrieves a value that indicates the table alignment.
     */
    @Deprecated
    @JSProperty
    String getAlign();

    @JSProperty
    void setAlign(String align);

    @Deprecated
    @JSProperty
    String getCh();

    @JSProperty
    void setCh(String ch);

    @Deprecated
    @JSProperty
    String getChOff();

    @JSProperty
    void setChOff(String chOff);

    /**
     * Sets or retrieves the number of horizontal rows contained in the object.
     */
    @JSProperty
    HTMLCollectionOf getRows();

    @Deprecated
    @JSProperty
    String getVAlign();

    @JSProperty
    void setVAlign(String vAlign);

    /**
     * Removes the specified row (tr) from the element and from the rows collection.
     *
     * @param index Number that specifies the zero-based position in the rows collection of the row to remove.
     */
    void deleteRow(int index);

    /**
     * Creates a new row (tr) in the table, and adds the row to the rows collection.
     *
     * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.
     */
    HTMLTableRowElement insertRow(int index);

    HTMLTableRowElement insertRow();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy