public static HtmlTree TABLE ( HtmlStyle styleClass , int border , int cellPadding , int cellSpacing , String summary , Content body ) { HtmlTree htmltree = new HtmlTree ( HtmlTag . TABLE , nullCheck ( body ) ) ; if ( styleClass != null ) htmltree . addStyle ( styleClass ) ; htmltree . addAttr ( HtmlAttr . BORDER , Integer . toString ( border ) ) ; htmltree . addAttr ( HtmlAttr . CELLPADDING , Integer . toString ( cellPadding ) ) ; htmltree . addAttr ( HtmlAttr . CELLSPACING , Integer . toString ( cellSpacing ) ) ; htmltree . addAttr ( HtmlAttr . SUMMARY , nullCheck ( summary ) ) ; return htmltree ; }
Generates a Table tag with style class border cell padding cellspacing and summary attributes and some content .