All Implemented Interfaces:
TagBase, AudioAttributable, BooleanAttribute, Serializable, 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:
  • Constructor Details

    • 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(String value)
  • Method Details

    • setValue

      public void setValue(String value)
    • getValue

      public String getValue()
    • init

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