All Implemented Interfaces:
TagBase, BooleanAttribute, InputAttributable, Serializable, Cloneable

public class Disabled extends AbstractAttribute implements InputAttributable, BooleanAttribute
<element checked> This Boolean attribute indicates that the form control is not available for interaction. In particular, the click event will not be dispatched on disabled controls. Also, a disabled control's value isn't submitted with the form. Firefox will, unlike other browsers, by default, persist the dynamic disabled state of an <input> across page loads. Use the autocomplete attribute to control this feature.
Since:
1.0.0
See Also:
  • Constructor Details

    • Disabled

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

      public Disabled(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