com.aspose.html.forms

Class ButtonElement



  • public class ButtonElement
    extends FormElement<HTMLButtonElement>

    The ButtonElement represents a wrapper that is associated with the HTMLButtonElement.

    • Constructor Summary

      Constructors 
      Constructor and Description
      ButtonElement(HTMLButtonElement element)
      Creates a new instance of the input element associated with the HTMLButtonElement
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getId()
      Represents the Id attribute of the Button element.
      java.lang.String getName()
      Represent the name attribute of the Button element.
      int getType()
      Type of the form control.
      java.lang.String getValue()
      Represents the string value of the button element that is directly mapped to the 'value' attribute.
      void setId(java.lang.String value)
      Represents the Id attribute of the Button element.
      void setName(java.lang.String value)
      Represent the name attribute of the Button element.
      void setType(int value)
      Type of the form control.
      void setValue(java.lang.String value)
      Represents the string value of the button element that is directly mapped to the 'value' attribute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ButtonElement

        public ButtonElement(HTMLButtonElement element)

        Creates a new instance of the input element associated with the HTMLButtonElement

        Parameters:
        element - The HTMLButtonElement.
    • Method Detail

      • getName

        public java.lang.String getName()

        Represent the name attribute of the Button element.

        Overrides:
        getName in class FormElementBase
      • setName

        public void setName(java.lang.String value)

        Represent the name attribute of the Button element.

        Overrides:
        setName in class FormElementBase
      • getId

        public java.lang.String getId()

        Represents the Id attribute of the Button element.

        Overrides:
        getId in class FormElementBase
      • setId

        public void setId(java.lang.String value)

        Represents the Id attribute of the Button element.

        Overrides:
        setId in class FormElementBase
      • getValue

        public java.lang.String getValue()

        Represents the string value of the button element that is directly mapped to the 'value' attribute.

        Overrides:
        getValue in class FormElementBase
      • setValue

        public void setValue(java.lang.String value)

        Represents the string value of the button element that is directly mapped to the 'value' attribute.

        Overrides:
        setValue in class FormElementBase
      • getType

        public int getType()

        Type of the form control.

      • setType

        public void setType(int value)

        Type of the form control.