View Javadoc

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