<body> element.
The content is a <div> element that contains a
header that is always visible, main content that
can be scrolled if necessary, and optional side and footer
contents that are only rendered if available.
| Modifier and Type | Field and Description |
|---|---|
| private Content | |
| private Content | |
| private final List | |
| private Content |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BodyContents | |
| public boolean | Returns: falseImplements abstract jdk. Returns true if the content is empty. |
| public BodyContents | |
| public BodyContents | |
| public BodyContents | |
| private Content | |
| public boolean | write(Writer out, String newline, boolean atNewline)
Implements abstract jdk. Writes content to a writer, using a given newline sequence, which should be
either |
| footer | back to summary |
|---|---|
| private Content footer | |
| header | back to summary |
|---|---|
| private Content header | |
| mainContents | back to summary |
|---|---|
| private final List<Content> mainContents | |
| side | back to summary |
|---|---|
| private Content side | |
| BodyContents | back to summary |
|---|---|
| public BodyContents() | |
| addMainContent | back to summary |
|---|---|
| public BodyContents addMainContent(Content content) | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements abstract jdk. Doc from jdk. Returns true if the content is empty. Implementation Specification This implementation always returns
| |
| setFooter | back to summary |
|---|---|
| public BodyContents setFooter(Content footer) | |
| setHeader | back to summary |
|---|---|
| public BodyContents setHeader(Content header) | |
| setSideContent | back to summary |
|---|---|
| public BodyContents setSideContent(Content side) | |
| toContent | back to summary |
|---|---|
| private Content toContent() Returns the HTML for the contents of the BODY element.
| |
| write | back to summary |
|---|---|
| public boolean write(Writer out, String newline, boolean atNewline) throws IOException Implements abstract jdk. Doc from jdk. Writes content to a writer, using a given newline sequence, which should be
either
| |