Class Input

    • Constructor Detail

      • Input

        public Input()
    • Method Detail

      • setType

        public void setType(String type)
      • setId

        public void setId(String id)
      • setName

        public void setName(String name)
      • setValue

        public void setValue(String value)
      • setPlaceholder

        public void setPlaceholder(String value)
      • setChecked

        public void setChecked(boolean value)
        When the type is "radio" or "checkbox", this property specifies that the control is checked.
        Parameters:
        value - a boolean value.
      • setSize

        public void setSize(int size)
      • maxLength

        public void maxLength(int maxLength)
      • setSrc

        public void setSrc(String src)
        When the type is "image", this property specifies the location of the image to be displayed.
        Parameters:
        src - the location of an image.