All Implemented Interfaces:
TagBase, AudioAttributable, BooleanAttribute, Serializable, Cloneable

public class Controls extends AbstractAttribute implements AudioAttributable, BooleanAttribute
<element controls> If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback.
Since:
1.0.0
See Also:
  • Constructor Details

    • Controls

      public Controls()
    • Controls

      public Controls(String value)
      Parameters:
      value - true or false
      Since:
      3.0.2, 3.0.19 internal controls property value will be set as false only if false value is passed.
    • Controls

      @Deprecated public Controls(Boolean controls)
      Deprecated.
      as there is no affect of boolean values for this attribute. this method will be removed later.
      Parameters:
      controls -
  • Method Details

    • init

      protected void init()
      invokes only once per object
      Since:
      1.0.0
    • isControls

      @Deprecated public boolean isControls()
      Deprecated.
      as there is no affect of boolean values for this attribute. this method will be removed later.
      Returns:
      the controls
      Since:
      1.0.0
    • setControls

      @Deprecated public void setControls(Boolean controls)
      Deprecated.
      as there is no affect of boolean values for this attribute. this method will be removed later.
      Parameters:
      controls - the controls to set. null will remove the value.
      Since:
      1.0.0