Class ReadOnly

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


    public class ReadOnly
    extends AbstractAttribute
    implements AudioAttributable, BooleanAttribute
    readonly attribute for the element.
    readonly attribute for input element :-
    This Boolean attribute indicates that the user cannot modify the value of the control. It is ignored if the value of the type attribute is hidden, range, color, checkbox, radio, file, or a button type (such as button or submit).
    Since:
    1.0.0
    See Also:
    Serialized Form
    • Constructor Detail

      • ReadOnly

        public ReadOnly​()
        sets the default value as readonly (since 2.1.5). If value is not required then use new ReadOnly(null).
        Since:
        1.0.0
      • ReadOnly

        public ReadOnly​(java.lang.String value)
    • Method Detail

      • setValue

        public void setValue​(java.lang.String value)
      • getValue

        public java.lang.String getValue​()
      • init

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