public Content getTableCaption ( Set < MethodTypes > methodTypes ) { Content tabbedCaption = new HtmlTree ( HtmlTag . CAPTION ) ; for ( MethodTypes type : methodTypes ) { Content captionSpan ; Content span ; if ( type . tableTabs ( ) . isDefaultTab ( ) ) { captionSpan = HtmlTree . SPAN ( configuration . getContent ( type . tableTabs ( ) . resourceKey ( ) ) ) ; span = HtmlTree . SPAN ( type . tableTabs ( ) . tabId ( ) , HtmlStyle . activeTableTab , captionSpan ) ; } else { captionSpan = HtmlTree . SPAN ( getMethodTypeLinks ( type ) ) ; span = HtmlTree . SPAN ( type . tableTabs ( ) . tabId ( ) , HtmlStyle . tableTab , captionSpan ) ; } Content tabSpan = HtmlTree . SPAN ( HtmlStyle . tabEnd , Contents . SPACE ) ; span . addContent ( tabSpan ) ; tabbedCaption . addContent ( span ) ; } return tabbedCaption ; }
Get the summary table caption .