Class Track

    • Constructor Detail

      • Track

        public Track()
    • Method Detail

      • getDefault

        public java.lang.String getDefault()
        Returns the default of this track tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.5.1
      • setDefault

        public void setDefault​(java.lang.String propDefault)
                        throws WrongValueException
        Sets the default of this track tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.5.1
      • getKind

        public java.lang.String getKind()
        Returns the kind of this track tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.5.1
      • setKind

        public void setKind​(java.lang.String kind)
                     throws WrongValueException
        Sets the kind of this track tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.5.1
      • getLabel

        public java.lang.String getLabel()
        Returns the label of this track tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.5.1
      • setLabel

        public void setLabel​(java.lang.String label)
                      throws WrongValueException
        Sets the label of this track tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.5.1
      • getSrc

        public java.lang.String getSrc()
        Returns the src of this track tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.5.1
      • setSrc

        public void setSrc​(java.lang.String src)
                    throws WrongValueException
        Sets the src of this track tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.5.1
      • getSrclang

        public java.lang.String getSrclang()
        Returns the srclang of this track tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.5.1
      • setSrclang

        public void setSrclang​(java.lang.String srclang)
                        throws WrongValueException
        Sets the srclang of this track tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.5.1