Class Audio

    • Constructor Detail

      • Audio

        public Audio()
        Initializes html element.
    • Method Detail

      • isAutoPlay

        public boolean isAutoPlay()
        Html "autoplay" attribute.
        Returns:
        Value of attribute
      • setAutoPlay

        public Audio setAutoPlay​(boolean value)
        Html "autoplay" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • isControls

        public boolean isControls()
        Html "controls" attribute.
        Returns:
        Value of attribute
      • setControls

        public Audio setControls​(boolean value)
        Html "controls" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • isLoop

        public boolean isLoop()
        Html "loop" attribute.
        Returns:
        Value of attribute
      • setLoop

        public Audio setLoop​(boolean value)
        Html "loop" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getPreload

        public java.lang.String getPreload()
        Html "preload" attribute.
        Returns:
        Value of attribute
      • setPreload

        public Audio setPreload​(java.lang.String value)
        Html "preload" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getSrc

        public java.lang.String getSrc()
        Html "src" attribute.
        Returns:
        Value of attribute
      • setSrc

        public Audio setSrc​(java.lang.String value)
        Html "src" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference