Class Disabled

  • All Implemented Interfaces:
    TagBase, BooleanAttribute, InputAttributable,, java.lang.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.
    See Also:
    Serialized Form
    • Constructor Detail

      • Disabled

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

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