Interface ButtonElement

All Superinterfaces:
DomQueryable, Element, EventTarget, Node

public interface ButtonElement extends Element
Button elements play a sound when clicked
  • Method Details

    • isEnabled

      boolean isEnabled()
      Test if the button is enabled

      Shortcut for accessing the Attributes.ENABLED attribute.

      Returns:
      true, if the button is enabled, false otherwise.
    • setEnabled

      void setEnabled(boolean enabled)
      Set if the button is enabled

      Shortcut for setting the Attributes.ENABLED attribute.

      Parameters:
      enabled - true, if the button is enabled, false otherwise.