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

org.xmlet.htmlapi.Command 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 Command extends AbstractElement, Z> implements CommonAttributeGroup, Z>, TextGroup, Z> {
   public Command() {
      super("command");
   }

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

   public Command(Z parent) {
      super(parent, "command");
   }

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

   public Command self() {
      return this;
   }

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

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

   public Command attrType(EnumTypeCommand attrType) {
      return (Command)this.addAttr(new AttrTypeEnumTypeCommand(attrType));
   }

   public Command attrLabel(java.lang.Object attrLabel) {
      return (Command)this.addAttr(new AttrLabelObject(attrLabel));
   }

   public Command attrIcon(java.lang.Object attrIcon) {
      return (Command)this.addAttr(new AttrIconObject(attrIcon));
   }

   public Command attrDisabled(EnumDisabledCommand attrDisabled) {
      return (Command)this.addAttr(new AttrDisabledEnumDisabledCommand(attrDisabled));
   }

   public Command attrChecked(EnumCheckedCommand attrChecked) {
      return (Command)this.addAttr(new AttrCheckedEnumCheckedCommand(attrChecked));
   }

   public Command attrRadiogroup(java.lang.Object attrRadiogroup) {
      return (Command)this.addAttr(new AttrRadiogroupObject(attrRadiogroup));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy