com.aspose.html

Class HTMLButtonElement

    • Constructor Detail

      • HTMLButtonElement

        public HTMLButtonElement(DOMName name,
                                 Document doc)

        Initializes a new instance of the HTMLButtonElement class.

        Parameters:
        name - The DOM name.
        doc - The document.
    • Method Detail

      • getAccessKey

        @DOMNameAttribute(name="accessKey")
        public String getAccessKey()

        A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.01.

      • setAccessKey

        @DOMNameAttribute(name="accessKey")
        public void setAccessKey(String value)

        A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.01.

      • getDisabled

        @DOMNameAttribute(name="disabled")
        public boolean getDisabled()

        The control is unavailable in this context. See the disabled attribute definition in HTML 4.01.

      • setDisabled

        @DOMNameAttribute(name="disabled")
        public void setDisabled(boolean value)

        The control is unavailable in this context. See the disabled attribute definition in HTML 4.01.

      • getName

        @DOMNameAttribute(name="name")
        public String getName()

        Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.

      • setName

        @DOMNameAttribute(name="name")
        public void setName(String value)

        Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.

      • getTabIndex

        @DOMNameAttribute(name="tabIndex")
        public int getTabIndex()

        Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.

      • setTabIndex

        @DOMNameAttribute(name="tabIndex")
        public void setTabIndex(int value)

        Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.

      • getType

        @DOMNameAttribute(name="type")
        public String getType()

        The type of button (all lower case). See the type attribute definition in HTML 4.01.

      • setType

        @DOMNameAttribute(name="type")
        public void setType(String value)

        The type of button (all lower case). See the type attribute definition in HTML 4.01.

      • getValue

        @DOMNameAttribute(name="value")
        public String getValue()

        The current form control value. See the value attribute definition in HTML 4.01.

      • setValue

        @DOMNameAttribute(name="value")
        public void setValue(String value)

        The current form control value. See the value attribute definition in HTML 4.01.