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

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

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

   public Canvas(Z parent) {
      super(parent, "canvas");
   }

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

   public Canvas self() {
      return this;
   }

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

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

   public Canvas attrWidth(java.lang.Object attrWidth) {
      return (Canvas)this.addAttr(new AttrWidthObject(attrWidth));
   }

   public Canvas attrHeight(java.lang.Object attrHeight) {
      return (Canvas)this.addAttr(new AttrHeightObject(attrHeight));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy