public class

ButtonElement

extends Element
java.lang.Object
   ↳ com.google.gwt.core.client.JavaScriptObject
     ↳ com.google.gwt.dom.client.Node
       ↳ com.google.gwt.dom.client.Element
         ↳ com.google.gwt.dom.client.ButtonElement

Class Overview

Push button.

Summary

[Expand]
Inherited Constants
From class com.google.gwt.dom.client.Node
Protected Constructors
ButtonElement()
Public Methods
static ButtonElement as(Element elem)
Assert that the given Element is compatible with this class and automatically typecast it.
final void click()
Simulate a mouse-click.
final String getAccessKey()
A single character access key to give access to the form control.
final String getDisabled()
This method is deprecated. use isDisabled() instead.
final FormElement getForm()
Returns the FORM element containing this control.
final String getName()
Form control or object name when submitted with a form.
final String getType()
The type of button (all lower case).
final String getValue()
The current form control value.
final boolean isDisabled()
The control is unavailable in this context.
final void setAccessKey(String accessKey)
A single character access key to give access to the form control.
final void setDisabled(String disabled)
This method is deprecated. use setDisabled(boolean) instead
final void setDisabled(boolean disabled)
The control is unavailable in this context.
final void setName(String name)
Form control or object name when submitted with a form.
final void setValue(String value)
The current form control value.
[Expand]
Inherited Methods
From class com.google.gwt.dom.client.Element
From class com.google.gwt.dom.client.Node
From class com.google.gwt.core.client.JavaScriptObject
From class java.lang.Object

Protected Constructors

protected ButtonElement ()

Public Methods

public static ButtonElement as (Element elem)

Assert that the given Element is compatible with this class and automatically typecast it.

public final void click ()

Simulate a mouse-click.

public final String getAccessKey ()

A single character access key to give access to the form control.

public final String getDisabled ()

This method is deprecated.
use isDisabled() instead.

The control is unavailable in this context.

public final FormElement getForm ()

Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

public final String getName ()

Form control or object name when submitted with a form.

public final String getType ()

The type of button (all lower case).

public final String getValue ()

The current form control value.

public final boolean isDisabled ()

The control is unavailable in this context.

public final void setAccessKey (String accessKey)

A single character access key to give access to the form control.

public final void setDisabled (String disabled)

This method is deprecated.
use setDisabled(boolean) instead

The control is unavailable in this context.

public final void setDisabled (boolean disabled)

The control is unavailable in this context.

public final void setName (String name)

Form control or object name when submitted with a form.

public final void setValue (String value)

The current form control value.