public class HelpSection extends HelpGroupArtifact implements HasContents
| Modifier and Type | Field and Description |
|---|---|
private ContentsList |
contents |
private HelpIdentifiedArtifact |
owner |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
HelpSection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContent(HelpContent content)
Adds a content artifact
|
void |
appendKeys(java.util.List<java.lang.String> keys,
java.lang.String prefix) |
java.util.List<HelpContent> |
getContents()
Returns a list containing all the content artifacts
|
int |
getLevel()
Returns the nesting level
|
HelpIdentifiedArtifact |
getOwner() |
void |
setOwner(HelpIdentifiedArtifact owner) |
java.lang.String |
toHtml(HelpContext context)
Returns the string to be rendered on the help output
|
java.lang.String |
toString() |
addSection, findSection, getSectionsgetId, getKey, keyFor, setId, setKeygetHidden, getVisible, setHidden, setVisibleprivate static final long serialVersionUID
private ContentsList contents
private HelpIdentifiedArtifact owner
public void addContent(HelpContent content)
HasContentsaddContent in interface HasContentspublic void appendKeys(java.util.List<java.lang.String> keys,
java.lang.String prefix)
appendKeys in class HelpArtifactpublic java.util.List<HelpContent> getContents()
HasContentsgetContents in interface HasContentspublic int getLevel()
public HelpIdentifiedArtifact getOwner()
public void setOwner(HelpIdentifiedArtifact owner)
public java.lang.String toHtml(HelpContext context)
HelpArtifacttoHtml in class HelpArtifactpublic java.lang.String toString()
toString in class HelpIdentifiedArtifact