View Javadoc

    1   package sharin.doc.builder.xhtml1;
    2
    3   public class TextareaElem extends GenericCommonElem<TextareaElem> {
    4
    5       public TextareaElem(Object... nodes) {
    6           super("textarea", nodes);
    7       }
    8
    9       public TextareaElem accesskey(Object value) {
    10          return attr("accesskey", value);
    11      }
    12
    13      public TextareaElem cols(Object value) {
    14          return attr("cols", value);
    15      }
    16
    17      public TextareaElem disabled(boolean disabled) {
    18          return disabled ? disabled("disabled") : this;
    19      }
    20
    21      public TextareaElem disabled(Object value) {
    22          return attr("disabled", value);
    23      }
    24
    25      public TextareaElem name(Object value) {
    26          return attr("name", value);
    27      }
    28
    29      public TextareaElem onblur(Object value) {
    30          return attr("onblur", value);
    31      }
    32
    33      public TextareaElem onchange(Object value) {
    34          return attr("onchange", value);
    35      }
    36
    37      public TextareaElem onfocus(Object value) {
    38          return attr("onfocus", value);
    39      }
    40
    41      public TextareaElem onselect(Object value) {
    42          return attr("onselect", value);
    43      }
    44
    45      public TextareaElem readonly(boolean readonly) {
    46          return readonly ? readonly("readonly") : this;
    47      }
    48
    49      public TextareaElem readonly(Object value) {
    50          return attr("readonly", value);
    51      }
    52
    53      public TextareaElem rows(Object value) {
    54          return attr("rows", value);
    55      }
    56
    57      public TextareaElem tabindex(Object value) {
    58          return attr("tabindex", value);
    59      }
    60  }