@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"}) public class TwoColumnLayout extends HtmlPage
TwoColumnCssLayout
HtmlPage.__, HtmlPage.Page
View.ViewContext
ERROR_DETAILS, TITLE, TITLE_LINK, USER
Constructor and Description |
---|
TwoColumnLayout() |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends SubView> |
content() |
protected Class<? extends SubView> |
footer() |
protected Class<? extends SubView> |
header() |
protected Class<? extends SubView> |
nav() |
protected void |
postHead(Hamlet.HTML<HtmlPage.__> html)
Do what needs to be done after the header is rendered.
|
protected void |
preHead(Hamlet.HTML<HtmlPage.__> html)
Do what needs to be done before the header is rendered.
|
protected void |
render(Hamlet.HTML<HtmlPage.__> html)
Render the the HTML page.
|
protected void |
setTableStyles(Hamlet.HTML<HtmlPage.__> html,
String tableId,
String... innerStyles)
Sets up a table to be a consistent style.
|
echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writer
protected void render(Hamlet.HTML<HtmlPage.__> html)
HtmlPage
protected void preHead(Hamlet.HTML<HtmlPage.__> html)
html
- the html to use to render.protected void postHead(Hamlet.HTML<HtmlPage.__> html)
html
- the html to use to render.protected Class<? extends SubView> header()
protected Class<? extends SubView> content()
protected Class<? extends SubView> nav()
protected void setTableStyles(Hamlet.HTML<HtmlPage.__> html, String tableId, String... innerStyles)
html
- the HTML to use to render.tableId
- the ID of the table to set styles on.innerStyles
- any other styles to add to the table.Copyright © 2008–2019 Apache Software Foundation. All rights reserved.