public class ButtonElement extends FormElement<HTMLButtonElement>
The ButtonElement represents a wrapper that is associated with the HTMLButtonElement.
Constructor and Description |
---|
ButtonElement(HTMLButtonElement element)
Creates a new instance of the input element associated with the HTMLButtonElement
|
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.
|
getHtmlElement
getElementType
public ButtonElement(HTMLButtonElement element)
Creates a new instance of the input element associated with the HTMLButtonElement
element
- The HTMLButtonElement.public java.lang.String getName()
Represent the name attribute of the Button element.
getName
in class FormElementBase
public void setName(java.lang.String value)
Represent the name attribute of the Button element.
setName
in class FormElementBase
public java.lang.String getId()
Represents the Id attribute of the Button element.
getId
in class FormElementBase
public void setId(java.lang.String value)
Represents the Id attribute of the Button element.
setId
in class FormElementBase
public java.lang.String getValue()
Represents the string value of the button element that is directly mapped to the 'value' attribute.
getValue
in class FormElementBase
public void setValue(java.lang.String value)
Represents the string value of the button element that is directly mapped to the 'value' attribute.
setValue
in class FormElementBase
public int getType()
Type of the form control.
public void setType(int value)
Type of the form control.