Class List

  • All Implemented Interfaces:
    TagBase, InputAttributable, java.io.Serializable, java.lang.Cloneable


    public class List
    extends AbstractAttribute
    implements InputAttributable
    list attribute for the element.
    list for input :-
    Identifies a list of pre-defined options to suggest to the user. The value must be the id of a <datalist> element in the same document. The browser displays only options that are valid values for this input element. This attribute is ignored when the type attribute's value is hidden, checkbox, radio, file, or a button type.
    Since:
    1.0.0
    See Also:
    Serialized Form
    • Constructor Detail

      • List

        public List​(java.lang.String value)
        Parameters:
        value - the value for the attribute
        Since:
        1.0.0
    • Method Detail

      • setValue

        public void setValue​(java.lang.String value)
        sets the value for this attribute
        Parameters:
        value - the value for the attribute.
        Since:
        1.0.0
      • getValue

        public java.lang.String getValue​()
        gets the value of this attribute
        Returns:
        the value of the attribute
        Since:
        1.0.0
      • init

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