All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xmlet.htmlapi.Button Maven / Gradle / Ivy

Go to download

Uses XsdAsm to generate a fluent API that allows the creation of HTML5 documents.

The newest version!
package org.xmlet.htmlapi;

public class Button extends AbstractElement, Z> implements CommonAttributeGroup, Z>, ButtonServerAttributeGroup, Z>, PhrasingContentChoice, Z> {
   public Button() {
      super("button");
   }

   public Button(String name) {
      super(name);
   }

   public Button(Z parent) {
      super(parent, "button");
   }

   public Button(Z parent, String name) {
      super(parent, name);
   }

   public Button self() {
      return this;
   }

   public void accept(ElementVisitor visitor) {
      visitor.visit(this);
   }

   public Button cloneElem() {
      return (Button)this.clone(new Button());
   }

   public Button attrAutofocus(EnumAutofocusButton attrAutofocus) {
      return (Button)this.addAttr(new AttrAutofocusEnumAutofocusButton(attrAutofocus));
   }

   public Button attrDisabled(EnumDisabledButton attrDisabled) {
      return (Button)this.addAttr(new AttrDisabledEnumDisabledButton(attrDisabled));
   }

   public Button attrForm(java.lang.Object attrForm) {
      return (Button)this.addAttr(new AttrFormObject(attrForm));
   }

   public Button attrFormaction(java.lang.Object attrFormaction) {
      return (Button)this.addAttr(new AttrFormactionObject(attrFormaction));
   }

   public Button attrFormenctype(EnumFormenctypeButton attrFormenctype) {
      return (Button)this.addAttr(new AttrFormenctypeEnumFormenctypeButton(attrFormenctype));
   }

   public Button attrFormmethod(EnumFormmethodButton attrFormmethod) {
      return (Button)this.addAttr(new AttrFormmethodEnumFormmethodButton(attrFormmethod));
   }

   public Button attrFormnovalidate(EnumFormnovalidateButton attrFormnovalidate) {
      return (Button)this.addAttr(new AttrFormnovalidateEnumFormnovalidateButton(attrFormnovalidate));
   }

   public Button attrFormtarget(EnumFormtargetBrowsingContext attrFormtarget) {
      return (Button)this.addAttr(new AttrFormtargetEnumFormtargetBrowsingContext(attrFormtarget));
   }

   public Button attrName(java.lang.Object attrName) {
      return (Button)this.addAttr(new AttrNameObject(attrName));
   }

   public Button attrValue(java.lang.Object attrValue) {
      return (Button)this.addAttr(new AttrValueObject(attrValue));
   }

   public Button attrType(EnumTypeButton attrType) {
      return (Button)this.addAttr(new AttrTypeEnumTypeButton(attrType));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy