View Javadoc

    1   package sharin.doc.builder.xhtml1;
    2
    3   public class TdElem extends GenericCellElem<TdElem> {
    4
    5       public TdElem(Object... nodes) {
    6           super("td", nodes);
    7       }
    8
    9       public TdElem abbr(Object value) {
    10          return attr("abbr", value);
    11      }
    12
    13      public TdElem axis(Object value) {
    14          return attr("axis", value);
    15      }
    16
    17      public TdElem bgcolor(Object value) {
    18          return attr("bgcolor", value);
    19      }
    20
    21      public TdElem colspan(Object value) {
    22          return attr("colspan", value);
    23      }
    24
    25      public TdElem headers(Object value) {
    26          return attr("headers", value);
    27      }
    28
    29      public TdElem height(Object value) {
    30          return attr("height", value);
    31      }
    32
    33      public TdElem nowrap(boolean nowrap) {
    34          return nowrap ? nowrap("nowrap") : this;
    35      }
    36
    37      public TdElem nowrap(Object value) {
    38          return attr("nowrap", value);
    39      }
    40
    41      public TdElem rowspan(Object value) {
    42          return attr("rowspan", value);
    43      }
    44
    45      public TdElem scope(Object value) {
    46          return attr("scope", value);
    47      }
    48
    49      public TdElem scopeCol() {
    50          return scope("col");
    51      }
    52
    53      public TdElem scopeColgroup() {
    54          return scope("colgroup");
    55      }
    56
    57      public TdElem scopeRow() {
    58          return scope("row");
    59      }
    60
    61      public TdElem scopeRowgroup() {
    62          return scope("rowgroup");
    63      }
    64
    65      public TdElem width(Object value) {
    66          return attr("width", value);
    67      }
    68  }